‎2006 Aug 15 11:46 PM
Hi,
I am unable to print the barcode propely using Zebra printer Code39 barcode. The printed barcode width is small. Is there any way to increase the barcode width.
Thanks,
Satya
‎2006 Aug 16 12:15 AM
‎2006 Aug 16 6:35 PM
Yes, I got the ZPLII code from BarOne.
But it was printing some junk graphic box 'SAMPLE'.
Here is the code related from Barone.
NEW-PAGE
^XA
DFBIN_LA-1FS
^PRC
LH0,0FS
^LL406
^MD0
^MNY
LH0,0FS
FO5,45GB203,0,53FSFO21,57A0N,50,50FRFDSAMPLEFSFO203,165GB203,0
,53FSFO219,177A0N,50,50FRFDSAMPLEFSFO117,88AAN,77,44CI0FRFN999FS
BY3,3.0FO118,213B3N,N,100,N,YFRFN999FS
^XZ
NEW-PAGE
^XA
^XFBIN_LA-1.ZPL
FN999FD&G_LGPLA&^FS
^PQ1,0,1,N
^XZ
^FX End of job
So I wrote my own code by referring ZPL manual.
Below is the code for which the width of barcode is an issue(small).
^XA
^LH0,0
^LL306
^FO85,20
^BY3 ^B3N,N,135,N,N FD&G_LGPLA&^FS
^CF0,42,75
^FO85,190 FD&G_LGPLA&FS
^XZ
Since I dont have the printer with me, I was not able to print them and adjust them.
I am always depending on the Client feedback. Client is very unhappy.
He says the Zebra printer is working fine.
Thanks,
Satya.
‎2006 Aug 16 6:37 PM
Hai,
You dont need a Zebra bar one tool for printing graphics from smartforms. You need to have propers
drivers and proper settings in place. Take a look at the OSS notes 750772 - Information on the ZPL-II
printer driver for SmartForms
Check the point 5 in the above oss notes:
5) Support of bitmap graphics
Colored bitmap graphics from SmartForms are changed to black and white when you print
from the LZPL printer driver. If the picture quality is affected by this conversion,
change the graphic to B/W with a graphics program (such as PaintShop Pro), and import
it to SmartForms as as a black and white graphic. Monochrome graphics are not converted
by the driver. However, all graphics may be justified to adjust the size of the graphic
to the printer resolution (203, 300 or 600 dpi).
During the import to SmartForms, you have the option to flag a bitmap as "resident".
In this case, the LZPL printer driver saves the graphic in the RAM of the printer when
it first occurs (Device "R:" of the zebra printer). At the end of the spool request,
the driver deletes the graphic again from the printer's RAM, so that no more memory
remains occupied.
Resident graphics during label printing from SmartForms are therefore only faster
if more than one label is printed within a spool request, and the resident graphic
is repeated on each label.
Regards
Sreeni
‎2006 Aug 16 8:00 PM
Hi Srinivas,
Thanks for the reply,
The problem is...my customer is currently operating on service pack45,
For the barcoded smartform, we need Service pack 47. Customer is not in a position to apply any additional packs. And more over he wanted only in SAP Scripts.
Thanks,
Satya.
‎2006 Aug 16 8:06 PM
‎2006 Aug 16 8:13 PM
Rich,
That 135 is representing the hight of the barcode.
For me the hight is sufficient. Problem is width.
Thanks,
Satya.
‎2006 Aug 16 8:19 PM
The width is directly related to the number of characters in the string which the barcode represents.
If you have 1 character in the string, the barcode will be short, if you have 20 characters in the string the barcode will be long.
What is the norm, with the string always contain 3 characters or 15 characters? If only 3 characters, you can make it longer by adding leading zeros or something.
Or is your intent, to stretch out the barcode even if it has 3 characters? If so, this concerns me. Why, because barcodes are made up of black space and white space. this is how the scanner reads the data in the barcode. It measure the black space and white space, so if you where to stretch it out, the scanner may not read it correctly, right?
Regards,
Rich Heilman