Print a report to a specific printer from Forms

I have a form from where i want to print a report to a specific printer (not the default printer). Is there any way to do this from Forms 9i. Im using the Orarrp but it pops up the printer dialog and shows the default printer. Is there any way to harcod the printer name. the printer is on the network..

If i go to my control pannel and see the list of printers i take the printer name from there. should i put the path of the printer? i kno the port of the printer .it come like ip_192.1.11.1_p1 ..how do i define the printer name? if i dnt give the printer name shouldnt if fire to the default printer ..my code is as follows
declare
REPID REPORT_OBJECT;
V_REP VARCHAR2(100);
REP_STATUS VARCHAR2(20);
BEGIN
REPID := FIND_REPORT_OBJECT('CUS_PRINT');
SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_EXECUTION_MODE,BATCH);
     SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_DESTYPE,PRINTER);
     SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_SERVER,'test');
SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_OTHER,'P_CUSREF='||:CTRL01.CUSREF||' PARAMFORM=NO');
     MESSAGE('SET REPORT PROP');
V_REP := RUN_REPORT_OBJECT(REPID);
REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
MESSAGE('RAN REPORT');
WHILE REP_STATUS IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
     REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
END LOOP;
     IF REP_STATUS = 'FINISHED' THEN
          IF NVL('TEST',' ') <> ' ' THEN
          GEN_ALERT('NULL_ALERT','TEST');
          END IF;
          ELSE
     GEN_ALERT('NULL_ALERT','Error when running report');
     END IF;
END;
what should the desformat of the report should be..when im trying to run this it gives me 'no data found' error...why???

Similar Messages

  • Print crystal report to a specific printer tray

    Greetings -
    I need to print out a report to a specific printer tray, can you please let me know how I set it up?
    Thanks,
    Lava

    Hi Lava,
    According to what I can understand you would like to print the Crystal Report to a specific printer.
    In order to print the crystal report to a particular tray of a printer you need to set the printer from the Crystal Reports application.
    This can be done from u201CFileu201Dmenu->Print. Select the printer if it is already added else you can add anew printer.
    I hope this helps you.
    Regards,
    Prashant.

  • 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

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

  • 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

  • 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

  • How Can I print Oracle Report 9i directly To Printer on the local network?

    Dear All;
    How Can I print Oracle Report 9i directly To Printer on the local network?
    or to any other computer ? or to my default printer without prevoiues know the printer name i mean found it in my connected printer?
    plear help me?
    Best Wishes

    1. Check documentation for DESNAME and DESTYPE
    2. See 1 as long as they are a shared resource
    3. Think you must know the name, but please check or documentation
    Regards,
    Martin
    PS. There's a Reports Forum here which would be a better option for posting this question

  • Print crystal report without using the print button on toolbar

    Hi,
    I am working on Crystal report XI. I need to print the report w/o using the toolbar. So I have inserted a print icon in the report. On clicking that icon it should call a jsp page which will print the report. I am not able to call any print methods provided by JRC to do this.
    Can someone help me with this problem.
    Is there some other way to implement it ?
    Thanks
    Message was edited by:
    CR_newbie

    Print the report where? On what printer? The server's printer?
    Java code runs on the server. You can't affect the client's computer from JSP.
    You can write javascript code which can call window.print() but that is working through the browser to display the print dialog box (as if the user selected file:print)

  • Printing a report and using the print dialog for it

    i already have the print dialog vi from NI. I am using the normal report generation toolkit for printing reports. But I want to give the user an option to choose the number of pages and landscape/portrait options. But how do I integrate the 2 so that before printing the user can select these features.

    There is an activeX control that will set these settings. It is called IAS Helper COM Component 1.0 Type Library. It operates the Windows printer configuration program. Since another company wrote the code, I do not have the resources to help you use the control, but the attached example program should get you started.
    Jeremy Braden
    National Instruments
    Attachments:
    Print_Window_Example_v61.llb ‏59 KB
    Print_Window_Example.llb ‏59 KB

  • How to print a report on local/network printer(Sample Code)

    Hi forms Gurus,
    I'm looking for sample code witch allow to print report on local/network printer from Forms builder.
    Plz help! it's very important.
    TYAG.

    Armand,
    for Forms and Reports 9i, the only chance is to configure the printer as a network printer that is accessible to the Reports Server. In this case pass the printer's network name as desname and destype=printer as the Reports destination (e.g. desname=\network\printername destype=printer).
    Alterantively, there exist an unsupported utility orarrp that you can get from the otn.oracle.com/products/forms web page.
    Frank

  • Printing APEX reports directly to the printer

    Hi All,
    Last few days I have been following forum quite often to get the post which could match my requirements, but in vain. I would appreciate if I can get assistance with this.
    I want APEX application to print a specific report (when 'print' clicked) to printer directly instead of showing the PDF itself.
    As a matter of fact this system will be hosted on a TOUCH SCREEN system for users, and the requirement says it should be as user friendly (as much as it can). I want few reports which as specific to that employee to be printed directly without showing the details to the user.
    I already have Print server configured (BI publisher)
    Thank You in advance.
    Afaq Ayub
    [http://www.afaqayub.com]

    Thanks for your comment. May be i phrased my statement wrong. As you said, definitely this is not the solution but a work around to my problem using 3rd party. This is the reason why i did not mention this solution on forum and said that its a "*work around*". This was a requirement and I had to get it any how quickly (time constraint) using free application. Meanwhile, i am also looking around if something like this could be done in Web Pages. Please let us know when you come up with solutions.

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

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

  • Print Web report and don't print text but print frames

    Hello , I am running a report by web browser, everything is ok and I can see that, now I want to print it so I put DESTYPE = printer and DESNAME =\\machine\printer then, when I print the report there is no mistakes but I dont know why I get a page without any character .. The frames print ok! all print ok but not the text, I test using diferent colors for the text but nothing .. could you help me please? this is really strange :( there is no message of error.

    Also I for got .. This is the configuration :
    Oracle IAS Release 1
    Oracle8i Enterprise Edition Release 8.1.7.2.0 - 64bit Production
    Windows 2000 Server
    Report Builder 6.0.8.11.3
    The printer is HP LaserJet 8000 Series PS
    8000 Series PS-172.20.6.100
    I have a very simple report that works fine
    for example if I put this link:
    http://pelma1w2dws03/dev60cgi/rwcgi60.exe?hidden_run_parameters=np_sr_lov_choose_showrooms&destype=cache
    I can see my report in web without any trouble
    but when I try to print:
    http://pelma1w2dws03/dev60cgi/rwcgi60.exe?
    hidden_run_parameters=np_sr_lov_choose_showrooms&destype=printer&desname=\\PELMA1W2PCS04\PELMA1PIT0601
    then I received a message of print succesfully but when I see the print
    there is no text, it print images, frames, and there is an space where I expect the text but there is no text and no messages of error.

  • Print ALV report Directly - without the Print Parameter POPUP

    Hai All,
    I want to print a ALV directly to the printer without the Print Paramter POPUP.
    I passed on IS_PRINT parameters in the FM 'REUSE_ALV_LIST_DISPLAY'.
    But still i am getting the popup.
    How to do this.
    It is urgent .
    Kindly help me solving this.
    Vikki.

    Hi,
    i have passed IS_Print-Print = 'X'.
    But even after that i am getting the print parameter popup.
    IS there any other way to handle this. TO SUPPRESS THE PRINT PARAMETER POPUP.
    Please guide me.
    Waiting for ur replies.
    Vikki.

Maybe you are looking for