Sending oracle report direct to a printer

Hi guys, am using run_report_object to call my report, meanwhile I set report destination parameter(on the report i created on forms that calls the report itself) to printer, but its not printing. please I will highly appreciate any useful code
thanks
jideofor

ol**** wrote:
Hi guys, am using run_report_object to call my report, meanwhile I set report destination parameter(on the report i created on forms that calls the report itself) to printer, but its not printing. please I will highly appreciate any useful code
thanks
jideoforwhat is your form version ? and show your code ..
Check this link.. Re: How can I  Send report output to  3 different printer programatically

Similar Messages

  • When send the report directly to the printer from Oracle IDS 9i

    Hi.....
    I m using Oracle IDS 9i, Oracle AS 9i and Database 9i for my new project.But i m facing a problem when i m trying to show a report from oracle IDS 9i.When i send the report directly to the printer without showing it,then the printer connected to the application server is working.But the printer connected to with PC(From where a send the command) is not working but printer connected with AS is working,but not that one which one i m wanting.....Why this problem is happening?Can anyone help me?
    KSI

    Note:It is always better to have network based printers rather then PC shared printers. What that means is your printer is not connected to a PC. It has a direct connection to the network via NIC. You would then setup the printer on your AS in the printers setup. If the AS is rebooted you do not need to authenticate the printer shares again with a network based printer.
    If I understand you correctly, you have a printer connected to your AS(application server) and a printer connected to your PC. You can submit a report direct to the printer connected to the AS but cannot send a report direct to your printer connected to your PC.
    From the symptoms you described, the problem is usually associated with the AS not being able to see the printer shared on your PC. You either have the address to your printer address defined wrong or your AS is trying to direct a job to your printer but doesn't have rights to do it.
    First, Try to print a notepad job to your printer attached to your PC from the AS. This will tell you if you have access to do so or not.
    - If it can't, you need to figure out why? This has nothing to do with oracle.
    Second, thing to check is your Oracle "Report Queue Manager" on the AS. Make sure that you can submit a report manually from the Report Queue Manager. If it fails the "Report Queue Manager" will give you useful errors as to why it failed. This will help you isolate the problem.
    Third, Once you can submit a job from the reports queue manager manually to your shared printer you should be able to submit from your application direct. If it still does not work your address to the printer is incorrect. Try submitting manually through the reports queue manager again. When selecting printer you will be given a list of accessible printers from the AS. Select the one connected to your PC. Once selected the full network address will appear. Copy and use this as the printer location in your job submission through your application.
    That's it... Where using this right now and it works great. Hope this helps.
    Eric.

  • How I can send a report directly to the printer "EPSON TMU 220" from form11

    Dear,
    I have a problem with Oracle Forms11g, I need send a report to the printer EPSON TMU-220 (Pos of sale printer) in the client machine.
    Please, help.
    Thanks
    JC

    Dear,
    The problem is:
    I need to send the report directly to printer. All other reports work fine with other printers in the network.
    But the EPSON TMU-220, (I changed the card connection from COM to USB, and nothing)
    Please, help me.
    JC

  • How to send a report DIRECTLY to the printer (Linux App. Svr.)?

    Here is the problem:
    -- We have Windows clients / Linux App Server / Forms 10g R2.
    -- Printers are attached to the Windows clients.
    -- When we want to send DIRECTLY to the printer, we have to write data into a text file (using TEXT_IO) &
    -- print the same using command HOST('lp -d '||<printer IP of logged in user>t||' '||<file name>,NO_SCREEN).
    -- Our normal reports are displayed as PDFs.
    Is there a way to directly send the PDF to the printer without having to re-write the report to a text file?? Then we can just use the PDF output and don't have to do any code changes (i.e. redo every report).
    Edited by: user12240205 on May 16, 2011 5:59 AM
    Edited by: user12240205 on May 16, 2011 5:59 AM

    InoL wrote:
    Use destype=printer.
    The printer on the Windows client has to be defined as a network printer and be known on the Linux server.
    Other options:
    - use the orarrp utility
    - if you call your Reports from Forms, you can use a Java bean
    http://forms.pjc.bean.over-blog.com/article-6621538.html
    Thank you for the quick response. Can u please tell us how to make the printer "known" as a Linux server?? Will a normal network admin know how to do this or is it an Oracle developer's task?

  • Send PDF output directly to a printer

    Hi,
    I want to send a PDF Oracle Reports directly to a printer.
    I found a plugin (pdfprint) on http://www.oracle.com/technology/products/reports/pluginxchange/index.html but it doesn't work.
    REP-50159: Executed successfully but there were some errors when distribute the output REP-80003: PDFPrint : Error while generating PDF !!!
    I'am working on AS 10Gr2 running on Win2003 server.
    Is it possible to make it running on windows? Or is there another solution?
    Thanks,
    Patrick

    Hello,
    In the java code of the plugin :
    m_proc = Runtime.getRuntime().exec(stmt);
    int i = m_proc.waitFor();
    if(i != 0)
    throw Utility.newRWException(80003, "Error while generating PDF !!!", "REP");
    Have you set the execName as described in the documentation :
    <property name="execName" value="/usr/bin/pdftops -level1 -q"/>
    Have you tested this exec "manually" ? Does it work ?
    Regards

  • Send 10g reports directly to the default printer of the client machine

    Hello..
    We are using Oracle DS10g and Forms & Reports service 10g. When the user clicks on the report button I want to send the report directly to the default printer installed in the client machine. In this case the printer name may vary and I cannot parameterize the DESNAME parameter. How do i know what is the default printer? Any clue as to how can achieve the desired result?
    Thanks

    If you use webutil in your shop. You can use the CLient_win_api_environment.read_registry to get the default printer. In the run_report_object, desname gets set to the default printer.
    This can also be found in metalink.
                   V_PRINTER := CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY('HKEY_CURRENT_USER\software\Microsoft\Windows NT\CurrentVersion\Windows','Device',TRUE);
                   V_PRINTER_LENGTH := LENGTH(V_PRINTER);
                   V_PRINTER_BLANK :=     INSTR(V_PRINTER, ',');
                   IF V_PRINTER_LENGTH > 0 AND V_PRINTER_BLANK = 0 THEN
                        :P_OUTPUT_FILE := V_PRINTER;                    
                   ELSIF V_PRINTER_LENGTH > V_PRINTER_BLANK THEN
                   :P_OUTPUT_FILE := SUBSTR(V_PRINTER, 0 , (INSTR(V_PRINTER, ',')-1 ));                    
                   END IF;

  • How can I send a 10g report direct to the printer?

    Hi!
    I've got a form that calls n-times then same report, with different parameters.
    Actually, I generate a pdf and then, the user could print it.... but it is not a good idea, I want to send the output direct to the printer.
    do I have to register the printer name in any config file?
    If I run my report with then following URL:
    http://rx26201:7778/reports/rwservlet?report=test&DESTYPE=PRINTER&DESNAME=hplj_206
    I got the following error:
    REP-713: Invalid printer name 'hplj_206' specified by parameter DESNAME.
    Can anybody help me with this?
    Thanks a lot!
    Carolina

    Hi Carolina
    You should give a little more information for example the platform (O/S), application etc.
    Anyway, the printer should be configured and appear when "lpstat" is run assuming this is a unix like environment.
    Hope this helps
    Graeme

  • Print a report directly to the printer

    I need to print a report directly to the printer in Oracle Forms and Report 11g without a preview in the browser

    Hello,
    <p>You can use this Java Bean</p>
    Francois

  • Report directly to the printer

    Hi
    i'm trying to run a report directly to the printer. Report is running but scaling is not happening. Following is the URL which i'm using to run the report. This will run not an issue if i try to increase or decrease the scaling, (start-->controlpanel-->printer-->printing preference-->advanced tab-->scaling)
    this will not work.
    http://<hostname>/reports/rwservlet?report=test.rdf&destype=printer&desformat=pdf&server=<servername>
    thanks in advance

    Check out the orarrp utility (Oracle Reports Remote Printing Utility) on Metalink, note 277431.1.
    It may be easier in the end to set up printers on the OAS. I guess that client PC's are using network printers, or are the really using printers connected directly to the PC?

  • Can't print the report directly on the printer?

    Dear All,
    My client encounter a problem of printing a report directly to the printer. He is using developer 6i with OAS. His application is going to deploy on the web. He wants the report printed out directly on the "HP Laser Jet Printer" after the user has made the selection and clicked the "Print" button from the forms 6i. However, he got the error saying that
    "Oracle Report Server OWS Cartridge - Report Job has terminated with error
    Report Server Replies:
    Rep-0713: invalid printer name 'HP4050' specified by parameters DESNAME."
    And here is the parameter string passing into the report server:
    http://epmsdevs2.eway:9002/rwows/rwows60?report=epms1271.rdf+userid=epmsdev/epmsdev@dev+desformat=landscape+destype=printer+desname=HP4050+server=RepServer
    Is there anyone can show me some light on it?!
    Any help and idea is appreciated in advance!!!
    sheeta

    Hi!
    If reports are run in web env. then
    you can print reports directly on
    printer defined on m/c where report server
    is running, not on client m/c. If you want
    to print on client m/c then define that
    printer on report sever m/c and make sure
    report server can access that printer.
    Nirali

  • How to send a report directly to spool..?

    Hi guyz !
       How do i send a normal report directly to spools at execution.
       Please advise .
    Thanks in adv.
    jahan

    hi,
    The easiest way of printing a list while creating it, is for the user to choose Execute + print on the report's selection screen. The user can choose between displaying the list on the screen (choosing Execute) or printing it directly without displaying it (choosing Execute + print).
    use this function module <b>SET_PRINT_PARAMETERS'</b> to send a report directly to spool.
    <b>sample program.</b>
    REPORT SAPMZTST NO STANDARD PAGE HEADING LINE-COUNT 0(2).
    PARAMETERS P TYPE I.
    INITIALIZATION.
      CALL FUNCTION 'SET_PRINT_PARAMETERS'
           EXPORTING
                ARCHIVE_MODE   = '3'
                COPIES         = '5'
                DEPARTMENT     = 'BASIS'
                DESTINATION    = 'LT50'
                EXPIRATION     = ' '
                IMMEDIATELY    = 'X'
                LAYOUT         = 'X_65_132'
                LINE_COUNT     = 54
                LINE_SIZE      = 20
                LIST_NAME      = 'Test'
                LIST_TEXT      = 'Test for User''s Guide'
                NEW_LIST_ID    = 'X'
                RECEIVER       = 'KELLERH'
                RELEASE        = ' '
                SAP_COVER_PAGE = 'X'.
    START-OF-SELECTION.
      DO P TIMES.
        WRITE / SY-INDEX.
      ENDDO.
    TOP-OF-PAGE.
      WRITE: 'Page', SY-PAGNO.
      ULINE.
    END-OF-PAGE.
      ULINE.
      WRITE: 'End of', SY-PAGNO.
    <b>or</b>
    Printing Lists
    You can send a list from a called program directly to the spool system instead of displaying it on the screen. To do this, use the TO SAP-SPOOL addition in the SUBMIT statement:
    <b>SUBMIT... TO SAP-SPOOL print-parameters.</b>
    <b>follow this link for more information.</b>
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba54635c111d1829f0000e829fbfe/content.htm
    regards,
    Ashokreddy.

  • Not able to take print a report directly to the printer

    Hi All,
    Can anyone help me to print a report directly to the printer?. Currently, I am viewing the reports in the screen and then taking print of that report. If anyone knows the solution for this, please give me the feedback immediately. It is very urgent.

    HI ALL
    i have the same problem plz tel me som solution 4 it
    thanx in advance

  • Sending reports directly to a printer (commands) 10g Linux

    Hi,
    Quick question. I am trying to confirm what I need to pass to Oracle Reports Server in order to print directly to the printer (bypassing any Preview or PDF version of the report in Oracle 10g. I am using Linux. We just installed the printer on the server. I modified to the uiprint.txt file under the ORACLE_HOME/tk/admin to point to the new PPD that we copied for that printer to ORACLE_HOME/guicommon/tk/admin/PPD.
    Below is the report call I am making. I just want to verify that what I did was correct. I am currently receiving a FRM-41214: Unable to run Report. When I run the same report via the PDF option that displays in a separate browser window, it brings the same report up correctly.
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_FILENAME, LOWER(:MODULE.MODULE_NAME)||'.rep');
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_SERVER, 'rep_inpp37_gt');
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_OTHER, V_OTHER);
    -- V_OTHER is my parameters that I pass, such as PARAMFORM=NO, READONLY=yes, PAGESIZE, ORIENTATION, DELIMITER=NONE, and parameters which in this case there are none.
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESTYPE, PRINTER);
    SET_REPORT_OBJECT_PROPERTY('GENERICREPORT', REPORT_DESNAME, 'gt-ybs-p'); - this is my printer name
    V_REP := RUN_REPORT_OBJECT('GENERICREPORT');
    When it runs the V_REP line, that's when I get the FRM-41214 error. Just was wanting to verify if what I had passed for the printer commands is correct.
    Chris

    I forgot one important piece which is why I am asking the question. I am running the report within an Oracle 10g form. I pass all the parameters across to the Reports Server, as seen above. When I run via the PDF option, I just change the DesType to Cache and DesFormat =PDF. When I run with this, it works and displays the report in a new browser window.
    I just want to run the report with the exact same parameters but instead of generating a PDF, I want to run the report and send it directly to the printer without previewing it.
    Chris

  • Printing a report directly to an printer via the printer's IP Address.

    I am looking for how to print a report (either text or pdf) from a PL/SQL procedure, directly to a known IP Address of a printer.
    We have a report that is generated through forms as a pdf. The user can then obviously read it and print it to a printer from their machine.
    We are trying to implement a Stored procedure that will print that report directly to a know printer's IP Address.
    How can this be done?

    Check out the orarrp utility (Oracle Reports Remote Printing Utility) on Metalink, note 277431.1.
    It may be easier in the end to set up printers on the OAS. I guess that client PC's are using network printers, or are the really using printers connected directly to the PC?

  • Printing a report directly to the printer on the client machine

    Hi All,
    I am migrating reports from 6i to 10g, all these reports are called from menu and some from forms. There are some reports which are directly sent to the printer for printing. My question is when we run those reports that are sent directly to the printer from OAS, Can we make it refer to the printer set up on the client machine?. Can any one let me know regarding this?.
    Regards,
    Prasad.

    Check out the orarrp utility (Oracle Reports Remote Printing Utility) on Metalink, note 277431.1.
    It may be easier in the end to set up printers on the OAS. I guess that client PC's are using network printers, or are the really using printers connected directly to the PC?

Maybe you are looking for

  • What should I do if my keyboard is not working after updating to new OS Mavericks update?

    I have a 13" MacBook Pro that was purchased in January 2014. Recently I installed the recommended updates for OS Mavericks on my computer. I rebooted the computer as recommended and when I went to login lo and behold my keyboard will not function. No

  • Why does the program crash when I select Editor?

    Everytime I start up my Adobe Photoshop Elements 7 and select "Editor", the program stops and it crashes.  I never had this problem before and I'm getting absolutely nowhere with the webpage to find a solution.  Any help would be appreciated.

  • Adobe Please Explain

       Dear Adobe I can find instructions and a list of needed  for modifying Apache to work with HLS for Apple/IOS devices. However I cannot use .dll on Linux but I can possibly use the .so files ....so can you verify that FMS 4.5  HLS  for Apple/IOS de

  • Html help

    I am trying play with the html on iweb. I have run into a problem though, I cant get images from my computer to load onto the site and the url from the pic is correct. Funny thing is that when I click on the page in idisk/web/sites/iweb/my site it co

  • When will Firefox have a solution for the 'McAfee site advisor' problem in the new version 5 of the browser?

    I love Firefox and always keep it updated with the latest version, but the new version 5 keeps saying that McAfee Site Adviser will be disabled when I upgrade. So, I haven't downloaded the upgrade. I also love and depend on my site adviser and I'm no