cancel
Showing results for 
Search instead for 
Did you mean: 

PDF too big

Former Member
0 Kudos

Hi experts,

We have a job scheduled every night that translate an OTF spool into PDF and this is the code:

CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'

EXPORTING

src_spoolid = gv_spoolid

no_dialog = 'X'

pdf_destination = 'LOCL'

IMPORTING

pdf_bytecount = gd_bytecount

TABLES

pdf = gt_pdf.

The PDF is then sent via e-mail as attachement. Our problem is that PDF size is from 1.5 to 8 Mb and many e-mail server refuse it.

If we open this big PDF with a tool such as Adobe PDF Creator, and then we save it, it becames only about 150 to 300 Kb, without information loss.

What can we do to create smaller PDF?

Thank you for your time

Mario Cantore

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

it was a program error, when sending the email a bug corrupted the pdf. Thanks to all who waste their time