Barcode Printing

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
Ravi

Hi,
Which SAP functionality are u using for BARCODE Printing, SAP Script or smartforms.
Can u post ur code here?
Regards,
Sonika

Similar Messages

  • 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

  • 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
    George

    Issue is resolved.
    We updated our ADS to 7.11.5.0

  • Barcode printing using dot matrix printer

    Hi,
    Can anyone let me know what all DOT Matrix printers support barcode printing (PDF 147 type), The barcode is printed in invoice when printout is taken using laser jet but when using dot matrix (Panasonic kx-p3696), the invoice gets printed  without barcode.
    Thanks in advance.
    Sachin

    closing thread

  • 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,
    Krishnakumar

    hi,
    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

  • 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,
    Wes

    Hi,
    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

  • Oracle Apps 11i - Pasta Setup for Barcode print in rdf file

    Hi All,
    Since last some days i am trying to setup Oracle Apps 11i to print barcode reports (RDF files)  from concurrent manager.
    If anybody have any idea about how to configure pasta to print post script files which support barcode, please suggest.
    I have already read many documents but not able to do that. In one of pasta document i found that, pasta support two type of TrueType font. One can be used for regular text and second can be used (bold) for barcode printing. But it shows barcode font as a regular font.
    -Thanks.
    Arun.

    Please refer following notes:
    Dynamically Switching Printer Trays [ID 66402.1]
    How to Specify a Printer Paper Tray With Pasta [ID 241086.1]     
    thanks

  • 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 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.R

    Hi 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

  • Barcode printing in Java

    Hi all, please help me. I need to know how to create barcode labels in a desktop application and then how to print them out. If anybody can provide me with java code, that will be a great help. I have tried my hand on various progs on different forums but no luck. I will really appreciate your quick response. I shall be highly obliged.
    Thanks and regards,
    Rahul.

    <a href="http://www.google.com/search?hl=en&q=java+barcode+print"></a>

  • 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.
    Ugesh

    Hi,
    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

  • 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.G

    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
    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

  • Barcode printing sapcript available in preview but not in print

    We are trying to print Barcode from ECC 6.0 system but unable to make it ,
    though we can view the same in Print preview , still we are unable to get the same
    in the hard copy.Barcode is not present in hard copy
    Below are settings
    Device type: SAPWIN
    Device class: stardard printer
    Host spool access method : F
    Host printer : Default
    physical Printer : RICOH AFICIO 2018D
    Do we need to keep barcode.DLL in desktop from where we are printing ?
    Is my printer is compatible for barcode printing. ?
    What could be the reason
    Best Regards,
    AjitR

    In saplpd screen i am getting below mentioned error
    12:59:26 PM)
    (12:59:26 PM) Barcode DLL Version 3.7.1 (32 Bit)(Seriennummer 12006)
    Defaults read from "barcode.ini"
    *** Licence expires 23.11.2007 (day,month,year)***
    All Linear Barcodes,PDF 417,Maxicode,Code 16K,Code 49,Datamatrix,QRCode
    (C) 1994-2005 e-bizco.com GmbH, Grosshansdorf, Germany
    http://www.e-bizco.com
    Licenced to: Free Trial:hi
    (12:59:26 PM) Icon DLL loaded.
    (12:59:26 PM)
    (12:59:26 PM) Network Communication via SAP-NiLib
    (12:59:26 PM) Hostname: P057ITSP06C2360
    (12:59:26 PM) IP Address: 12515096.2089886680.32.1223880
    (12:59:26 PM)
    (12:59:26 PM) SAPLPD Version 6.28 for Windows/NT (OPT) is listening
    (12:59:26 PM) OS-Info: version = 5.1, build = 0/2600, text = Service Pack 2
    (12:59:26 PM) Copyright © 1992-2001 SAP AG
    (12:59:26 PM)
    (12:59:33 PM)
    (12:59:33 PM) Receive job for printer __DEFAULT (Berkeley LPD protocol / RFC1179)
    (12:59:33 PM) send_status called
    (12:59:33 PM) send_status called
    (12:59:33 PM) send_status called
    (12:59:33 PM) send_status called
    (12:59:33 PM) send_status called
    (12:59:33 PM) Job 000TxmPy.TST for user ABAP1 queued.
    (12:59:33 PM) Start printing job 000TxmPy.TST on printer RICOH AFICIO 2018D PCL 6
    12:59:34 PM) Error from BARCODE.DLL: -9: Bar Code Generation error (Invalid char for this Barcode?)(12:59:34 PM) Print-job 000TxmPy.TST, 1 pages finished.(12:59:34 PM) Elapsed time 0.188 sec (0.000 sec. used by windows)

  • Barcode Printing in Pick List

    Hi,
    The issue is I am not able to print barcode in Pick list (LK01) belongs to Plant 'B' whereas I am able to print barcode in Picklist belong to Plant'A'. I am using the same HP printer which supports barcode printing for both the above instances.
    I am not able to figure out the reason for this.
    Thanks & Regards,
    UK

    Hi Vivek,
    Thanks for your kind response.
    The barcode box is ticked for the said combination.
    The Printer CT3FM is located in Plant 'A',  so the user who sits in Plant 'A' want to print the Pick List of a Process Order belongs to Plant 'B'  (Testing Purpose).  
    The barcode facility currently being used in Plant 'A', the client wants to implement barcode printng in Plant'B' as well.   So before setting up a printer with SIMM card in Plant 'B' they want to test whether it works fine with the existing CT3FM printer in Plant 'A'.
    Thanks,
    UK

Maybe you are looking for

  • Character blinking/flickering/flashing on obiee 11g dashboard page

    Hi all, I have a dashboard with one page/tab where we have taken one text item with below html script. My business requirement is to make a particular word or a text to be blinking or flashing whatever. I have used below options to achieve 1. text-de

  • Question about documenting process maps and form object properties

    Does the new version of Workbench have a tool that allows us to print a report showing the properties of the object used in a form template or process map? For example... showing all of the properties like fonts, size, patterns, defaults, whether or

  • FB contacts in my Iphone contact list

    I just updated my O/S and all my facebook contacts are now in my Iphone contacts liste. Cannot delete them ? what can I do ? I don't want all my FB contacts in my phone

  • Aperture library volume full

    I have received this message "there is not enough free space on your aperture library to import selected items" I do not know wwhy there is not enough space when I have the library on a separate hard drive in the computer. Please help.

  • Java.lang.ClassNotFoundException: oracle.j2ee.ws.server.WSForwardServlet

    Hi, I created a simple ADF BC Service with Jdeveloper and I am trying to deploy it to weblogic server in my soa setup.While deploying the application I am getting the below exception in the console: JDeveloper Version: Studio Edition Version 11.1.1.5