How to print Barcode In image

Hi All,
Please let me know how can i do it IN OAF.
I have take an image item and at runtime setting the proprerty setSource of that item.
String aaa = "8600KHK";
OAImageBean mImg = (OAImageBean)webBean.findIndexedChildRecursive("barCodeImage");
mImg.setSource("/cgi-bin/barcode.cgi" + aaa);
But it is showing nothing.
Regards,
Raj.

Hi,
First of all it should be a .gif image. It recognises .gif images as far as i know.
Then set the source as
String aaa = "8600KHK";
OAImageBean mImg = (OAImageBean)webBean.findIndexedChildRecursive("barCodeImage");
mImg.setSource(OAWebBeanConstants.APPS_MEDIA_DIRECTORY + "barcode.gif"+aaa);
Place the .gif file in OA_MEDIA directory.
Thanks,
Gaurav

Similar Messages

  • How to print Barcode using SAPscript?

    hello, everyone.
    I have some questions.
    now, I have to print some doc. that described by barcode in sapscript form.
    so, try to test in t-code so10
    input value SAPSCRIP-BARCODETEST, ST, EN.
    and click 'print-preview'
    result is correctly output in pint privew.
    but when I print dis priviewed doc. disappeared barcode image.
    is this O.K??
    I have to do something?? (Add DLL file, barcode font or etc....)
    I don't know how to print barcode using SAPScript. anybody solve this problem.please.
    p.s this system is SAP ECC 6.0 only ABAP.
    printer setting is front-end print.

    hello, everyone.
    I have some questions.
    now, I have to print some doc. that described by barcode in sapscript form.
    so, try to test in t-code so10
    input value SAPSCRIP-BARCODETEST, ST, EN.
    and click 'print-preview'
    result is correctly output in pint privew.
    but when I print dis priviewed doc. disappeared barcode image.
    is this O.K??
    I have to do something?? (Add DLL file, barcode font or etc....)
    I don't know how to print barcode using SAPScript. anybody solve this problem.please.
    p.s this system is SAP ECC 6.0 only ABAP.
    printer setting is front-end print.

  • How to print uspto patent images using Safari and Quicktime

    3/18/06
    Do you want to know how to print US patent images using Safari? Read on.
    When you access the "images" link of a specific patent on the www.uspto.gov/ website using Safari, the page you are viewing is only one small upper left tile of a huge patent image that is not sized to the screen. You can scroll and try to read the page but it's almost impossible. Try to print it out and you only print what's on the screen. Bummer.
    The fix:
    Place the cursor on the opened image (it may appear blank), hold down the CONTROL key on you keyboard and click on the image. Two instructions come up. Click on the "Save Image to the Desktop" instruction and a DImg.tiff file will be created on your desktop. Click on the .tiff file and it should open in the Preview program, then simply print out the image. Voila!!!!
    Click the yellow arrow in the left margin to access page 2 of the patent and repeat the previous instructions to create another .tiff file on your destop. Do every page and you'll have the patent available to print out one page at a time.
    You can then rename the files and create a folder for that specific patent so you can access it later without signing onto uspto site.
    It's odd that the ever compatible Apple does not provide seamless compatibility to view and print patent images on the US Patent and Trademark Office's website. Where would they be without protecting their own intellectal property? Let's hope the next version of Quicktime includes the appropriate ITU T.6 or CCITT Group 4 (G4) compression language.
    Even the "throw it out the Windows" operating system is up to speed on this issue for America's hard working inventors.
    Keep on inventing.
    Tommy K
    imac 400 DV   Mac OS X (10.3.9)   Cube 450
    imac 400 DV   Mac OS X (10.3.9)   Cube 450

    Another similar thread on this issue...
    http://discussions.apple.com/thread.jspa?messageID=1602391

  • How to print BARCODE in DATAMAX Printer using SAP Script?

    Hi,
    Can anybody guide me how to print BARCODE using DATAMAX Printer?
    I need to develop a SAP Script, through which i need to print the BARCODE.
    Pls. let me know the parameters for Script and how to print using print program.....
    Regards,
    Hemant

    make one form in sapscript with one main window: like this
    /E           ETIKETT
    /*           Format = '57x19', Printer = 'Bradyprinter Model 1344'
    /           ~f350
    /           ~n
    /           ~M0500
    /           ~O0220
    /           ~SG
    /           ~s
    /           ~c0000
    /           ~e
    /           ^D
    /           ~L
    /           D11
    /           H20
    /           PC
    /           pC
    /           SC
    /           A2
    /           1911A1200400005&knmt-kdmat&
    /           1911A0800300005&knmt-postx&
    /           1911A0800100005VS-Nr   :         &KNMT-MATNR&
    /           1911A0800000005Datum   :         &date&
    /           Q0001
    /           E
    in this script   &mseg-matnr&    and    &mseg-charg&    are 2D Barcodes
    /E           ETIKETT
    /*           Format = '57x19', Printer = 'Bradyprinter Model 1344'
    /           ~f350
    /           ~n
    /           ~M0500
    /           ~O0220
    /           ~SG
    /           ~s
    /           ~c0000
    /           ~e
    /           ^D
    /           ~L
    /           D11
    /           H20
    /           PC
    /           pC
    /           SC
    /           A2
    /           1Wc99000001400082000012012&mseg-matnr&
    /           ySPM
    /           1911A1000380055&mseg-matnr&
    /           1Wc99000001501702000012012&mseg-charg&
    /           1911A0800260055&mkpf-budat&
    /           1911A0800140055&mseg-mblnr&
    /           1911A0600020008&makt-maktx&
    /           Q0001
    /           E
    then you need your own printprogram and everything is fine. with open_form ;  start_form ; write_form;  end_form
    you can communicate direct with the Datamax Programming Language  from SAPScript to the Barcode printer.
    i also have the datamax programmers manual as pdf if you want i could send it to you. let me know by PM.
    also have look into HW 490295  the bartender Solution works fine for me to create the SO10 text's
    greetz
    tony
    Edited by: Tony Wienhold on Jul 17, 2009 4:37 PM

  • How to print barcodes in Adobe forms

    Hi All,
    I am new to Adobe forms, Please help me how to print barcodes in ABAP using Adobe forms.
    Thanks in advance.
    Regards,
    Satya.
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Aug 26, 2011 4:17 PM

    Hi Vanessa,
    maybe this blog helps for the tables:
    [Adobe Forms Using: Nested Table, Text Module & providing the functionality of Page Total & Grand Total|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3414900%29ID0583594050DB11063248235171113529End?blog=/pub/wlg/11236]
    and for the barcodes I found this:
    [Introduction to barcodes in SAP Interactive Forms by Adobe|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3414900%29ID0583594050DB11063248235171113529End?blog=/pub/wlg/13061]
    I hope this provides some help for you.
    If you are not able to fulfill your task, it is a good idea to check the blogs, wikis and download areas here in SAP Community Network - usually the quality is some quantum leaps better than current  ABAP, General.
    Regards,
    Clemens

  • How to print a BLOB (image) on a PDF report using Oracle APEX Listener as Print Server

    Hi,
    I use APEX 4.2.
    I have the following query as SQL text for a Report Queries in Shared Components:
    select
        customer_id,
        cust_first_name,
        cust_last_name,
        cust_street_address1,
        cust_street_address2,
        cust_city,
        cust_state,
        cust_postal_code,
        phone_number1,
        phone_number2,
        credit_limit,
        cust_email,
        filename,
        company_profile,
        -- customer_image,
        decode(nvl(dbms_lob.getlength(customer_image),0),0,null,
        '<img style="border: 4px solid #CCC; -moz-border-radius: 4px; -webkit-border-radius: 4px;" '||
        'src="' ||
        apex_util.get_blob_file_src('P22_CUSTOMER_IMAGE', customer_id) ||
        '" height="75" width="75" alt="Photo Customer" title="Photo Customer" />') customer_image,
        mimetype,
        image_last_update
    from
        demo_customers;
    I am unable to have the image printed on the PDF report. Even when the P22_CUSTOMER_IMAGE is defined as session state item.
    Does someone knows how to print such image/BLOB in a PDF report?
    Thanks by advance.
    Kind Regards.

    Hi,
    Indeed, I would need a custom layout.
    Unfortunately, it seems (according to this white paper) not possible with the APEX listener only. I would need a third pary tool. A pity...
    For me strange, that I cannot generate such a report having images or pictures in a pre-definied report layout... Maybe a future enahancement for Oracle.
    Kind Regards.

  • How to print a monochromatic image in a colour other than black?

    I have an image in photoshop that  is currently black and white, but I would like to print in a monochromatic green, as in just #00ff00 colour; so that it prints in green and white. How do I edit the image so that it prints like this?

    Use your B&W image, inverted, in the mask channel of a Solid Color Layer with the specific colour that you require. Underneath that put a solid white background layer.
    Use linear blending (Ps default is gamma 2.2). In Edit > Color Settings, set RGB blending to 1.00.

  • How to Print BARCODE in oracle RDF report

    Hi,
    We are trying to print BARCODE for Order Number in RDF report. Kindly let me know how to do this.
    Thanks & Regards,
    Suresh

    897745 wrote:
    Hi,
    We are trying to print BARCODE for Order Number in RDF report. Kindly let me know how to do this.It's very easy. Download a font which show barcode then choose your desire field's font that font. I use IDAutomationHC39M font.
    Hope this will help you.

  • How to print Barcode in te SAP SCRIPTS?

    Hi All,
    Can anyone of you let me know how to print the Barcode in the SAP SCRIPT? This is the first time I'm working on the Barcode. I've to print many fields data into one barcode. Like PO number, Material Number, Plant, Company code..etc..
    Best Regards,
    Venkatesh Eddala.

    Hello Venkat,
    Creating Bar code:
    -->From trans 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
    --> 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.
    SAP Barcodes
    -->Barcode solution consists of the following:
    barcode printer
    barcode reader
    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.
    for your reference check the below links:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    for smart, please check the below link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    See the below program forbarcode in sapscript for your reference:
    DATA: BAR_CODE1(16) VALUE `ABC01230123A01'
    NEW-PAGE PRINT ON IMMEDIATELY `X'.
    FORMAT COLOR OFF INTENSIFIED OFF.
    If the barcode is the first element on the page, the following Write
    statement is needed (otherwise you get a date in the first print
    control.
    WRITE:/
    Turn on the barcode font, print the data, and switch back to the
    printer's default font. Be sure to use NO-GAP to avoid unwanted
    characters or CR/LF.
    PRINT-CONTROL FUNCTION `BCPFX'
    WRITE: BAR_CODE1 NO-GAP
    PRINT-CONTROL FUNCTION `BCSFX'
    Add a Write statement to prevent insertion of CR/LF into the barcode.
    WRITE:/
    Sample SAPSCRIPT
    Variable BAR_CODE1 contains the barcode data, including asterisks.
    The & is needed to avoid unwanted spaces or CR/LF characters
    /E LINE
    /: PRINT-CONTROL BCPFX
    = &BAR_CODE1&
    /: PRINT-CONTROL BCSFX
    Venkat - Please reward points for previous therad if you feel good answer ...
    Thanks
    Seshu

  • How to print Barcodes

    Hi,
    I have the code to print barcode in a standard text. How should I include it in a report to get it printed.
    Thank you.
    Moderator message: typical "how to", please search for available information/documentation before asking, printing bar codes is common functionality.
    Edited by: Thomas Zloch on Nov 23, 2010 2:32 PM

    U must install the s/w which came with the Barcode Printer. This
    s/w will install the rqd fonts. In the report layout use this
    font for the columns which u want to print barcodes.
    hope this helps.

  • JDeveloper Team - How to print Barcodes from java application

    We are developing an Inventory based application in JDeveloper 3.2.2/Oracle 8i/Netscape Enterprice web server on Windows NT platform. The application is developed in swing technology.
    We have to print Barcodes on Intermec 3400/4100 or Zeebra Z4000 (connected to COM1/COM2) from our java application from one of our screens.
    Can you please point me to right place or get me sample source how to achieve this. We are working on a timebound deadline and we are really counting on your sincere response ASAP. Thanks in advance.
    VR
    null

    Try creating a page called launcher.html (for example). That does this:
    <html>
    <head>
    <script language="javascript">
    windowHandle=window.open("http://www.javasoft.com", "", "height=700,width=1000,status=no,scrollbars=yes,resizable=yes,toolbar=no,menubar=no,location=no,top=5,left=5");
    </script>
    </head>
    </html>Now you launch IE (or whatever) with this page using the Runtime class. After x seconds (after the second window has been launched) try killing the process. Hopefully it will kill the original window you opened and not the window you popup (the one without toolbars etc)
    It might kill both windows but I can't be bothered to test it. If it does you'll have to try and find a workaround.

  • How to print JTable to image file?

    Hi ppl.
    I have JTable that i can print via Printable to printer very well.
    Now I have a task to pass this JTable to MS Word. I can pass to MS Word any image file. So all I need is to "print" my JTable to image. Is it possible to reroute printing process to image file?
    Or any other ideas how to sovle a problem?

    John Bo wrote:
    Hi ppl.That words is 'people'. By leaving out three letters, you do not appear cool, just lazy & foolish.
    I have JTable that i can print via Printable to printer very well.
    Now I have a task to pass this JTable to MS Word. I can pass to MS Word any image file. So all I need is to "print" my JTable to image. Is it possible to reroute printing process to image file?Create a <tt>BufferedImage</tt> the same size as the <tt>JTable</tt>. Call <tt>createGraphics()</tt> on the <tt>BufferedImage</tt>. Pass the <tt>Graphics</tt> object to <tt>JTable.painComponent(Graphics)</tt>. Create an image of the <tt>BufferedImage</tt> by calling <tt>ImageIO.write()</tt>.

  • How to print Barcode in development system as well as in Sandbox?

    Hi All,
    We want to print barcodes in development system.
    However, barcodes EAN13 and EAN 8 are displayed in Sandbox but not development system.
    Are there any specific settings to be maintained?
    Thanks,
    AP

    Hello, you didnt provide enough information to catch on. To ease printing of barcodes I can recommend moving to Adobe forms.

  • How to print the mirror image of a pdf file?

    Hi,
    Does anyone know if it is possible to print the mirror image of a pdf file? I could have sworn I have done this before in an older version of Acrobat.
    I am currently working with Adobe Acrobat 8.0 Professional.
    Thank you,
    Tina

    I just tested this and it worked fine for me.
    When you select to print the cropped page, in the print dialog will be a thumbnail of what is about to be printed. Does this display just the cropped portion or the whole page?

  • How to print an undersized image so it appears bigger?

    I have Adobe Acrobat Professional 8.1.3 for the Mac.  I have received a PDF (it's a budget for a proposed project) which prints with (a) huge left and right margins, and (b)  extremely small text in the non-margin areas.  If I zoom the image onscreen, it reads just fine.  I want to be able to print it so the hardcopy is also readable, but can't figure out how to.  I've cropped it; eliminated whitespace margins; etc., but hat just seems to affect the onscreen view, not the printed image.  Most of the page consists of a single table which internally has extra whitespace below each line of text.
    And I've tried Page Scaling, but that seems to be intended for printing oversized images on regular paper, and I need the effective reverse (an undersized image on regular paper).  Thanks!

    Why not just zoom into what you want printed - then PRINT and CURRENT VIEW?
    J.

Maybe you are looking for

  • Help---- creation of jar file

    hi, i have developed a application with swing concept and mysql as my database... now i am trying to create jar file for my application... in the manifest file i have given like this: class-path: C:\Program Files\MySQL\mysql-connector-java-5.0.4-bin.

  • Remove Object from ArrayList

    Hi, i want to remove an object from my ArrayList. The Array-List contains objects from a class like this: public class Data {      String id;      String name;      String data;      //getters      //setters myArrayList.remove(myData); This doesn't w

  • How to Aviod  the appearance of the MIDlet Name From The Screen

    hi I am working with Mobile application, while running the application the MIDlet file name is always visible on the screen. So that the image moved down and partly hiden. how to aviod this problem

  • BAPI structure in ALE

    Hi, I am not aware of the ALE idocs using BAPI.I checked the segments in the std idoc ACC_ACT_ALLOC (Accounting: Post activity allocation) , i saw the segment E1BPDOCHDRP and its description is showing as Document header: post act. alloc. - BAPI's ac

  • Mi cuenta esta bloqueada porque me olvide las preguntas de seguridad y tampoco conosco el mail de rescate!! ayuda!

    me pasa todo tal cual puse en el titulo mi cuenta esta bloqueada porque me olvide las preguntas de seguridad y tampoco conosco el mail de rescate!! ayuda!