About the bar code report in printer server

Hi:
I have a question about the bar code report in printer server, i can do the bar code report in my local computer ,
but it can't be work when put it into the printer server ,
It would be get the error message :
REP-110: can't open the file 'null'.
REP-1070: it have a error when it open or sqve the document.
REP-0110: can't open the file 'null'.
I had study the document orbr_barcode.pdf before,
and I do something below:
1. copy a new oraclebarcode.jar into my computer.
2. change the regedit HKEY_LOCAL_MACHINE\SOFTWARE\ORACLEHOME1\REPORTS_CLASSPATH,
add a new path that the oraclebarcode.jar was.
3. import java class
oracle.apps.barcode.util.BarCodeConstant
oracle.apps.barcode.BarCodeMaker
4. new PACKAGE globals IS
bcobj ora_java.jobject;
barcode_to_use varchar(256);
tempdir varchar(100);
directory_sep varchar(2);
END;
5.modify function BeforeReport return boolean is
begin
globals.barcode_to_use := BarCodeConstants.BAR_CODE_39;
globals.bcobj := barcodemaker.new();
return (TRUE);
end;
6. new Formula in the DataModel, and set to image,
function CF_barCodeFormula return VARCHAR2 is
myfilename varchar2(500);
result varchar2(500);
barcodeData VarChar2(500) := :ast_no;
begin
myFileName := srw.create_temporary_filename;
barcodemaker.setBarWidthInch(globals.bcobj,0.005);
barcodemaker.setBaseCodeData(globals.bcobj,barcodeData);
barcodemaker.setBarCodeType(globals.bcobj,globals.barcode_to_use);
myFileName := barcodeData;
barcodemaker.setFullPath(globals.bcobj, myFileName);
barcodemaker.renderBarCode(globals.bcobj);
return(myfilename);
end;
It's success when I build a bar code report in local computer,
but I copy the oraclebarcode.jar into printer server and chage the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLEHOME1\REPORTS_CLASSPATH, but it get the error message ...
Please help me , I try it so many times and it still fail,
your sincerely ,
Hsiu-Chen, Yeh

Dear Ph.
sorry ...
I can understand your command : the engine element in the server config file.
can you Please explain this command more detail to me, Please.
I deeply appreciated your kindness.
Hsiu-chen, Yeh

Similar Messages

  • Can you set Pages to add the bar code when you print an envelope

    When you use Pages to address an envelope, can you set it to add the bad code?

    No. I prefer to use the free EasyEnvelopes widget that does.

  • ) how can we print the bar code in SAP_SCRIPTS?

    ) how can we print the bar code in SAP_SCRIPTS?

    hi Pavan,
    barcodes wil be generated in the printer itself, if you give <BC>&HD_GEN-MATERIAL_NUMBER&<> then you have a value for "Barcode" .
    Adding Your Own Bar Code:-
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94fc51ea11d189570000e829fbbd/content.htm
    barcodes in SAP
    http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm
    Print Unique Indicator as a Barcode
    The printing of unique indicators of elements (reference numbers of records, case indicators, or document numbers) as barcodes is controlled by SAPscript forms.
    SAP delivers a common SAPscript form based on the SAP barcode type AUFNR for records, cases, documents and incoming post items.
    To create another SAP barcode type, you can copy the SAPscript form RMPS_BARCODE and then adjust it to your own requirements. Then you have to define the new form using the following attribute names in the table SCMGPARAM:
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (‘First page’, ‘Next page’, ‘Last page’) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY ‘PAGE’.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY ‘NEXTPAGE’.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE OUT_PAR WITH KEY ‘BARCODE’.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = ‘|’. "First page
    ELSE.
    OUT_PAR-VALUE = ‘||’. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = ‘L’. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    hope this helps you
    Regards,
    Jayant

  • HT4061 Sir i have lost my apple iphone and i do not remember IMEI number of the iphone and the sticker affiexed on the box is also not present (lost) but i have the bar code 602-7484-A printed on the box and police is asking for the IMEI number so please

    Sir i have lost my apple iphone and i do not remember IMEI number of the iphone and the sticker affiexed on the box is also not present (lost) but i have the bar code 602-7484-A printed on the box and police is asking for the IMEI number so please help

    The IMEI number is stored in iTunes:
    iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number
    I can't imagine that any police agency in the world would request this information.

  • Can I print Bar Code Text autoamatically under the bar code  in smartform.

    Hi All,
    Currently I am printing the Bar Code for MARA-EANNR value .My requirement is to print the MARA-EANNR value under the bar code .Currently I am hardcoding and it is working fine.I want to know is there any possible way I can print the value of MARA-EANNR under the bar code with out hard coding.
    Thnaks,
    Suresh.

    Hi,
    B1 - BARCODE CHARACTER FORMAT
    A1- DEFAULT CHARACTER FORMAT.
    In smart form define a template with two rows,
    in first row u pass barcode value( mat no ) with barcode character fomat.
    <B1>&MATNO&</>
    in second row define  barcode value(mat no ) in ordinary charcter format.
    <A1>&MATNO&</>
    Rgds
    Siva
    Edited by: siva prasad on Sep 1, 2009 1:53 PM

  • How can I print the bar code in the page?

    Hi,
    I can see the bar code in the print preview but that bar code was not printed in the paper. Can any one help me How can I print in the paper.

    HI.
    if you are not able to see the barcode on paper,you need to do some printer settings..
    refer the following link.
    Hope it helps you.
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/903c3cf0344e4de10000000a11402f/content.htm
    Thanks,
    rashmi

  • Printing bar code to LOCL printer

    I have created a smartform to print a bar code using bar code BC_CD39.  I call the smartform function in an ABAP program and then display it in PDF form using function:
    call function 'SSFCOMP_PDF_PREVIEW'
         EXPORTING
              i_otf                    = otfdata
         EXCEPTIONS
              convert_otf_to_pdf_error = 1
              cntl_error               = 2
              others                   = 3.
    The bar code does show on the PDF, but it is just showing as repeating bars of the same size. Like this:  
    And when I print to LOCL printer, it prints out the same.  Why is it not printing/displaying the true bar code?

    Hi
    Which printer are you using? To print the Barcodes you need a separate Barcode printer see the following
    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

  • Why does the bar code look "chubby" when I save to PDF?

    Hi, I'm designing a book cover for a client in Illustrator, and it has a bar code on the back of it. When I save the file as an .ai or a .png or .jpeg, it appears fine. But when I save the file as a .pdf (which my client will be viewing, and for print), the bar code looks like the lines have gotten bigger or run together! It's really weird...no matter which preset I use, it appears like this (I've attached a screenshot). I've also tried the "flatten transparency" and converting the numbers to outlines, but they still tend to distort when the pdf is viewed.
    Any suggestions on how to fix this, or why this might be happening? It scares the client when they see it....
    The lines in the picture are MUCH thicker than the actual bar code, and some appear to have blended together.

    Hi Mike,
    In the Preferences area of Adobe Reader, go to the Page Display tab, and
    make sure that "Enhance thin lines" is unchecked. That seemed to solve
    most of my problems with the type! Hope that works for you too!
    Laci Morgan

  • How do I find my old keys, if I didnt register products,and the bar code is all thats left from school purchase?

    How do I find my old Keys, If I didnt register products, and the bar code is all thats left from school?

    Well, then you are SOL.
    Mylenium

  • I have problems when using the camera on my iPhone 4S (the same for my daughter with a iPhone4) A veil around the blurred photo, a development impossible and completely unable to read the bar code or QR code. What to do?

    I have problems when using the camera on my iPhone 4S (the same for my daughter with a iPhone4)
    A veil around the blurred photo, a development impossible and completely unable to read the bar code or QR code. What to do?

    Sounds kind of stupid, but check to make sure that your iphone case cover is not blocking the edge of the camera lens.  I had a silicone case on my 3S and when it got older, it started tot slip and the edges of my pictures were blurred.

  • HT201209 can we enter the bar code number to activate card

    we cannot read the security code so can we enter the bar code number on the gift card?

    No, that's actually a different number. If you've damaged the activation code while scratching the ink off, you can write to iTunes Store Customer support. Just provide your card's serial number (usually starts with 3 letters and followed by numbers, for example: GCA1234567678.... EPY12314235346..... Depends on your country.)
    Just visit http://expresslane.apple.com to send an email to the iTunes Store.
    Regards.

  • Can you please explain in detail about the T-Code SM59

    Can you please explain in detail about the T-Code SM59

    Hi Raja,
    detailed explanation is already available over help.sap.com.
    For your ready reference check below links
    http://help.sap.com/saphelp_spm21_bw/helpdata/en/57/898009a859493a8bce56caaf0f8e13/frameset.htm
    http://help.sap.com/saphelp_webas610/helpdata/en/da/11df3a9b10355ae10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_snc70/helpdata/en/3f/7ffb40ef74f923e10000000a155106/frameset.htm
    Regards
    Jitender

  • TS3694 Keep getting error 3004, every peice of information on this webstie about the error code is absolutly useless.

    Keep getting error 3004, every peice of information on this webstie about the error code is absolutly useless.

    Have you tried on another computer connected to a different network?

  • The bar code value should be displayed in the popup window again

    hi ,
    I am using function module 'POPUP_GET_VALUES' inorder to enter a barcode value in MIRO transaction.
    When I stimulate(Stimulate button ) the MIRO , a popup comes and I enter the bar code and click enter, the popup disappears. Then when I click the Stimulate button once again ,the popup comes and NOW THE ENTERED BARCODE(entered barcode previously) SHOULD BE DISPLAYED.
    how can this be done?????????????
    Kindly help me soooooo
    Points will be rewarded

    In the table parameter you can pass the value for the table FIELDS.
    Tabname
    Field
    Value --> initialise your previous value in the particular field.
    It would display the same when the message pops up.

  • What is a "logged in user" on the "Active Sessions" report in CF8 Server Monitor?

    I was looking at the Active Sessions Report (The Chart View) and saw I have more "logged in users" than "active sessions".
    I had expected them to be nearly the same.    It's on our Intranet where I log users in (using cflogin and cfloginuser) at the begining of their session and users should be logged when the session ends.
    I couldn't find a detailed explaination of what a "logged in user" means.   There is a chance that the same user is logged into a nested application as well as the Intranet, but I don't think that is what I'm seeing.
    I also don't see a way to get a list of what CF is counting as a logged in user.  I can only see a way to get the total count.
    Any help is appreciated. 
    Thanks,
    Jeff

    Thank you Michael for the reply, but I don't think that is the issue.
    When a user opens their browser on the intranet, a session begins and they are logged in (using the cflogin and cfloginuser).    If they close their browser, the session should hang around for 20 min. (per the server setting).   I am assuming this is still considered an "Active Session" since I can see this behavior in the report.
    At first, the Active Sessions and Logged In Users are exactly the same.   When the sessions start to time out, the active sessions are reduced,  but the Logged In Users remain the same.    Then,  after a while, they start to move together.  So I have more Logged In Users than Active Sessions.
    I left the Server Monitor open last night and for most of the night, I had 0 sessions, but 57  "logged in users".   This morning, as people opened their browsers, the Active Sessions and Logged In Users moved together.   The gap of 57 looks consistent.
    It looks like people are remaining logged in after their session ended.
    I am really looking for a detailed explaination of "active session" and/or "logged in user" as used in the server monitor.  It would be really nice to find a way to list the details about each item counted in the "logged in user" and not just the total count. 
    Thanks Again for your reply.
    jsm

Maybe you are looking for

  • Can not refresh view data in STRUST

    I am using the JSP (STRUTS) for developing my App. I get a list of contact. In bellow it, I make a link for each contacts. When i view details of one contact. On click link below. My pages: listcontact.jsp contactdetails.jsp When i request a details

  • How can you open an ipad mini if its says the password is wrong?

    how do u get in to reset the password on a new ipad mini?

  • Find email addresses to personal numbers in HR system

    Hi, I have to change a report, which is checking for expiration dates of qualifications and sends emails to managers, administrators, etc. I need to enhance the report, that it is also sending emails to the employees themselves, if the qualification

  • Updating Oracle 8i database from SQLServ 7

    Hi, I have successfully migrated data from sqlServ 7 to Oracle 8i. The SQLServ is constantly updated. Using OMWB, how do I update the data/tables in Oracle without recreating the schema/repository? Thanks.

  • Facebook upload - two tags for one face!?!?

    Hi everyone. I did a quick search before posting and couldn't find anything. When I upload an album to Facebook, certain faces are getting tagged twice: once to link them with their Facebook ID, the second is just a text tag (no link) with the same n