Start of Content Area

Function documentation New Bar Code Printing for Smart Forms  Locate the document in its SAP Library structure


With traditional bar code printing, the bar codes are generated at the printer and not in the SAP system. Special hardware, such as SIMM modules, is required to do this. If the bar code is to be formatted or controlled with traditional bar code printing, print controls must be changed in the printer commands.

In contrast to traditional bar code printing, the new bar code printing does not require any special software, since the bar code is sent to the printer as a graphic. The bar code can also be simply changed using the font maintenance transaction (SE73). However, the new bar code printing only works with Smart Forms. For SAPscript, you must use the traditional bar code printing.


The new bar code conversion is included as standard as of SAP Web Application Server 6.40. You can also use the new bar code conversion as of SAP R/3 4.6C, as long as you have imported the relevant Basis Support Package and the corresponding Kernel Patch. For more information about this, see SAP Note 430887 in the SAP Service Marketplace. This SAP Note is always kept up-to-date.


      The new bar code printing allows you to print from Smart Forms using the following printer drivers:

       HPL2 (PCL5 printer, such as device type HPLJ8000)

       Post (PostScript printers, such as POST2)

       PRES (Prescribe printers, such as KYOFS170)

       SWIN (SAPWIN/SWIN, Microsoft Windows printer through SAPSprint)

      Bar codes can also now be correctly reproduced with the PDF conversion of Smart Forms documents. Previously, a bar code was only simulated in PDF documents by the output of a black-and-white rectangle.



       1.      You create a bar code or change a bar code in the font maintenance transaction (transaction SE73). To do this, proceed as follows:

       Start transaction SE73, and choose System Bar Codes Change.

       If you create a bar code, the system asks whether you want to use the new bar code technology or traditional system bar codes. Choose New.

You can enter a name and a description for the bar code. Note that the name must begin with a Zto avoid conflict between your bar codes and the standard bar codes.

       You are asked which bar code symbology and which bar code alignment is to be used, both when creating and when changing bar codes. For information about what you should specify for the requested parameters, see the SAP Note 645158 in the SAP Service Marketplace. This SAP Note is always kept up-to-date.

       2.      If you have created a new bar code, you must now add this to a Smart Style as a character format. For information about this, see the section Maintenance of Styles with the Style Builder and its subsections in the Smart Forms documentation.

If you have only changed the bar code, continue with the next step.

       3.      You can now select text in Smart Forms and choose the corresponding style with the bar code as the character format for this text.

       4.      You can then print the bar code.


Since the bar code is sent to the printer as a graphic with the new bar code printing, and no longer as a printer command, the print file is correspondingly larger.

See also:

Printing Bar Codes

This graphic is explained in the accompanying text SAP Printing Guide Start Page


End of Content Area