cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding barcodes

Former Member
0 Kudos

Hi All,

How to print SCC-14 and UCC-128 barcodes through SAP Smartforms?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Bar Codes

Bar Codes are managed via transaction /nSE73. See the screen below:

© SAP AG 2004. All rights reserved.

Individual bar code “types” need to be created for each flavor of bar code. A Smart Style

then needs to be created to include bar code “types” for each Node. Firstly you need to

create/configure “printer bar codes” or “system bar codes.”

Printer Bar Codes

“Printer bar codes” are bar codes that are specific to a specific printer. These bar codes

actually have the commands and parameters hard coded for each separate bar code

symbology and derivative. This is known as SAP’s “old bar code technology.” You will

also need to create new “printer bar codes” if you wish to change any parameters such as

ratio, narrow bar width, or height. You should try and avoid this “old technology” if

possible. See the screen below:

Driving Zebra Printers from Smart Forms

13760L Page 49

© SAP AG 2004. All rights reserved.

System Bar Codes

“System bar codes” can either use the “old barcode technology “and use a specific

“printer bar code” based on the device type selected, or alternatively use the “new bar

code technology.” We recommend that you use “new technology” if possible as this has

many advantages:

• Does not require the creation of “printer bar codes” for every single possible

device type being used

• Does not require knowledge of the printer’s command language.

• You can preview the bar code (SAP NetWeaver 04 onwards)

• This can also be rendered on non-Zebra printers (although as a graphic)

© SAP AG 2004. All rights reserved.

You will have to create a separate “system bar code” for separate styles. This means that

a separate “system bar code,” based on “new technology,” would have to be created for

all derivatives of rotation, height, narrow bar width, ratio and checkdigits, etc. You would

then include all of the bar codes you need for your form within a Smart Style

(/nSmartstyles).

New Technology—“System Bar Code”

This new rendering technology was actually developed by Zebra Technologies

Corporation and licensed to SAP AG. These new bar codes are rendered as

graphics using Zebra’s Bar Code Rendering Library in the kernel of mySAP

Business Suite. PCL, PostScript and Prescribe printers receive the graphic as a

bitmap. Zebra printers receive the graphic as a ZPL II command, ensuring

maximum performance and data validation.

Driving Zebra Printers from Smart Forms

13760L Page 50

© SAP AG 2004. All rights reserved.

Note: Bar code parameters “Height” and “Module Width” are entered at a

resolution of 600 dpi independent of the resolution of the target printer. This

means that a bar code height of 120 would print 10 mm on a 203-, 300- or 600-dpi

printer.

For more information on this “New Technology” see OSS Note 430887.

Unsupported Bar Codes / New Symbologies

You can create new or custom bar codes by creating a “Printer Bar Code” and create a

“System Bar Code” using “Old Technology” that refers to the “Printer Bar Code.” This

mechanism lets you create an object that has ZPL II associated with it. You could use this

feature for any object or ZP II command. Examples of this could be:

• Creating a MaxiCode bar code

• Drawing a circle or ellipse and having it come out as ZPL II (not a graphic)

• Boxes with rounded corners (via ZPL II)

• Reversed text (White on a black background)

• Recalling a graphic that is stored in Flash memory

please reward points,

Thank you,

Gangula Vikram.

Answers (2)

Answers (2)

Former Member
0 Kudos

<b>Hi</b>

see this link you will get idea of what is barcodes and use

http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm

Steps to implement bar code in the smart form:

1. Create a Smart Style: Use the transaction code smart style. Give a suitable name .Choose Create.

2. Create a Character Node: In change mode of the Smart Style select the Character Formats Node and choose Create. In the Character format field enter a two-character key. Click Continue.

3. Select desired attributes of Bar Code: Select the desired attributes of the Bar Code on the tab Standard Settings.

4. Choose Activate.

5. Use the Smart style in the Smart form: Assign the character format to the field or character string in the smart form.

6. Activate the smart form.

7. Test the same.

http://help.sap.com/saphelp_nw2004s/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm

<b>

Reward if usefull</b>

Former Member
0 Kudos

Hi

To Create a Bar code prefix:

1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save

2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix

Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.

The place where you are using the field value use like this

<C1> &itab-field& </C1>.

You will get the field value in the form of barcode.

Which barcode printer are you using ? Can you download this file and see.

http://www.servopack.de/Files/HB/ZPLcommands.pdf.

It will give an idea about barcode commands.

Check this link:

http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm

Check this link:

http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm

Hope this link ll be useful..

http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm

go through these links and cose u r previous threads,

http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm

http://www.erpgenie.com/abap/smartforms.htm

http://sap.ittoolbox.com/groups/technical-functional/sap-basis/print-barcode-with-smartform-634396

http://sap.ittoolbox.com/groups/technical-functional/sap-dev/printing-barcode-733550

Detailed information about SAP Barcodes

A barcode solution consists of the following:

- a barcode printer

- a barcode reader

- a mobile data collection application/program

A barcode label is a special symbology to represent human readable information such as a material number or batch number

in machine readable format.

There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.

You can print barcodes from SAP by modifying an existing output form.

Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.

Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.

Regards

Anji