Vous êtes sur la page 1sur 11

Step-by-step New Barcode Technology for Smart

1 ) Go to SE73 SAPscript Font Maintenance to create or display the system bar codes.

Printer Bar code : 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.
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.
- 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

System Bar codes : 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 transactionSE73(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
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

Create new

Select Bar code symbol

Code 39 : is a variable length, discretebarcodesymbology. The Code 39 specification defines 43

characters, consisting of uppercase letters (A through Z), numeric digits (0 through 9) and a number of
special characters (-, ., $, /, +,%, and space). An additional character (denoted '*') is used for both start
and stop delimiters.
Code 128 :is a very high-densitybarcodesymbology. It is used foralphanumericor numericonlybarcodes. It can encode all 128 characters ofASCIIand, by use of an extension character (FNC4),
the Latin-1 characters defined inISO/IEC 8859-1
Interleaved 2 of 5(ITF, fromInterleavedTwo ofFive) is a continuous two-widthbarcodesymbology
encodingdigits. It is used commercially on135 film, forITF-14barcodes, and on cartons of some
products, while the products inside are labeled withUPCorEAN.
PDF417is a stacked linearbarcodesymbol format used in a variety of applications, primarily transport,
identification cards, and inventory management.PDFstands for Portable Data File. The417signifies that
each pattern in the code consists of4bars and spaces, and that each pattern is17units long.
Code 93is abarcodesymbology designed in 1982 byIntermecto provide a higher density and data
security enhancement toCode 39. It is an alphanumeric, variable length symbology. Code 93 is used
primarily byCanada Postto encode supplementary delivery information.

RFID Generation-2 (Gen-2) tags are used for item level identification in retail environments.
Step : Select Normal BAR Code Allignment


normal -> scan direction is from left to right.


rotated -> scan direction is rotated by 90 degree from top to bottom


inverted -> scan direction is rotated by 180 degree from right to left


bottom-up -> scan direction is rotated by 270 degree from bottom to top
Set the bar code parameters, width, height, etc., according to requirement as shown below.

Save the bar code definition. Here you have created a demo bar code as shown below.

Print Preview

Import the created bar code pattern into smart style

Create a node in character format

Select the BAR code Name that you have created

Now save and activate your smart style.

Click on Form attributes and import the smart style's character format that you have recently created in
the output option as shown below.Define import parameter into the import tab of form interface as shown

Now in Global Definition->Global Data, declare the following.

Select the field which need to changed to barcode in text area.

Change format to character format you have created in SMART STYLE.

Here we've used <C3> as we've created character formats C3 for barcode format .

Save and Activate smartform > Execute smartform

Result as below :