Barcode printing in SAPscript

Hi All,
My Barcode font is Interleaved 2 of 5 which was not existing in the system. Then it was installed in the SAP system , so know I am getting barcode in the print prieview but it is not comming when I fire printout.
I want to know where this font need to be installed in SAP system for printer. so that , that particular printers should also support this font and should print the barcode.
Thanks .
Shweta.

Hi again,
Please visit below url for more details regarding DLL Barcode setting for printers
http://www.tec-it.com/en/software/sap/barcode-dll/general/Default.aspx
Regards,
vijay

Similar Messages

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

  • 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

  • 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 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 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 - Upload Method

    Hi Friends,
    I would need good documentation/ link on Upload method in Barcode printing.
    ie Labels Designed using Third party software and uploaded into SAP using SAP Script programming.
    Thanks,
    Preema

    Hi,
    It seems if you are generating barcode using third party tool, you must be able to export it as a bitmap. I really doubt, how you can freeze the contents of your barcode? if the barcode content is same in your scenario, then you need to upload the bitmap like anyother image and use them in SAPScript.
    If you want to upload the fonts then you need to do that thru' SE73.
    Include in character format and use in SAPScript.
    Hope I have understood your scenario. If wrong please revert back.
    As far as printing is concerned,
    All you need to check is
    1. Whether the printer supports Barcode. If it does not support barcode, then you will need to buy a DIMM card or barcode.dll file. You can get a demo file from net.
    2. You need to install DIMM Card to your printer. or You need to install Barcode.dll file in SAPLpd directory in the front end PC.
    or
    3. 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. But option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes.
    For complete information always you can go to SAP Help.
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Feel free to revert back.
    --Ragu

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

  • Smartforms barcode printing

    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

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

  • Bar Codes printing in SAPscript form

    Hello everyone,
    Please help me with barcodes printing problem:
    We are using ECC 6.0, and printer HPLJ 2300 series PCL 6
    I have installed BARCODE.DLL, and it is located in my local PC, in folder SAPgui\SAPlpd, i.e. where SAPlpd.exe file is locating.
    I printed assets bar code labels using tc S_ALR_87010137, and using script form FIAA_0003, but in print preview there were just solid boxes and after print-out there were no boxes at all, just text! Then I created new script form and assigned new barcode type, but printed barcodes were still invisible on the paper list.
    Where is the problem?

    Just do the following check items-
    1) try to print any standard form ( PO, SO etc.) from SAP printer but not through local printer. ( Spool should not be generated; check it in sp02.)
    2) If it printed perfectly, then it is supposed to print the barcode too. You cannot print the barcodes using the local printers. Usually it required special printers
    ( zebra etc..).
    else if it is not printing properly tell the basis that they havenot configured the printer properly.
    we are doing presently printing of barcodes using both zebra & sap printers.
    Let me know, when you are through this basic check list.

Maybe you are looking for

  • Plsql string assignment

    Hello, after creating a report with a type of "sql query(PL/SQL function Body returning sql query)" I will always have an error message as follows: At first here is my pl/sql code: declare q varchar2(3000); begin q:='select empno,'; q:=q||'ename,'; q

  • Boot camp problem with desktop and icons

    I had installed windows 7 on my mac (2012 os x lion 10.8.2) with boot camp but when i switch on windows 7 first i see windows 7 icon and when windows xp desktop with windows 7 icons. Sounds sometimes are from windows 7 and sometimes from windows xp.

  • Error: Not Found Error: Out of Memory

    Hello, I'm trying to use a few photoshop files in Final Cut Pro 7.0.3 and I can't seem to shake these error messages. I've never had trouble using Photoshop files in the past but these ones are being uncooporative. I've imported the .psd file and edi

  • Adress for Equipment

    Hello, I am using the Function BAPI_EQUI_CREATE to create an equipment and, at the same time, install it into a functional location. The problem is, that the equi is not getting the adress of the functional location! (Actually it's not getting any ad

  • Backlight comes on, but nuffin else.

    Basically only the backlight comes on , Not writing at all comes up . I have done EVERYTHING in help section .. restored / reset 10x . updated. 5 r's . everything else. I can plug it in , it recognises , plays music , but all i can see is the backlig