New Technology Barcode Prints small height (SE73)
Hi,
I created a new barcode in SE73 for barcode font CD39 called ZBC_CD39 using the new barcode technology. I click on the TEST icon and the print preview it looks fine. However, when I do a test print, the barcode is printing very, very small height. Any ideas how to make it print bigger?
Thanks.
Message was edited by:
Kenneth Moore
Check for the printer settings also.
Similar Messages
-
New smartform barcoding technology not producing barcodes
Hello all,
I am wanting to change an existing Smartform label to print using new barcoding technology instead of barcode dll. Our company wants to get away from using the barcode dll for printing smartforms.
When I print out the label the text shows up where it is needed but where barcodes are needed there is nothing. The spool does generate a problem error in the log. I have this included in bottom of post. Below is the information I believe will be valuable in
troubleshooting. If there is anything else you need feel free to let me know. I have spent quite some time trying to troublshoot this. If any of you can provide any help I would really appreciate it. Thanks in advance.
Printer Model: Zebra 170xi4 (300 dpi)
Smartform Page Format Dina4
Non-continuous labels are used in printer and settings in printer show
that as well
SE73 - Created new system barcode named Z128B_N1 via SE73
SPAD - Made copy of device type LZEB3 and named it ZEB3
SE73 - Linked new system barcode Z128B_N1 to printer barcode ZEB3
SPAD - device type ZEB3
SPAD - host spool access method S
The windows 2008 Server that handles printing is running SAPLPD version 6.12 according to log.
text file generated log of spool generation
start of spool text
SAP spool error log
=====================
Print request processing log
Character converter active when first problem occurred
Data was saved with character set 4102
Data will be converted to character set 1162 (synt = 1162)
Errors occurred processing this print request
OTF module: Unknown print control should be output
OTF module: Unknown print control should be output
OTF module: Unknown print control should be output
OTF module: Unknown print control should be output
OTF module: Unknown print control should be output
OTF module: Unknown print control should be output
OTF module: Unknown print control should be output
OTF module: Unknown print control should be output
OTF module: Unknown print control should be output
OTF module: Unknown print control should be output
Print output may not be as intended
Most important attributes of spool request
Request number 130532
Request name SMART COR5 PRJOHT0
Client 810
Owner PRJOHT0
Request attributes
Time created 2011042817115900
Remaining life +00003000000
Dispo 1 (Go/Hold) G
Dispo 2 (Keep/Delete) D
Dispo 3 (Indirect/Direct) D
Default output device COR5
Default no. copies 1
Format DINA4
Main print request characteristics
Spool request number 130532
Print request number 1
Print request attributes
Time created 2011042817115900
Output device COR5
Format DINA4
Character converter active when first problem occurred
No information available
end of spool textHello Aidan,
Thanks for the quick response. I did not create the specific printer barcode in SE73 -> Printer Fonts. I created it via SE73 -> Printer Bar Codes. I did try to only create barcode via SE73 -> System Bar Codes but it did not work in my first attempt and then I added it via SE73 -> Printer Bar Codes in my second attempt. Both attempts same result. Do you still think I need to remove the Printer Bar Code reference via SE73 -> Printer Bar Codes?
I did reference SAP note #645158 as well thinking it would work for all device types specifically Zebra device types found in linked note SAP note #750772. If you have any other suggestions I will gladly try it.
Thanks,
John -
Creating new system barcode font on SE73
Hi all...
I'm trying to create a new barcode font based on BC_C128B...
I created a ZXXXXXX with the same attributes...
In the form i put the ZXXXXXX in the codebar field of my char format.
When I run my program and print, i can see the actual characters instead of codebar.
But when i change the barcode to BC_C128B, it prints the codebar correctly...
What am I missing??
Thanks,
EricHi Eric,
In addition to creating the new system barcode, you need to also create the print controls that contain the actual commands that are sent to the printer in the used device type.
i.e. SE73 -> Printer Bar Code -> <Device type>(e.g. HPLJ4000)
In here you have to add the barocde that you created via the 'Create' icon. You can create the ZBC_C128 barcode within the device type and assign two new print controls. e.g.
Device type HPLJ4000
Bar code ZBC_C128
Bar code prefix SBP99
Bar code suffix SBS99
Then you need to fill the print controls SBP99 and SBS99 with commands similar to SBP21 and SBS21. these commands tell the printer to switch to the barcode font.
Regards,
Aidan -
Recommend new colour laser printer? Small and wifi capable for latest apple products,
Which new colour laser printer? I need small as possible, but wifi capable for latest apple products (OS 10.7 and mobile iOS 5). Not used wifi printing before, so getting confused with specs. Not high usage, want better speed than inkjet
Icpap wrote:
You mentioned some office-level multifunction copier, though, costing more: which one would that be?
The new imageRUNNER ADVANCE C2225 with the Booklet Finisher-M1. This finisher will fold and saddle-stitch your booklet on the fly for up to 5 sheets of A4 paper - making a 20 page booklet. And the printer driver for OS X will re-order the pages in your document so you don't have to get the page order correct before you send the print job. -
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. -
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 -
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. -
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 -
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 -
Creating new PDF417 Barcode for SmartForm
Hi Experts,
I want to create a new PDF417 Barcode into SE73 but I don't know how to interpret following instructions:
PDF417 ISO 15434
Xdim = 13mils
Xdim / Ydim = 1 / 3
SAP allow following properties:
Narrow Module With
Linear Height
Single Row Height
of Columns (1-30)*
of Rows (3-90)*
SecurityLevel
Truncation.
Regards,
DavidHi,
nobody ? How can I define the barcode with these X/Y properties ?
Regards,
David -
Printing to Citizen Thermal Barcode printer
Hello everyone,
I need some direction as to where to go next on this issue.
I am trying to take text data that contains commands with data and ascii control codes for a Citizen Barcode printer and allow my client (a web browser) the ability to print this data to its local printer and generate labels (not the raw data)
I have been able to code a servlet that can prints my barcodes to the local printers on my PC, but I cannot access a client's collection of printers from the web server.
It seems I need to render the data and do a window.print() in Javascript: Here is my servlet code that works when the printer is local to the web server.
try {
PrintService psCitizen = null;
String sPrinterName = null;
PrintService[] services = PrintServiceLookup.lookupPrintServices(null, null);
for (int i = 0; i < services.length; i++) {
sPrinterName = services.getName().toUpperCase();
log(Trace.DIAGNOSTIC, "Printer " + i + ":" + sPrinterName);
if (sPrinterName.toUpperCase().indexOf("CITIZEN") >= 0) {
psCitizen = services[i];
break;
if (psCitizen == null) {
log(Trace.DIAGNOSTIC, "Citizen printer is not found. Ps Count = " + services.length);
return;
DocPrintJob job = job = psCitizen.createPrintJob();
//String STX = "^B";
//String CR = "^M";
String STX = "\002";
String CR = "\015";
//String STX = (char)2 + "";
//String CR = (char)13 + "";
String s = "";
s += STX + "RN" + CR;
s += STX + "e" + CR;
s += STX + "M2982" + CR;
s += STX + "O0100" + CR;
s += STX + "f170" + CR;
s += STX + "qC" + CR;
s += STX + "L" + CR;
s += "H16" + CR;
s += "D11" + CR;
s += "PH" + CR;
s += "SC" + CR;
s += "W" + CR;
s += "Q0001" + CR;
s += "264400005930182DFW" + CR;
s += "232200005840339ORD" + CR;
s += "2e4411005360035BORD4721215005800001" + CR;
s += "241100003160222TEST" + CR;
s += "232100003160243Consignee:" + CR;
s += "241100003160268TEST INTERNATIONAL, PHILA" + CR;
s += "232100003160288Shipper:" + CR;
s += "232100003160314Deliver By:" + CR;
s += "232100002190192 5" + CR;
s += "23210000142031409/23/06" + CR;
s += "26210000310033412150058" + CR;
s += "232100001590192Pieces" + CR;
s += "241100002500192OF" + CR;
s += "231100003760015ORD4721215005800001" + CR;
s += "231100005840162Comment:" + CR;
s += "232100003160192 1" + CR;
s += "E" + CR;
s += "";
byte[] by = s.getBytes();
DocFlavor flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;
Doc doc = new SimpleDoc(by, flavor, null);
job.print(doc, null);
} catch (PrintException e) {
How can I using a servlet, JSP or Javascript get the user to print the label data from the client browser and have the thermal printer interpret the browser data as commands to print. I don't mind the browser user having to select the printer.
Thanks!I don't think that you'll be able to do this correctly with JavaScript, as those control codes probably won't be rendered correctly in the web browser. I'm guessing you'll need a signed applet to properly receive the exact commands to send to the printer. You can use the Jakarta HttpClient to receive the exact commands from the Servlet, then some kind of print API to send the commands to the printer.
Brian -
ADF Faces & BC 10.1.3.4: Barcode Printing & ADF version of WebUtil?
Hi all,
Our existing application is built with Oracle Forms/Reports 9i which also uses Oracle WebUtil 10g because we need to print bar code labels. Our oracle forms appilcation invokes "Host" commands which allows it to print directly to the server's printer ports, this is accomplished by invoking WebUtil functionality which somehow bypasses(probably not the correct term to use) the jvm security sandbox. We need to have a similar barcode printing functionality on our ADF Faces/BC application however I'm not aware of the existence of "ADF WebUtil" which can be configured to allow access to printer ports.
Here is some code snipets for the 9i Forms application for printing (which is done through Internet Explore Browser)
CLIENT_TEXT_IO.PUT_LINE(myPrinter, output_str);
If lineType = 'B' Then vertStartTemp := vertStartTemp + vertBStep;
Else vertStartTemp := vertStartTemp + vertAStep;
End If;
End Loop;
/* last line */
output_str := 'P1'||chr(13)||chr(10);
CLIENT_TEXT_IO.PUT_LINE(myPrinter, output_str);
CLIENT_TEXT_IO.FCLOSE(myPrinter);
EXCEPTION
WHEN OTHERS THEN
CLIENT_TEXT_IO.FCLOSE(myPrinter);
message(sqlerrm );
Raise Form_Trigger_Failure;
END;
Here is some java code which uses the awt library (only works locally due to jvm secuirty sandbox)
public void testZebraBarCode(ActionEvent actionEvent) {
//called from a commandButton action listner. will fail upon deployment to server because its trying to access native resouces.
try {
PrintService psZebra = null;
PrinterJob printJob = PrinterJob.getPrinterJob();
if (printJob.printDialog()) {
psZebra = printJob.getPrintService();
DocPrintJob job = psZebra.createPrintJob();
String s =
// Set Reference Point
// Clear Image Buffer
// Print direction (from Bottom of buffer)
// Set label Length and gap
"R0,0\n" + "N\n" + "ZB\n" + "Q122,16\n" +
"A160,2,0,3,1,1,N,\"DATA: CARUGATE\"\n" +
"B160,30,0,1A,2,7,50,N,\"612041600021580109\"\n" +
"A160,92,0,1,1,1,N,\"AIA AGRICOLA IT.ALIMENT.S - 594679/VR\"\n" +
"P1\n";
byte[] by = s.getBytes();
DocFlavor flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;
// MIME type = "application/octet-stream",
// print data representation class name = "[B" (byte array).
Doc doc = new SimpleDoc(by, flavor, null);
job.print(doc, null);
} catch (PrintException e) {
e.printStackTrace();
Can anyone point me to the proper direction on how to accomplish this task?
Thanks,
WesHi,
if you build a web application then you have to integrate a Swing based Applet to the web age to access the local client. You can't with native web means
Frank -
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
Maybe you are looking for
-
I just got an iPod 4th generation and Im trying to sync my iTunes songs and books from my dell laptop on to my iPod but it says I need iTunes 10.6.3. So I tryed to download it on the apple website but it keeps saying that there is an error. I have al
-
Ios7 clearly not optimized for ipad2
that I'm allowed to update my ipad2 to ios7 should mean that it will run properly. It takes literally 10 seconds for each letter, to type in a web address in Safari. I did a soft reset, same result. Apple clearly released this update without checking
-
No codesigning identities found
I recently wiped my Xserve, installed a fresh copy of 10.10.3 and Server (4.1) I added a bot, but when it tries to build the source, I get the following error: Code Sign error: No codesigning identities found: No codesigning identities (i.e. certific
-
Pavilion dm4 Asking for an administrator account and its password. What can I do? I
It keeps asking for an administrator account. It needs a password as well! It won't let me go beyond that screen and if I press cancel it will shut the computer. I cannot access my home screen!
-
Importing photos into Lightroom: Basic workflow
This question was posted in response to the following article: http://help.adobe.com/en_US/lightroom/using/WS427A4C94-2499-456d-8E17-AE09D3316A03.html