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

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.

  • Send Report Directly To Printer Without using ORARRP?

    Is their any other way to send report output directlly to printer from reports 10g running on Oracle IAS 10g without use of Orarrp?
    I am asking this question because of some non-support issue with Orarrp mentioned by Oracle in documents.
    Looking for yours help on this topic.
    Thanks

    within a forms trigger:
    1. generate the report
    2. copy from iAS to local
    like: webutil_file_transfer.url_to_client()
    3. print.exe /d:printer filename (for windows OS)

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

  • 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

  • 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

  • Print command from linux PC on to Windows Environment

    Hi Experts,
    We have SAP on Windows and the network printer is also on Windows, the PC with Linux is integrated with network printer i.e when the print command from Linux is given the output is available from the printer (Windows). But when the print command is given through SAP there is no output from Printer (Windows).
    When same user logs into Windows the printer command is successful.

    hi hari,
    Printing SAP documents using Linux client is a little bit tricky if you want to get good printing result just as when you print from your Windows client.
    If you want to use G printing method (on Linux client), you can't use SAPWIN on device type since SAPWIN is relying printing method. You must use exact printer driver. For example when you're using Dot Matrix printer Epson LX300+, you can use EPESCP2
    I am using different method to cheat this and it's completely work.
    ardhian
    http://ardhian.kioslinux.com
    http://sapbasis.wordpress.com

  • 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

  • Send a report output directly to client printer in 10G

    I want to send my report output to client printer instead of report server printer without view report on screen.
    I am using RUN_REPORT_OBJECT built-in, but when I set REPORT_DESTYPE = PRINTER, it send report output to report server printer, I want it on local printer.
    regards
    Rehan Mirza

    Hello,
    <p>Here is a solution by Casey Bowden.</p>
    Francois

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

  • Cannot send report directly to printer

    Hi,
    we are installing new canon printers (irc2380's) and we are having difficulty getting the reports to the printer.
    If i send the output of the report as a file to the application server(solaris) and then print using an lp command then the report prints fine, however if we try to send the output directly to the printer, the report server thinks it has been successfull but nothing appears on the printer.
    We are using run_report_object, have tried looking at the ppd files but cannot get any to work, canon do not seem to have any specific for unix.
    Any help would be appreciated.
    Thanks

    Hello,
    If the Reports Version is >= 9.0.2 , an output file has been generated in the Reports Server cache ($ORACLE_HOME/reports/cache by default)
    and this file is sent to the printer with the script rwlpr.sh (in $ORACLE_HOME/bin)
    Check the content of the file generated in the Reports cache, test to send it "manually' to the printer
    Regards

  • 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

  • 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

  • Directly Printing the Reports Output to a Printer in 10g.

    Hi All,
    We need to print directly from the reports to a printer. How it can be achieved?
    i.e Reports running in client machine and when I hit the Run Button in my form the report runs. Similarly the report output should be printed to the printer attached to the Server PC where reports server is running.
    How this can be achieved without much of complication. We have achieved this changing the existing servlet of report which does this. But is it possible to achieve this on other ways too.
    Appreciate early responses and awaiting for it.
    Thanks

    Hi,
    Many Thanks. I checked the URL its very descriptive and helpful.
    Meanwhile when i try to configure printer from the application server it asks for the network userid and password. What is that which i should provide? Either its the local user account of that PC or the administrator user on which the oracle services run.
    Please clarify.
    Thanks in advance.

Maybe you are looking for

  • Cant boot missing hal.dll file - HELP!

    I have just installed my new MSI board, and I have a dreadful problem.  I cannot get my computer to boot.  It tells me that windows cannot start because the following file is mssing or corrupted: Hal.dll In fact the file is there.  I know this becaus

  • Inner table output to Excel with colored cells?

    Hi! I would like to output my inner table into Excel ducoment. And it is important to have Excel document with colored cells. I have searched for this solution, but could not find... Any help will be awarded! Kind regards, M.

  • SQL query / binding issues within dreamweaver

    Not sure if anyone has had this problem, but its getting annoying.. when i execute this within SQL it returns all the values requested. If i execute it within dreamweaver to show me what results i will get back it works there.. but after i bind the f

  • Max  date in analytic function

    I have records that has repeating load dates. I would like to pick the records that has the maximum load_dates. My source data looks like this - ( select 60589 as C_number, to_date('01/08/2012','DD/MM/YYYY') as load_dt from dual union all select 6076

  • Some commited figure is showing in Item master data

    Hi, why  some commited figure is showing in Item master data in Inventory TAB . Its showing only Raw materials and Finish Goods items. Others inventory items are okay. Regards, Mzian