cancel
Showing results for 
Search instead for 
Did you mean: 

Reg. Barcode

Former Member
0 Kudos

Hi experts,

I have a query with the barcode printing. In my program the barcode output is appearing as in a well manner. But while at the printing it shows the original output instead of the bar code that is, i want to print a number 55555. but it has to be shown as the barcode. In the print preview the output comes. but in the print out it shows as 55555. How can i make it as possible.

Useful points will be rewarded.

Regars,

Sankar.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

i think you might be using Laser printer which will not print the barcodes instead you need to use barcode printers .

Still if you are using the right printer then create a new prefix and try.

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://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm

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

Check out this link

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

For more detailed information about bar code support in the SAP System, see SAP Note 5196

Regards,

Raj.

Former Member
0 Kudos

Hi,

Barcode printers are diffirent from normal printers...so are you sure you are using barcode printable printers?

santhosh

Former Member
0 Kudos

Hi,

Do like this :

This will work :

Bar Code Printing for Smart Forms

Use

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.

Prerequisites

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.

Features

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

&#9675; HPL2 (PCL5 printer, such as device type HPLJ8000)

&#9675; Post (PostScript printers, such as POST2)

&#9675; PRES (Prescribe printers, such as KYOFS170)

&#9675; SWIN (SAPWIN/SWIN, Microsoft Windows printer through SAPSprint)

&#9679; 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.

Activities

...

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

&#9675; Start transaction SE73, and choose System Bar Codes &#61614; Change.

&#9675; 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.

&#9675; 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.

Reward points

cheers

srinivas.kupireddy

Edited by: k srinivas on Apr 29, 2008 2:08 PM

Former Member
0 Kudos

Hi,

I think the it is the problem in the printer check that printer has that barcodes or not.

Thanks,

NN.