Urgent : Barcode Printing porblem in smartforms.
Hi Experts,
1,
I am be able to see the barcode in print-preview but while i am taking the print of that smartform it shows the value of that barcode...
How to solve this problem?
2,
when i am seeing the barcode in print-preview it is showing the black color rectangles... it seems like barcode but its not giving the output of exact code39 barcode...
How to solve this proble ?
Please avoid posting unnecessory replies... Please post only for particular problem... It will save yours and mine both's time....
Please let me know if anyone wants any further information.
Thanks in advance.
Ilesh Nandaniya
1. go to SE73.
2. choose SYSTEM BAR CODES radio button and then press CHANGE.
3. in the following screen press CREATE. a popup screen will show.
4. you can choose either OLD or NEW barcode technology. I'll go with NEW.
5. name your barcode. I usually choose Z + customer's company name for marketing reasons. continue.
6. choose the symbology. This information should be provided from the person handling the barcode machine itself. We'll go with the popular code 128 for this example. continue.
7. barcode alignment - choose the one that fits your form best. continue.
8. barcode parameters - again, choose the one that fits your form best. continue.
9. save the barcode.
moving on to SMARTFORMS transactions.
go into the smartform style you're using, or create a new one.
1. create a new character format. I usually name it BC for barcode
2. on the second box (barcode) of the first tab (standard settings), you can now choose the barcode you created.
3. save and exit.
and that's about it. from now on, when choosing the style with the barcode in it, you have the option to applying your barcode font to a text the same way you apply any other font.
Hope this helps. There are other ways probably, but this one works for certain. The only problem I had with it, was when using hebrew fonts and barcode together on a zebra printer from the early nineties.
Similar Messages
-
Continous Barcode Printing issue in Smartforms
Hi Genies,
Here I have developed one Bar code report on smartforms. the report was generated successfully but Problem is while taking print.
the print out should be in continuous . i have created the report for A4 size while printing it takes some Spaces for footer and header of every new page.
consider if page contain only two bar codes, if i print documents only two label should use but here full total height of the A4 sheet is coming out with blank.
The Printer is TVS-LP46.
Please any one guide me what are all the configuration i need to do?.
Thanks in Advance..
Regards,
Thangam.PHi Nabheet,
Yeah its my mistake sorry for that... actually i have created custom Page format for my report the size is 10cm Width and 29.7cm Height. my single barcode size is 1.8 CM * 3.2 CM. in Transaction SPAD so i have reduced Height as 2 CM and Printer Installation the Event end of the Line I Have given the comment as /f.
Regards,
Thangam.P -
Barcode printing via sapscritp with ricoh aficio 2045e
Hi All,
I have to print the barcode number of delivery (eg 8000998833) via sapscrit. The printer is a Ricoh Aficio 2045th. I installed the device type ZA001016.PRI but can not print anything. I don't know where to put my head. Can someone help me? Thanks in advance.Leo,
Seems like you don't know about the basics of barcode printing in SAPScript/Smartforms - you will need the help of abap and/or basis. I saw this response on another thread which may help you:
In traditional barcode printing barcodes are generated in the printer and not in sap system.
Hardware required - SIMM module.
In new barcode technology ,which has been included in SAP Web pplication Server 6.40
barcode printing does not required any special tecs since it is send to the printer as graphics.
But you have to convert your script to smartform.
If you are using a release after 4.6c you can use this technology by imporing the corresponding Support package .
See Sap note 430887 in sap service market.
The new bar code printing allows you to print using POST2.
Yuo can create new barcode using transaction SE73.
Also see the SAP Note-645158
Not a solution but it might help you in your search - if I find a sloution I will post it here. -
Barcode pritner issue in smartform printing
Dear Experts,
I have problem with barcode printing. I have only one page in my smartform and there is table in that. I need to print delivery number as barcode. I have writtern logic for that and its working fine. But when I print my output in BARCODING printer, the delivery number is printing as barcode properly but rest of all characters also printing as barcode. Every thing in the output is appearing as all barcodes. I can not see any data in the output all are barcodes only.
Could you please help me on this issues.
Thanks for your time,
Regards,
J.PSolved myself
-
Barcode Printing in Smartforms
Hi all,
I have created a barcode via SE73 and attached it in the Smartstyles via a character Format. I have also added this character format in my Smartforms.
When I click the preview I'm able to see the Barcode getting displayed (Zebra Printer). But when it gets printed in the Zebra Printer it does not get displayed.
Kindly let me know if anyone has faced a similar issue related to this. It would be of great help.
Thanks
Ramky.GHi
check this
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
Hope this link ll be useful..
http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
go through these links and cose u r previous threads,
http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
smartform - barcode
http://www.erpgenie.com/abap/smartforms.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-basis/print-barcode-with-smartform-634396
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/printing-barcode-733550
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.
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. -
thanks to all. i have created a barcode in SE73 in new format. but i did not see any option to specify width and height for that barcode. i have to use a width of 40mm and height of 10mm. but i am getting 50/10 mm as default. please advise me how to specify width and height for barcode in new format of SE73.
Hi
check this
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
Hope this link ll be useful..
http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/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.
<b>Reward points for useful Answers</b>
Regards
Anji -
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 -
How to create a barcode in scripts and smartforms
hi
how to create a barcode in scripts and smartformsHi,
For Script:
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.
The next part of the equation can be a bit tricky as you will need to get a printer to print that barcode font. Regular laser printers does not normally print barcode fonts, only specialized industrial printers that is specifically designed to support that protocol and that uses specialized label media and heat transfer (resin) ribbon to create the sharp image required for barcodes.
Not to fear though, there are two ways to get around this:
- You can have your IT department do some research -
most laser printers can accept a font cartridge/dimm chip (similar to computer memory), called a BarDIMM that will allow a laser printer to support the printing of barcodes.
- Secondly, you can buy software that you can upload in your SAP print Server that will convert the barcode symbology as an image that will print on a regular laser printer. I found that this option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes.
- Thirdly, you can buy a third party software like Barcode.dll and install on your frontend PC connected to the laser printer.
Now you have a barcode printed - what next?
Well there are two options, depending on your business requirements:
- You can use an existing SAP transaction on a regular workstation and get a barcode wedge reader to hook up between the keyboard and the PC. These wedge readers comes in a wand or scanner format. There are even wireless wedge scanners available that allows you to roam a few yards from the workstation to scan a label. This approach is mostly used where you want to prevent human errors in typing in long material, batch or serial numbers in receiving or issuing of material. The problem is that it's just replacing the keyboard input and you are basically locked down in one location and have to bring all the material to that location to process.
- Another solution is to use SAPConsole transactions
or write your own ABAP Dialog programs that will fit onto a barcode enabled wireless handheld terminal and that will follow the business logic as executed on the shop floor.
These programs are highly complex exercises in industrial engineering and ergonomics because of the limited screen sizes and limited ability to accept keyboard input. The user is instructed step-by-step and only scan and push F-keys to interact with the SAP system. Scan, scan, beep, beep, enter - highly automated.
For SmartForm:
http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
Regards,
Bhaskar -
Barcode printing in 4.7 possible or not ?
Hi All,
We are working in 4.7 environment .We want to generate the barcode in a script for an invoice number. I heard from some of my friends that barcode printing is not supported in a script from 4.7 .In 4.7 we need to use a smart form for that.Please let me know if it the same or not ?
Regards
jyothi.RHi Jyothi,
Whether it script or smartform it is possible.
If it script then create a character format in that character format select
which barcode you want to print generally everybody use bc_cd39 i.e. code 39
else ask your client which barcode they need or else if in any form they are getting the print consider the barcode from that form.
after selecting the barcode in the character format
in the window where you want to show the barcode write as
<C1>& & </>
in first angular brackets give your character format you created here like i am taking c1
and in between the place holders give the field name of your invoice number.
please let me know still you have any issues
if helpful reward points
Regards,
Phani -
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 -
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 -
Barcode printing with barcode.dll
Hi,
When I am trying to print barcodes, at the end of barcode it prints the control character sequence which is their in suffix control of barcode.
Could you please tell me what needs to be changed.
Thanks and regards,
AnoopI think barcode printing via device type POST2 isn't supported by SAP Script forms.
I found out that this is supported by SMARTFORMS, as you can see in the documentation.
http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
- Steffen -
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
Maybe you are looking for
-
PSE 11 incremental backup problems
Since upgrading to PSE 11, I have been unable to complete an incremental backup . Whenever incremental is selected, it does a full backup which is quite time consuming. The main photos are on an external 1tb drive and I backup to a 2 tb external driv
-
Inspection type and movement type
how is the movement type related to the inspection type? i.e. when doing a UB_stock_transfer order, what movement type it uses and to what inspection type it assigns? also what other movement type uses the other inspection type?
-
Tool or script to compare two oracle Reports?
Hi: Anybody knows any tool or script to compare or conciliate two Oracle reports? The idea is to detect the differences to impact then in the older report. I tried comparing each .REX with a text file comparing tool (like a Unix diff), but the differ
-
Why is my facetime not working on my iphone 4s
My facetime will call people but will never connect!
-
Kernel crash due to bad RAM??
The question: After running many RAM tests using Rember I find all my good (maybe) sticks logging a "Stuck address", but without any failure notes and then the tests continue on without any more issues reported. Could this be normal? Using Rember, I