You are on page 1of 12

Step by step New Barcode Technology for Smart Forms

1 ) Go to SE73 SAP script 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 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
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, discrete barcode symbology. 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-density barcode symbology. It is used for alphanumeric or numeric-only barcodes.
It can encode all 128 characters of ASCII and, by use of an extension character (FNC4), the
Latin-1 characters defined in ISO/IEC 8859-1
 Interleaved 2 of 5
(ITF, from Interleaved Two of Five) is a continuous two-width barcode symbology
encoding digits. It is used commercially on 135 film, for ITF-14 barcodes, and on cartons of
some products, while the products inside are labeled with UPC or EAN.

 PDF417
is a stacked linear barcode symbol format used in a variety of applications, primarily transport,
identification cards, and inventory management. PDF stands for Portable Data File.
The 417 signifies that each pattern in the code consists of 4 bars and spaces, and that each pattern
is 17 units long.
 Code 93
is a barcode symbology designed in 1982 by Intermec to provide a higher density and data
security enhancement to Code 39. It is an alphanumeric, variable length symbology. Code 93 is
used primarily by Canada Post to 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

1. normal -> scan direction is from left to right.


2. rotated -> scan direction is rotated by 90 degree from top to bottom
3. inverted -> scan direction is rotated by 180 degree from right to left
4. 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.

 Create SMARTFORM

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
below.
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 :

You might also like