FAQ: TBarCode/SAPwin - SAP Barcode DLL
No Barcodes with PDF Printer in SAP
No Barcodes with PDF Printer in SAP
There is a difference between printing and PDF generation in SAP:
Printing
The barcode is generated during the spooling process to the printer. The print job is routed through SAPGUI, SAPlpd or SAPSprint and these programs call our Barcode DLL for barcode insertion.PDF from SAP
With PDF it is different - the SAP PDF Generator generates the PDF completely on the server and here we have no possibility to insert the bar code. SAP PDF inserts no barcode (except "new technology" bar codes), only a text note.Combination Printing + PDF
The only solution for generating PDF documents with real visible bar codes from the Barcode DLL is a Windows PDF printer software. You print to this printer like a normal printer but the driver of this software generates a PDF instead of a print out.
PDF Printer software is available from several vendors. You should select a tool, which allows server operation and is not dialog based (= generates PDF document names and stores PDF files automatically).
Adjusting a sufficient image output resolution (600 dpi) in the PDF driver is important to get readable barcodes.
Our product TBarCode/SAPwin (Barcode DLL) can create the bar codes ONLY during printing, that means sending the job to a physical printer or any other printer in the Windows system (can be also PDF printer like www.win2pdf.com). This limit is by design of the data flow and spooling process. The SAP integrated PDF generator is not able to create QR Codes or Data Matrix - because IT DOES NOT invoke the Barcode DLL.