cancel
Showing results for 
Search instead for 
Did you mean: 

barcode printing issue

Former Member
0 Kudos

hi gurus

i am printing the barcode in the output,but the issue is when i am taking the printout from one printer (all in one printer) i am geting the barcode ,but when i am using another printer (small laser jet printer) ,i am not geting the barcode..my client is using the laser jet printer for taking the output ,so they are not geting the barcode in output.why it is like this.what is the solution

thanks

vivek

Accepted Solutions (1)

Accepted Solutions (1)

david_liu1
Advisor
Advisor
0 Kudos

Hello,

Does the printer has the special barcode SIMM/DIMM module?

In general, if you want to print a barcode, somebody must draw the bars

of the barcode to get a correct print. So there are four possible ways

to print barcodes from SAP:

1. Print e.g. via a Barcode DIMM/SIMM

To use this way, the printer must be able to print barcodes by itself so

it needs e.g. a special barcode SIMM/DIMM module to print the barcodes.

ie: HP printers do not contain barcode fonts by default so a DIMM module

with the fonts must be installed. The print works as follows:

The SAP sends a simple printer escape sequence to the printer, which

activates the barcode printing in the printer. Then the SAP sends the

barcode number and finally it sends a printer escape sequence, which

switches the printer back to normal printing. So in this way the bars

of the barcode are created in the printer (and you only see a dummy

barcode in the print preview).

Please see the following Note about the sequences for Jetcaps BarDIMM

used for printing barcodes on HP Laserjet printers:

45643 Barcode control sequences for JetCAPS/Jetmobile BarDIMM

The correct BarDIMM modules for different HP printer models can be

seen on the JetMobile website at the URL below:

http://www.jetmobile.com/products/SJ_BD.htm

2. Print via a barcode.dll

If your printer doesn't have a barcode DIMM, it cannot create the bars

of the barcode itself. So this must be done elsewhere. One possibility

is that you print via a Windows system, SAPSprint or SAPLPD, device type

SAPWIN and a barcode.dll.

ie: Your printer is connected to a Windows system that runs the

SAPSprint or SAPLPD program

If you print via device type SAPWIN, the creation of the print data

is done in the Windows. So the Windows may create a graphic, which

contains the bars of the barcode, and send this graphic to the printer.

The job to create the barcode graphic is done by the barcode.dll.

So it is only needed, if you want to print this way please see the

following note for more information:

14561 Printing barcodes via SAPLPD / Barcode DLL

3. New barcode technology

If your printer doesn't have a barcode DIMM and if you don't want to

use a barcode.dll, you may use the new barcode technology, which is

described in the attached notes 645158 and 430887. However this is

only possible when printing from Smartforms.

In this way SAP itself creates a picture, which contains the bars of

the barcode. This picture is sent to the printer. One important

requirement when you print the barcode via a Smartform is that you

have at least release 46C.

4. Use of a barcode font

There are some font files (e.g. Windows TTF files), which contains bars

instead of characters. So if you use these font files, the bars of the

barcode are printed instead of a text.

You may buy such a font file, install it under Windows and use it via

device type SAPWIN according to note 48803. Since release 46C these

files can also be uploaded into the SAP and used via other device types.

Hope this information helps you resolve the issue.

Regards,

David

Former Member
0 Kudos

Hi

is there any thing can be done in abapers side,i mean any default barcode font that can identify any type of printer

thanks

vivek

david_liu1
Advisor
Advisor
0 Kudos

Hello,

Not sure.

But I'm afraid not.

Regards,

David

Answers (0)