I can print PDF document (large) to PDF document (small) with COM automation of Bullzip printer: var BZUtil, BZSettings: OleVariant īZUtil:=CreateOleObject('Bullzip.PdfUtil') īZSettings:=CreateOleObject('Bullzip.PdfSettings') We are sticking with Pragnaan, because there is nothing better, but we just need reprinting already complete PDF file. We are using Pragnaan because it gently handles diacritics in non-English languages, but it has this drawback of making huge files. Pragnaan takes ppReport - TReport component and FileName - TmpFileName, the code is one line: ExportToPDF(ppReport, TmpFileName) I am using Digital Metaphors ReportBuilder and Pragnaan ReportBuilder Export Device. Is the common denominator? Or maybe I should stick to some specific PDF system and add additional requirement on users. But onviously PDF files can be opened by different systems and printed as well. Usually each processing system (MS office Word or Excel, ReportBuilder) support opening specific files and printing them silently. I am seeking Embarcadero Delphi solution, but I would be happy to receive the general answers as well (I can adapte them to myself for Delphi implementation). I would like to have PDF-printer-agnostic solution and let user to choose what PDF printer to install and use. So - the question is - how to reprint PDF file with PDF printer to antoher file. If I print this PDF document with PDF printer (Bullzip, PDF Architect, ect.) to another PDF file then resulting PDF file is only 40kb is size and that is fine. My system produces PDF document that by some unknown reason is quite large - over 1 MB.
0 Comments
Leave a Reply. |