Barcoding in 5.6.2

Acording to MetaLink: "XML Publisher now provides an interface to call custom Java code to calculate barcode alogorithms and then send the results back to XML Publisher to include the barcodes in your documents."
I cannot for the life of me find any documentation for this enhancement in XMLP 5.6.2. Can anyone point me in the correct direction?
Thanks,
Brett

Hi Brett,
Here is the way you can call external java code to support start/stop/check digits in 5.6.2.
1. Two new RTF template syntaxes are introduced to support pluggable barcode
vendors:
a) <?register-barcode-vendor:java_class_name;barcode_vendor_id?>
b) <?format-barcode:data;barcode_type;barcode_vendor_id?>
User uses the first command to register a barcode encoder, and use the 2nd
command to format/encode a barcode. All the parameters are dynamic. So, user
can define them either in template or in xml data file or based on certain
condition and/or expression.
2. the java_class_name indicates a java class that could be instantiated
on-the-fly at the command <?register-barcode-vendor:...?> is called. The
class should implement a common interface defined by Oracle XML Publisher,
i.e.
oracle.apps.xdo.template.rtf.util.XDOBarcodeEncoder.java
This class has following 3 methods need to be implemented:
* Return a unique ID for this bacode encoder
* @return the id as a string
public String getVendorID();
* Return true if this encoder support a specific type of barcode
* @param type the type of the barcode
* @return true if supported
public boolean isSupported(String type);
* Encode a barcode string by given a specific type
* @param data the original data for the barcode
* @param type the type of the barcode
* @return the formatted data
public String encode(String data, String type);
The class should located in the classpath that the middle tier XML Publisher
JVM is running.
If in the <?register-barcode-vendor:...?> command, the barcode_vendor_id is
not provided. XML Publisher will call the getVendorID() and use the result
of the method as ID for the vendor.
If in the <?format-barcode:...?> command, the barcode_vendor_id is not
provided, XML Publisher will use a default encoder to encode the data. The
encoder now supports:
Code128a
Code128b
Code128c
Code39
Code39Mod43
Postnet
Interleaved2of5Mod10
Interleaved2of5
Example:
<?register-barcode-vendor:’oracle.apps.xdo.template.rtf.util.XDOBarcodeUtil’;’myvendor’?>
<?format-barcode:12345;’code39’?>
<?format-barcode:12345;’code128b’;’myvendor’?>
Hope it'll help you!
Thanks,
Shinji

Similar Messages

  • Barcode C128 is not getting displayed in Sapscript

    HI,
    I need to print the barcode in the Sapscript.
    The barcode is not getting displayed even in the preview also, when I give the Barcode C128.
    But when I give other Barcodes, it is getting displayed in the preview.
    Can anyone let me know the solution to print the barcode for C128, as others are not that much fit to print.
    Thanks
    Rakesh

    Hi Dieter,
    No. I haven't.
    Is this the reason for that?
    let me know the procedure.
    thanks
    Rakesh

  • Barcode report is not working in linux

    hi,
    i am running the report using the barcode, which is running perfectly in the windows server - i meant in the report builder.
    but when i try run the same report in linux server through application, i am getting the below mentioned error:
    Terminated with error:
    REP-1401: 'beforereport': Fatal PL/SQL error occurred. ORA-39565: Message 39565 not found; product=RDBMS; facility=ORA
    below mentioned is the code written in beforereport trigger:
    globals.barcode_to_use := BarCodeConstants.BAR_CODE_128;
    globals.bcobj := barcodemaker.new();
    i have include the jar file path /ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar both in class path and report_path, but still its not working.
    any one had solve this issue?...pls help me out
    for you info:
    CLASSPATH=/ora/u01/oracle/v101/ds1/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/ora/u01/oracle/v101/ds1/jlib/repository.jar:/ora/u01/oracle/v101/ds1/jlib/ldapjclnt10.jar:/ora/u01/oracle/v101/ds1/jlib/debugger.jar:/ora/u01/oracle/v101/ds1/jlib/ewt3.jar:/ora/u01/oracle/v101/ds1/jlib/share.jar:/ora/u01/oracle/v101/ds1/jlib/utj.jar:/ora/u01/oracle/v101/ds1/jlib/zrclient.jar:/ora/u01/oracle/v101/ds1/reports/jlib/rwrun.jar:/ora/u01/oracle/v101/ds1/forms/java/frmwebutil.jar:/ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar
    RW=$ORACLE_HOME/reports; export RW
    REPORTS_PATH=$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo:$ORACLE_HOME/reports/integ:$ORACLE_HOME/reports/printers:${REPORTS_PATH}; export REPORTS_PATH
    REPORTS_TMP=/tmp; export REPORTS_TMP
    REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
    REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
    REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar:$ORACLE_HOME/reports/jlib/oraclebarcode.jar; export REPORTS_CLASSPATH
    repserver.conf file setting:
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000" jvmOptions="-Xms512m -Xmx512m" classPath="/ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar">
    <property name="sourceDir" value="/ora/u02/oraadmin/config/as2/app_qits_run"/>
    <property name="tempDir" value="/ora/u02/oraadmin/config/as2/app_qits_tmp"/>
    </engine>
    <engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="60000" classPath="/ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar"/>
    thanks
    renjish

    Hello,
    The first step if to find the PL/SQL line causing the error in 'cf_1formula':
    create a procedure Trace in your Reports : (modify the line trace_file := Text_IO.Fopen('d:\temp\rep_trace.txt', 'A'); to adapt the filename to your system)
    PROCEDURE Trace (trace_string in varchar2) IS
    trace_file Text_IO.File_Type;
    BEGIN
    trace_file := Text_IO.Fopen('d:\temp\rep_trace.txt', 'A');
    Text_IO.Put_Line(trace_file, trace_string);
    Text_IO.Fclose (trace_file);
    END;
    Then, add some calls to this procedure in the program unit 'cf_1formula'
    trace('Before line 1';
    <PL/SQL code of line 1>
    trace('Before line 2';
    <PL/SQL code of line 2>
    trace('Before line 3';
    <PL/SQL code of line 3>
    Excecute the Reports and find in the file 'd:\temp\rep_trace.txt' the last line executed.
    Regards

  • Error while Adding a Delivery Note with Barcode

    When i add the deliverynote , i get the following error :
    Error Code : -10 : Document can not be added: Base line item has been updated, re-transmitting the document data from the base document .
    or
    Access violation error
    This happens only when i assign a barcode to the item in the Item Master Data ( Eg : ITM001 is assigned a barcode ) .This works fine when the barcode is not assigned to the item .
    What is the cause of this error ?
    Obj := IDocuments(Company.GetBusinessObject(oDeliveryNotes));
    Obj.CardCode         := 'B1010';
    Obj.Lines.Add;
    Obj.Lines.BaseType   := bodt_Order;
    Obj.Lines.BaseEntry  := 100;
    Obj.Lines.BaseLine   := 0;
    obj.Lines.ItemCode := 'ITM001';
    Edited by: senthil kumar on Dec 2, 2009 1:04 PM

    Hello,
    I had the same problem. This occurs. when you change the barcode between sales order and delivery note, and YOu are issuing the Delivery note by DI API.
    To do:
    - Open Sales Order
    - OverWrite in the lines the barcode to the same as Material Master Data
    - Update sales order
    Issue delivery note.
    SAP Note number: 1314220
    Regards
    János

  • HT204088 Hi team can your team send me the purchase record of the game barcode soccer

    Hi team
    Can your team send me back the purchase record for the game barcode soccer that I purchase under this account thanks

    This is a User to User Forum... What do you require and from whom...

  • Confusion with the use of PDF417 Barcodes

    I am trying to get clarification on what is required to utilize the Acrobat Designer to create a form that creates a PDF417 barcode. Here is the scenario:
    We would like to create a form with Designer (bundled with Acrobat 7.0 Professional)that will be used as an index sheet for a document scanning system.
    The form would contain one or more fields that a user would complete using the standard Acrobat 7.0 Reader that they can download from Adobe. When the user completes the data entry into the fields, they will print out the form (containing the 2D barcode (PDF417).
    The form would be scanned and put through recognition software that is supposed to ready PDF417 2D barcodes.
    I have read through the literature and have seen inconsistent representations regarding the ability of a user to use the Acrobat reader to complete the form and print it with the PDF417 barcode.
    In one of the forum postings a user was told that they needed certain decoder software from Adobe or extensions.
    I am not clear if the user filling out a form using Acrobat 7.0 reader, which generates the PDF417 barcode supposedly, can be read by an application which supports that barcode type. Or, if this is a special type of PDF417 barcode that has some additional attributes that requires special software from Adobe to be recognized.
    Please explain how I accomplish the objective set forth above.

    Mike,
    It looks like I scanned over your email a little too quickly and missed a
    VERY important point. You mention that your form will be "bundled with Acrobat 7.0 Professional". This is VERY important.
    In fact, you will need to license nothing else from Adobe. You DO NOT need Reader Extensions because you are deploying Acrobat Professional on the work stations that will be filling in your forms. You do not need to "turn on" hidden functionality of the Free Reader if you are using Acrobat Pro. You already have all the functionality you need.
    Second, when you fill in a Barcoded Form with Acrobat Professional the PDF417 Barcode that is rendered in your form will be a 100% standard PDF417 Barcode. But do not turn on compression. When filled in - in Acrobat - the Barcode is rendered so that it can be read by ANY Decoder that can read PDF417. However, if you enable compression you will need to use the Adobe Decoder. If you start decoding and see you are getting lower than a 99.9% decode rate, take a look at buying the Adobe Decoder. Not the whole "Barcoded Forms" license, just the Decoder.
    Again,
    if you are using Acrobat to fill in these forms, you have nothing else to buy. If you want to deploy these forms with the Free Reader then you will need to license Adobe LiveCycle Barcoded Forms and possibly ARES.

  • How to display Barcode in RTF ?

    How to insert Barcode for the item in RTF using BI Publisher in Ms word. I did like below
    <?format-barcode:*Item*;Code128a;XMLPBarVendor?>
    But in the output Barcode is not displaying for that item.

    Hi,
    Try the below link
    [http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a95e351ea11d189570000e829fbbd/content.htm]
    Regards,
    Surinder

  • Barcode is not getting printed in the SmartForm

    Hi All,
    I am trying to print BARCODE in a SMARTFORM but it is not getting printed.
    I have created a barcode ZTest_Barcode from the transaction SE73. Then I have created a Character Format C1 with this barcode ZTest_Barcode.
    In the SmartForm I have applied this character format like this <C1>&WA_VBAK-VBELN&</C1>.
    But in the preview of this SmartForm barcode is not getting printed while this field is printing like <C1>220<C1>.
    I have also tried with some SAP barcodes like BC_CD39, C128A_01, etc. But the result is same.
    Please help me to resolve this issue.
    Regards,
    Avaneet

    hi avaneet,
    check this site for barcode.
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    it may help you.
    thanks
    Sachin

  • Barcode is not getting printed in Sapscript

    Hi,
    I want to print the PO as barcode in my Script. I have converted the output to PDF format
    I have created a character format for this and given C128A as Barcode and used this character format to print the barcode. but the barcode is not geettting printed in the PDF output. the PO is blank.
    Did i miss anything in the process?
    Please let me know the exact procedure for printing the Barcodes.
    thanks
    Rakesh

    hi,
    There're differents solutions for the creation and print BARCODEs . All of them have the same problem : When you create a spool from a form/smartform with Barcodes, it's not possible to convert the spool to a PDF file because the BARCODE is created at the time of printing.
    just try printing one copy and see.
    ags

  • Barcodes are not getting Displayed in Smartforms.

    HI
    In Previous Month barcode was getting displayed in smartforms  print Preview. And PDF form is generated successfully. I am not using standard form this is custom.
    In Previous month, Service pack SAPKA70023 ABA Support Package 23 & 22 for 7.00 were applied, After that Barcode is not getting displayed for current month. I identified that Barcode Name is not mentioned in smartstyles.
    Ther is no transport Request Moved from last one year.
    Can any one suggest me there will be any impact on barcodes after service packs
    Thanks
    Ravi

    Hello,
    have created some new users and done with the leave request, it comes to backend inbox, but not
    visible in portal. Re-configured UWL, but still the task not coming( leave request). For other users it is > coming?
    Where have you created these users? Many times it is not enough to create new users in a backend system. You will have to create them in the data source which is used by the UME of your portal or to map this data source with the system where you have created your new users
    You can see what data source your portal is using by going to
    Portal --> System Administration --> System Configuration --> UME Configuration --> Data Source
    If this Data Source doesn´t contain your new users, then UWL wouldn´t be able to show their items.
    Here you can check if your user is contained in the data source:
    Portal --> User Administration --> choose the right data source --> put in the username --> search
    Please check if your users are correctly created.
    Regards,
    Iris

  • Trying to combine multi PDF docs into one, but losing a barcode overlay at the bottom of the page.

    Hello,
    I'm attempting to put approximately 100 PDF documents (various page lengths) together to create one, however when I use the typical method, File>Create PDF>Multiple Files then combine them I lose the barcode at the bottom of the page.  I believe the barcode is seen by Adobe as an overlay, but I could be mistaken.  I'm not sure if there is some options I could be changing to make this work.  My other alternative is to use the insert...but this would be very time consuming.  I'm looking to have more of these in the future so any assistance would be greatly appreciated.
    Thank you,

    Hi,
    Trying to check this issue. Please let us know the version of Acrobat that this Combine behavior is seen in.
    thanks

  • Previewing BarCode In PDF Format Using Microsoft Word

    Hello,
    I'm having trouble using word to preview bar code font in pdf using XML Publisher.
    The bar code shows prefectly well in html and in excel, but it does not show in PDF.
    Can anyone help me with this problem?
    Thanks in advance
    Message was edited by:
    Blisss

    Hi Blisss
    Its showing in HTML and Word becasue you have the barcode in your windows/fonts directory so when the doc is generated the font can be accessed. In the case of PDF the barcode needs to be embedded into the output. You need to treat the XMLP engine running on your desktop as a server ie the font needs to be available to the engine at runtime. So, you need to update the xdo.cfg file to point to the font in the fonts directory ... check the user guide for some more help.
    Tim

  • 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

  • Memoryze barcode for vendor invoices

    Hi all
    We want to save, after have posted a vendor invoice with barcode, the link between the document and the barcode. Now the link is present in the BDS_BAR_IN table but when the corresponding record in BDS_BAR_EX appear, both the two are deleted.
    I saw that for the 46c SAP suggest (note 564547) to use a workflow raised by the event barcode.assigned. For the ecc6.00 exist a different modality (without development work) or I must use the same modality suggested for the 46c?
    Thanks
    Davide

    HI David,
    I was able to assign barcode to BDS_BAR_IN table and also be able to assign barcode externally with the function module
    BAPI_BARCODE_SENDLIST, It created the barcode entry in BDS_BAR_EX table.
    Though the same barcode exist in both BDS_BAR_IN & BDS_BAR_EX tables, they are not getting matched and disappearing for some reason in OAM1.
    Any idea what might be cauing this issue?
    Thanks
    Aj

  • ADF Faces - Which type of barcode scanner is recommended for ADF JSP?

    Hello everybody:
    1.- I'm trying to implement and adf faces app, with the functionality to get some
    data from a barcode reader.
    2.- I was reading about the different types of reader's interfaces: keyboard wedge,
    RS232, USB, bluetooth, etc.
    --- QUESTION' SECTION ---
    3.- First, the best thing is that my app could be compatible with all interfaces, I
    don't know if this is possible without any changes to the code.
    4.- If the previous point is not possible, I know that at least my app has to be
    compatible with the KB wedge and RS232, because I have read that the USB
    just emulate these two interfaces, but in an USB port.
    5.- I haven't read to much about this, but I need that my app do a post imediately
    after read the barcode, so the best thing my mind could imagine is add an
    <enter> char from the reader, I read too that this is only possible with the
    RS232, is the only way to modify the output of the scanner before send it to
    the app, and with the KB wedge is not possible.
    6.- But, the KB wedge is easier to use because my app does not require any extra-
    code to handle it, the only thing is: the cursor must be in the correct place in
    the correct time.
    I have read in this forum that some people has already implement this, if some of
    you guys have any suggestion, please let me know.
    Thnks in advance.
    Alex.

    Hi,
    thre is no specific certification between barcode readers and ADF Faces. So if you need a barcode reader, it s up to you testing which one can interact with the browser to fill in the form fields (and this basically is all it does)
    Frank

  • Issues with AR Invoice form after sending barcode and tab data to PC

    Hi,
    We have a barcode system to scan ItemCodes and send 5 x tabs 'keypresses' to the checkout users PC.
    This basically populates all the required fields on the AR Invoice row and jumps down to the next row ready for the next barcode.
    We have recently upgrading to 8.8, and we have developed an annoying issue.  Intermittently, the PCs not behaving as expected.  Here are some of the bad results we have experienced:
    1. The barcode scan is done, but the tabs being sent to the PC are not registered..  The PC just sits there with the cursor at the end of the (populated) ItemCode box without recognising that tabs have been sent
    2. The barcode scan is done and the ItemCode box is populated as expected.  However SAP has not processed all the expected tabs and the cursor remains one of the next few fields awaiting user input.
    3. As above the barcode scan is done and the ItemCode box is populated as expected.  However SAP has not processed all the expected tabs.  Also, the cursor is not present within the current 'selected' field - it seems to have almost lost focus from the fields on the form.  Note: the SAP window remains the active Window.
    All of this means that the processing of Invoices is being delayed as tabs are not being processing and form focus is being lost.
    The form settings are correct as they are unchanged from being working to suddenly stopping working.  The issue is occasionally resolved by a reboot of the client PC in question. 
    Is this a known issue in 8.8?  If not, is this most likely to be caused by display issues or SAP 8.8 not being able to handle the receipt of tab commands in such quick sucession?
    Any pointers or comments from your experience would be appreciated.
    Regards
    OB

    Which patch level are you using as this should be fixxed. I would also look if there are any conflicts with the add-ons as there some major changes in the SDK.

Maybe you are looking for