Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Amyuni PDF file size too large
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01047916
Message ID:
01047970
Vues:
13
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform