Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
utyuuhi
Advisor
Advisor

If you want to print a bar code, you have various
options:

1.
Printing via bar code DIMM/SIMM or barcode-capable printer

To be able to
use this method, the printer itself must be able to print bar codes. Therefore,
it must be possible to access the bar code via a simple escape sequence.
Frequently, you require a special bar code module for the printer.

The
printing works as follows: SAP sends a simple printer escape sequence that
activates the bar code, then the bar code text in plaintext and finally a
sequence that switches the printer back to normal printing. In this way,
therefore, the lines of the bar code are created by the printer itself (see Note
5196).

Whether bar code printing is supported in this way can be seen
from the note that the printer manufacturer created within the Printer Vendor
program. Note 1097990 contains an overview of these notes.

- Supported
documents: Sapscript, Smart Forms, (lists)
- Supported bar codes: All bar
codes that are implemented in the printer/bar code module
- Supported
printers/device types: All printers that are barcode-capable
- Display in
print preview/PDF file supported: no


2. Printing via a
barcode.dll

If the printer cannot set the lines of the bar code itself,
this must occur elsewhere. One option is that you print via a Windows system,
device type SAPWIN and a barcode.dll. If you print via SAPWIN, the print
formatting occurs in the Windows operating system. This then uses the
barcode.dll to create a graphic that contains the lines of the bar code (see
Note 14561).
Note 14561 contains various suppliers from whom you can obtain a
barcode.dll.

Supported documents: Sapscript, Smart Forms,
(lists)
Supported bar codes: All bar codes that are contained in the
barcode.dll
Supported printers/device types: Only SAPWIN device
types
Display in print preview/PDF file supported: no


3. New bar
code technology

If you do not want to use or cannot use the first two
methods, you can use the new bar code technology that is described in Notes
430887 and 645158. In this way, SAP creates a graphic that contains the lines of
the bar code. SAP then prints this graphic. To be able to use this option, you
must use transaction SE73 (system bar codes) to create a new system bar code
because the SAP standard bar codes normally use the old technology (option 1 or
2).

Supported documents: SAPscript, if you have implemented Note 1558595,
Smartforms
Supported bar codes: Code39, Code93, Interleaved 2of5, Code128,
PDF417, data matrix
Supported printers/device types: PCL device types,
PostScript device types, Prescribe device types, ZPL-II device types, SAPWIN
device types (see Note 430887)
Display in print preview/PDF file supported:
yes


4. Using a bar code font

There are Windows TTF fonts that
contain bar codes. You can upload such a font to SAP and use it by calling
transaction SE73 and choosing 'Install True Type Font'. For more information,
see Note 201307.

Supported documents: SAPscript, Smart Forms
Supported
bar codes: Various 1D bar codes
Supported printers/device types: Most PCL
device types, PostScript device types, ZPL-II device types, SAPWIN device types
(see Note 201307)
Display in print preview/PDF file supported:
Yes


5. Printing via a PDF-based form

The Adobe Document
Services (ADS) creates the lines of the bar code here.

Supported
documents: PDF-based forms
Supported bar codes: Various 1D bar codes and 2D
bar codes; see selection in the Adobe Designer.
Supported printers/device
types: PCL device types, PostScript device types, ZPL device types (see Note
685571); for SAPWIN device types and Prescribe device types, see Note
1066060.
Display in print preview/PDF file supported: Yes

1 Comment