Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Bar code printing

Former Member
0 Kudos

Hi experts,

Pls give me steps involving in bar code printing step by step.

How to configure printer...?

How to install DLL file / is it required to install DLL ?

How to interface print program with DLL ?

what are the transactions involved...?

Thanks in advance.

Regards

Murugan Arumugam

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Printing Bar Codes

With SAPscript/Smart Forms, you can format data to print out as bar codes. Bar codes are often printed on labels to allow machine-reading of data for such purposes as inventory of stock, transport, or purchase.

Bar codes code data as a series of lines of varying thickness and/or distance from one another. Sometimes they include a check number, which can be used for detecting and analyzing errors. Sometimes the bar code data is also repeated in human-readable numeric form.

Traditional and New Bar Code Printing

It is important to distinguish between the traditional method of creating bar codes and the new procedure. While the bar codes are generated in the printer with traditional bar code printing, and special hardware is therefore required, with the new procedure, a graphic is generated from the bar code in the system, and sent to the printer, meaning that no special hardware is required. The new print procedure only applies, however, for Smart Forms, and not for SAPscript.

The table below lists the most important differences between traditional bar code conversion and the new procedure:

Traditional Bar Code Printing

New Procedure

Can be used for Smart Forms and SAPscript

Can only be used for Smart Forms

Bar codes are generated in the printer.

Bar codes are generated in the SAP system and sent to the printer as graphics.

The print file is larger due to the graphic created.

Special hardware is required

No special hardware is required

To format or control bar codes, print controls must be changed in the printer commands.

Bar codes can be simply changed using the font maintenance transaction (SE73).

For all SAP releases

By default, bar codes can be created with the new procedure as of SAP Web Application Server 6.40.

With the appropriate Support Package and Patch Level, the new bar code printing works as of release 4.6C.

Supports most bar code symbologies

Supports only the most important bar code symbologies

Bar codes are only simulated for PDF conversion.

Bar codes are correctly reproduced after PDF conversion.

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

Reward if usefull

2 REPLIES 2

Former Member
0 Kudos

Are you using smartforms or sapscript?

It's so easy to do it in smartforms. In sapscript, I used barcode font and install it on the server because of printers issues when printing barcode directly from sapscipt.

Former Member
0 Kudos

Hi

Printing Bar Codes

With SAPscript/Smart Forms, you can format data to print out as bar codes. Bar codes are often printed on labels to allow machine-reading of data for such purposes as inventory of stock, transport, or purchase.

Bar codes code data as a series of lines of varying thickness and/or distance from one another. Sometimes they include a check number, which can be used for detecting and analyzing errors. Sometimes the bar code data is also repeated in human-readable numeric form.

Traditional and New Bar Code Printing

It is important to distinguish between the traditional method of creating bar codes and the new procedure. While the bar codes are generated in the printer with traditional bar code printing, and special hardware is therefore required, with the new procedure, a graphic is generated from the bar code in the system, and sent to the printer, meaning that no special hardware is required. The new print procedure only applies, however, for Smart Forms, and not for SAPscript.

The table below lists the most important differences between traditional bar code conversion and the new procedure:

Traditional Bar Code Printing

New Procedure

Can be used for Smart Forms and SAPscript

Can only be used for Smart Forms

Bar codes are generated in the printer.

Bar codes are generated in the SAP system and sent to the printer as graphics.

The print file is larger due to the graphic created.

Special hardware is required

No special hardware is required

To format or control bar codes, print controls must be changed in the printer commands.

Bar codes can be simply changed using the font maintenance transaction (SE73).

For all SAP releases

By default, bar codes can be created with the new procedure as of SAP Web Application Server 6.40.

With the appropriate Support Package and Patch Level, the new bar code printing works as of release 4.6C.

Supports most bar code symbologies

Supports only the most important bar code symbologies

Bar codes are only simulated for PDF conversion.

Bar codes are correctly reproduced after PDF conversion.

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

Reward if usefull