Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Amyuni PDF file size too large
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01047916
Message ID:
01047970
Views:
14
Try with
SET REPORTBEHAVIOR 80
>
>Does anybody use Amyuni PDF Converter Printer?
>
>I printed a report with 41 TIF images (one/page) and 15 JPG images (six/page)?
>
>But the PDF file size was undesirable: 33MB.
>
>This is my code:
>
>#define FileNameOption_NoPrompte  0x00000001 && do not prompt for file name
>#define FileNameOption_UseFileName  0x00000002 && use file name set by SetDefaultFileName else use document name
>#define FileNameOption_JPegLevelLow  0x00020000 && Low JPeg compression
>
>#define FileNameOption_CCITTCompression  0x20000000 && activate CCITT compression
>
>
>m.loPdf = CREATEOBJECT("cdintf.cdintf")
>m.loPdf.DriverInit("PDF CONVERTER")
>m.loPdf.FileNameOptionsEx = INT(FileNameOption_NoPrompte ;
>				+ FileNameOption_UseFileName ;
>				+ FileNameOption_JPegLevelLow)
>m.loPdf.Orientation = 1
>m.loPdf.Resolution = 150
>m.loPdf.PaperSize = 1
>
>m.loPdf.DefaultDirectory = ADDBS(JUSTDRIVE(m.lcPDFfile))
>m.loPdf.DefaultFileName = m.lcPDFfile
>m.loPdf.SetDefaultConfigEx()
>SET PRINTER TO NAME ("PDF CONVERTER")
>REPORT FORM rptimagereport.frx NOEJECT NOCONSOLE TO PRINTER
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform