Barcode printing problem
Dear Expert,
I'm facing a barcode printing problem where it displayed incorrect barcode formatting in the print preview by displaying strips for bar lines. I'm using Sapscript to do this and I have already specified in Character format for barcode Code 39 and I have created a Z system bar code(se73) specfically for this. Could you pls give me some ideas on how to solve this problem.
Thanks
Adis
Hi Adis,
There is another way of having the print preview. You directly print the Sap Script, it will go to spool (SP01). Now use the program RSTXPDFT4 in SE38 and enter the spool number. It will convert the spool record with that particular number to the PDF fomat. You can now see the view through the PDF format.
In the direct print preview you may do not get the correct view of the bar code specially for the SAP Script.
Please check....
Warm Regards.
Abhijit.
Similar Messages
-
Problem with barcode print in Adobe From
Hello All,
We are using Adobe Forms to print our shipping labels and this as been working well for few years now. These labels include readable text and barcodes. The barcodes are 1-D but recently we now have a need to print 2-D barcodes.
We are able to print PDF-417 as a 2-D barcode on the form, but when we try to print Datamatrix barcode, the barcode does not show and instead we just see the text which should have been encoded as 2-D barcode.
We analyze the spool output file on the server to check the correct print controls are being sent to label printer. Our printer is a Zebra S4M using ZPLII. We send test form to our printer which will print two barcodes only (both 2-D), one is PDF-417 the other is Datamatrix. The spool output when viewed in Wordpad, is as below:
^XA
PRALH0,3
^XZ
CI13XA
^LL1219
^FO127,102
^BY3,,203
^B7N,,5,,,N
FHFD1234567890
^FS
^FO127,356
FHFD1234567890
^FS
^XZ
The ^B7 print control is the barcode PDF-417 control code. The Datamatrix control code ^BX is missing and should appear where there is an empty line. If we edit the spool output file and add the missing control code sequence, and then reprint the spool from SAP, then the Datamatrix 2-D barcode prints correctly.
So for some reason, the .zpl spool output file is not being generated with the ^BX control code sequence for the datamatrix barcode. We cannot find any information on why this is so.
We are running ECC6 SP11 (single stack) and ADS is running on a separate dual-stack BI system (NW2004s SP21).
Our Zebra S4M printer firmware is V53.17.6Z, and printer driver is ZebraDesigner 2.6.42 (Build 2382). Our SAP device type which is assigned is AZPL203. Our ADS version is 7.00.21.0.
We are seeing the same problem if we print test label from ECC or BI system. ECC kernel is 700 patch 266. BI kernel is 700 patch 254.
We have found SAP Notes related to incorrect ZPL format in ^BX for NW7.1 and NW7.1 EhP1, but not for NW7.0.
Has anyone else come across a problem like this before? Any advice would be much appreciated and duly rewarded.
Thanks in advance
GeorgeIssue is resolved.
We updated our ADS to 7.11.5.0 -
Problem in barcode printing..
I am given only the barcode dimension and content to print it using smartforms..how do i go about it..? Do i have to start from SPAD transaction or se73.. kindly let me know links which may give step by step guideline to my problem..and in SE73 i dont know which barcode symbology i need to assign..
Also, why do we have to go for TCode SPAD?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
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.
Reward points for useful Answers
Regards
Anji -
Problem with smartforms barcode printing
Hi,
In my smartforms i use a simply standard barcode (CD39__00)
for delivery number; but when i print there is no barcode, there is the dlivery number as number.
I'm in SAP ECC 6.0 so with the new barcode printing.
Where is the problem?
Thanks a lot.
MatteoHi - Sometimes if the height of bar code is small, then it prints the number instead of barcode. So please try to copy tht barcode into "Z" from se73 transaction and increase the height and then assign the new barcode to ur smartform. Doing this you will be getting the barcode printed on it.
Thanks
Arun Kumar
Ok, i create a new bar code bigger than the first one and now it's printed.
Thanks lot.
Matteo Vernile. -
Problem with Barcode printing in sapscript
Hello All,
I am currently facing an issue with printing a bar code in my sap script.
Below is the scenario:
I am trying to print a delivery number as a bar code. I am using the system bar code BC_CD39C for the same.
i.e the system bar code is attached to the character format <XX>
<XX>&LIKP-VBELN&</>
The issue is, I am getting the barcode printed correctly but when i read the barcode with the reader
an extra alphabet is appearing
eg: if delivery number is 880001143
When i read the barcode it is appearing as follows 880001143W
Could you please let me know what would be the issue?
Regards,
Krishnakumarhi,
i will suggest u to use new barcode technology.
goto se73.
click on system barcode. -
> change
then click on create----
> it will prompt u for choose barcode technology -
>
select new barcode technology -
> give name and short description
> then create any z barcode using system barcode like code39, code 128 barcode check this n create urs with same functions. then
that add newly created barcode in ur smartstyle and then use it .
plz feel free to ask. -
Problem with Barcode printing in smartforms
Hi Gurus,
I have made changes to the system barcode height in SE73 from say 1.3 to 0.7 cm. But when I take the printout from the barcode printer I am getting the barcode with old height.
My concern is do we need to do change anything with the printer settings. If so, where and how? who has to do that?
-B S B.Hi,
But how do we reduce the height.
I changed the height of the system barcode (device independent).
Print preview looks fine. But when actual printing takes place still the barcode retains original height.
Could you please explain me in simple steps?
SAPHelp is more confusing.
-B S B -
Printing problem with script barcode
hi ,
i hav inserted a barcode for a particular window field. while giving print preview it is showing barcode.
after taking print, it is not displaying the barcode.
thank u all in advance,
balu.Hello,
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 SAP 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 -
Epson Barcode printing Sapscript
I've installed a new Epson LQ680Pro matrix-printer according to SAP notes.
Device-type: EPESCP2 and Unix Regular Ascii driver.
Printing of regular text is no problem. Printing of Barcode (std SAP Code39) doesn't work. All kind of other barcodes are not printed from SAP. Printing barcodes direct from Windows are OK.
Thx for your advice.
Will MoonenHi Will,
Please be a bit more specific about your printing problem: Are you printing directly from a program or using SAP script?
Regards,
John. -
SAP Adobe Livecycle barcode printing issue
SAP Adobe Livecycle: The Barcode printing using internal table: Even though the value is not there in the bar code field column of the internal table, for some reason it is printing the bar code for all lines. Does anyone know why?
Iam not sure but this might be the problem .
Please check if the barcode you have used has any default value set in the Form which is getting printed in case you dont have any value in the barcode field.
thanks
kumar -
Barcode printing in Laser printer
Hi ,
I am trying to print barcode on HP 5100 laser printers.On R&D I found there are two solutionn to print barcodes
1. Use Barcode.dll ( only with help from SAPLPD )
2. Use Bardimm ( Jet caps ) from HP
Is there any other solution to acheive barcode printing .i.e without using any additonal softwares/hardwares.?
Advance thanks for a reply ASAP.
UgeshHi,
To be honest, I faced this problem some time ago and I couldn't find a solution which didn't include additional software being installed (and a licence fees apply).
I didn't even try writing my own program to act in a similar way (so we could save some money on license fees) as it would cost more than the licence anyway. If you include costs of testing and maintenance then it works out that the solutions available on the market are not as expensive.
The one we use works well but only works for printers which support PCL (most of them do nowadays) and requires additional software and some fees.
This solution is provided by e-bizco.com GmbH.
Basically your barcode is transformed by the program sitting on your server (as a service). It is transformed into PCL format and printer processes it. It works on various OS including Windows and AIX.
Thanks,
Wojtek -
Hi Experts,
I have a program for barcode printing.
Now the problem is we have some logic at the end of which the printing is performed.
But there is some text that we want to change in the print.
But I am not able to find how the print is triggered.
The only thing I can see is GUI_DOWNLOAD.
Is there any way to find how the printing is triggered?
Thanks
RaviHi,
Which SAP functionality are u using for BARCODE Printing, SAP Script or smartforms.
Can u post ur code here?
Regards,
Sonika -
Issue with Barcode printing in SAPscript
Hi All,
I am trying to print barcode in my script. I assigned barcode font to the numbers which I want in the form of barcode, I am able to see barcode in the print preview but when I am trying to take printout , in printout barcode is not appearing.
I try same barcode font with the smartform I am getting barcode in the printpreview as well as in the printout of the smartform with the same printer.
Can any one help me in this issue. Is there any other setting required in the smartform or its driver program?
Thanks.
Shweta.Hi
It depends on which kind of barcode fornt you're using.
In last SAP release there's a new tecnique to print the barcode by smartform: this tecnique translate the barcode as graph so the printer manages the baracode just as if it was a logo and It doesn't need any other hardware or software to print a barcode.
This tecnique is available for smartform only, else u make sure your printer can print a barcode, you can see a dummy barcode in preview.
I have had your same problem, and I found out this very usefull answer in the forum:
Barcode Printing issue using Forms
Hi, In general, if you want to print a barcode, somebody must draw the bars of the
barcode to get a correct print. 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). Se the
SAP Note 45643 about the sequences for Jetcaps BarDIMM used for printing barcodes on HP
Laserjet printers. The correct BarDIMM modules for different HP printer models can beseen
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. See SAP note 14561. 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 SAP 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 SAP Note #48803. Since
release 46C these files can also be uploaded into the SAP and used via other device
types.
Regards, Aidan
I hope it can help you
P.s.: I post the answer here, because I can't looking for the original post now, so thank very much to Aidan
Max -
Performance issue of Barcode printing
Hi Experts,
I had designed a smartform using the new barcode printing technology. It works fine. The only problem is speed. I'm using se30 to analyze the performance of this smartform. If I remove the barcode, it takes less than 2 seconds for ABAP execution of this smartform. But if I enable barcode printing, the ABAP execution time is increased to 4.3 seconds. May I know if it's normal to take about 2 seconds to generate the barcode in smartform? Is there anyway I can improve the performance?
Thanks in advance.
Best Regards,
Wu XueHi Sripal,
Thanks for your reply. Did you encounter the speed problem only when you try to print the form or you encounter the same problem even during previewing? For me, the barcode generation takes more than 2 seconds during previewing. I think it will take more time during real printing.
Best Regards,
Wu Xue -
Hello,
I have a web application, it needs jre, and it allows printing reports with barcodes. If I use jre1.4.2_05 (any 1.4.2_XX), the barcode printing works correctly, it shows the barcodes, but if I use jre5 or jre6 it doesn't work. Someone knows what's the problem with jre5 or jre6 with barcode printing? Thanks beforehand.
Cheers...Re: Barcode Printing from EP --using barcode4J (Gurus kindly help me)
Posted: Aug 24, 2007 5:21 AM in response to: Ashutosh Moharir Reply E-mail this post
Dear Ashutosh,
<b> It is working now! .... :-D
Can someone provide me with a more detailed answer
Or Best Practices (step by step) ,that would be Great . </b>
I deeply appreciate your Quick & valuable advice;
and shall create a new posting if any further need arises
Many Thanks,
Aby Jacob
========= -
Airport Extreme Printing Problem with HP Deskjet.
Hello ... I wonder if any helpful folks can assist me with my printing problem? I am using Tiger on a new Intel imac with a HP Deskjet 960C. This printer is listed as having the latest drivers included within Tiger and works perfectly when connected via USB so my problem I guess is not with the software....I have disconnected everything and plugged everything back together again. I also deleted the printer from the printer list within the Printer Setup Utility application.... The imac recognisies the printer and upon pressing the print button everything feels as though its just going to work. The blue barber shop scroll appears but the printer fails to kick into gear and I get the big red exclamation mark appearing in the status box .... I would really love to try and sort this annoying error ... Any ideas? Thanks. Book G4 Mac OS X (10.4.4)
Hello jds17. Welcome to the Apple Discussions!
Unfortunately, not all USB printers are compatible with AirPort base stations.
Take a look at one of these iFelix Unofficial AirPort Printer Compatibility links, depending on which AirPort base station you have:
o 802.11g AirPort Extreme Base Station (AEBS) or AirPort Express Base Station (AX)
o 802.11n AirPort Extreme Base Station (AEBSn)
If your printer isn't listed, it doesn't necessarily mean it won't work, but simply that it has not been verified. iFelix also provides the following workaround for printers not on the list that would certainly be worth a try.
Also, you may find the following Apple article helpful.
Maybe you are looking for
-
HOW TO CALCULATE QTY OF NET GOODS RECEIVED YET
Hi Experts I want to get the value of the Net Goods Received against a Sales Order and Line Item combination. From which table and fields, I can have this value? I checked MSEG, but it does not store Sales Order/Item details - though it has fields fo
-
Participant Video & Presentation Content Output to same Display Window
When a dual screen SX20 joins a call and shares presentation, the content and participant video appears in the same window as a single participant, instead of having presentation appearing in the other screen. (Refer to attached picture) When the sha
-
Pending Rentention amount payable to vendor
Is any procedure or report where we can get the retention amount which is not paid to the vendor?
-
Hello, From a sapscript I create an RDI output. This works fine. Now I would like to have in one file two documents just like you do with standard sapscript when with one spool order you can print several documents. For this I use the field tdcopies
-
My mix tape music will play on my laptop but not on either of my iPhones, is there a fix for this?