Barcode in PDF
Using Delphi 7 and RB 10 we are printing a report with a barcode in it. It
reads fine. When we print straight to a PDF using the following code the
barcode is slightly fuzzy and will not read most of the time.
FppReport.TextFileName := vFilePath+vExportFileName;
FppReport.DeviceType := 'PDF';
fppReport.PDFSettings.OpenPDFFile := False;
fppReport.PDFSettings.OptimizeImageExport := False;
fppReport.PDFSettings.ScaleImages := False;
FppReport.ModalCancelDialog := False;
FppReport.ModalPreview := False;
FppReport.SavePrinterSetup := False;
FppReport.SaveAsTemplate := False;
FppReport.ShowAutoSearchDialog := False;
FppReport.ShowCancelDialog := False;
FppReport.ShowPrintDialog := False;
FppReport.Print;
Please help
reads fine. When we print straight to a PDF using the following code the
barcode is slightly fuzzy and will not read most of the time.
FppReport.TextFileName := vFilePath+vExportFileName;
FppReport.DeviceType := 'PDF';
fppReport.PDFSettings.OpenPDFFile := False;
fppReport.PDFSettings.OptimizeImageExport := False;
fppReport.PDFSettings.ScaleImages := False;
FppReport.ModalCancelDialog := False;
FppReport.ModalPreview := False;
FppReport.SavePrinterSetup := False;
FppReport.SaveAsTemplate := False;
FppReport.ShowAutoSearchDialog := False;
FppReport.ShowCancelDialog := False;
FppReport.ShowPrintDialog := False;
FppReport.Print;
Please help
This discussion has been closed.
Comments
I recommend upgrading from RB 10 to RB 12.
The RB 10 PDF export converts barcodes and charts to a bitmap.
The RB 11 and RB 12 PDF export is more advanced and includes support for
vector graphics.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com