Printing from forms 5.0

Hello,
I need to print a form that contain:
Lines, logo and box around the text.
I don't know oracle report.
Can I do it with oracle forms 5.0?
Thanks
RA

Yes,
Create a button , in the when-button-pressed trigger write PRINT;. This will do the screen print. Else you can create a report using oracle reports.

Similar Messages

  • Detecting  printer from Form 5

    I need to detect the default printer from Forms 5. Do you have any idea how to do this ?
    Please respond as soon as possible.
    Many thanks

    Note that this is a 6i version, but the code will backport to 5.0 - you'll need to convert the PLL to a PLD in 6i and then reverse the process in 5.0

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

  • Print report to client printer from forms

    Hi,
    I need to print a report directly to a client printer.
    There is a utility called ORARRP - Oracle Reports Remote Printing Utility.
    But the document I saw was from Oct 2001 - so is this still the only and best option ?
    I'm using RUN_REPORT_OBJECT in forms to launch the report.
    This works fine when the DESTYPE is FILE and DESNAME = PDF
    The PDF-outputt is then successfully shown with WEB.SHOW_DOCUMENT
    When changing DESTYPE to PRINTER and DESNAME to clients printername then report won't run. "Report filed with error message TERMINATED_WITH_ ERROR".
    Is it possible to print directly to a client printer using RUN_REPORT_OBJECT ?
    (Our client printers are not networkprinters)
    Environment:
    Forms [32 Bit] version 9.0.4.0.19
    Report Builder 9.0.4.0.33
    Reportsserver on linux
    Thanks !
    Sam

    (Our client printers are not networkprinters)This means you cannot print from the server directly on the client printer with destype=printer, since the server cannot see the printer.
    So, a manual print command by the user from the browser or the orarrp utility are your options.

  • Reports 9i Printing from Forms with WEB.SHOW_DOCUMENT

    I want to print a Report from Forms via WEB.SHOW_DOCUMENT directly to the printer and it works fine.
    But every time i print it from my web application a new browser-windows opens and shows a message "Printed successfully" or something like that. If I start the printjob again nothing happens - if I press the Browser-Refresh-Button in the new Browser-Windows with the Message ("Printed Successfully") it prints.
    So now I have 2 questions:
    a) How can I disable the "Printed successfully"-Message
    b) What hava I to do that I not must press on the Refresh-Button to start the printing again
    I hope I hava explained my problem clearly. 4
    Here ist the complet WEB.SHOW_DOCUMENT-Command I fire in Forms when a Button is pressed:
    WEB.SHOW_DOCUMENT('http://mymachine:8888/reports/rwservlet?report=testreport.rdf&destype=printer&desname=\\NTS32\VZ_D3&desformat=html&userid='|| sUser ||'/'|| sPW ||'@'|| sDB,'_blank');      
    Many thanx for your help!
    Regards
    Marc

    Hello,
    for the problem:
    b) What hava I to do that I not must press on the Refresh-Button to start the printing again
    may be it just a setting in your Browser ?
    For Internet Explorer :
    go to I.E General Options screen. click on settings button and choose
    "Every visit to the page " option.
    Regards

  • Error when sending report output to printer from Forms 10g

    Hi,
    I have a simple report that I am running from a form using run_report_object built-in. I can successfully send the report output to a file but when I send the report output to a printer my report is
    terminated with report status of 'TERMINATED_WITH_ERROR'. I am using the default forms service and reports server that comes with the forms builder. How do I specify the reports server to user my default network printer ?Following is the code that runs my report.
    Thanks,
    Anna
    PROCEDURE SEND_TO_PRINTER IS
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(50);
    rep_server system_variables.reports_server%type;
    alldone          exception;
    BEGIN
         select reports_server
         into rep_server
         from system_variables;
         if rep_server is null then
              msg_alert('Error getting the reports server name', 'I', FALSE);                
              raise alldone;
         end if;
         :ctrl.run_report_errors := 'N';                    
         repid := find_report_object('REP_OBJ1');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,rep_server);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
         IF :ctrl.rg_print = 'P' THEN
              --Send the output to printer.
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,PRINTER);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'dflt');
         ELSIF :ctrl.rg_print = 'R' THEN
              --Rich Text Format
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'rtf');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,:ctrl.filename);
         END IF;
         v_rep := RUN_REPORT_OBJECT(repid);
         rep_status := REPORT_OBJECT_STATUS(v_rep);
         WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
              rep_status := report_object_status(v_rep);
         END LOOP;
         IF rep_status = 'FINISHED' THEN
              null;
         ELSE
              :ctrl.run_report_errors := 'Y';
              msg_alert('Error when running report.' || rep_status, 'I', FALSE);           
         END IF;
    EXCEPTION
         when no_data_found then
              msg_alert('Error getting the reports server name', 'I', FALSE);      
         when alldone then
              null;     
    END;

    If you use Windows the user that runs the reports server is usually LocalSystem. Check this in the Windows Services panel.
    LocalSystem has no printer access. To be able to print, you have to use a real domain user that has access to the printer. So, change the Log on properties in the Services panel.

  • Print report from form

    Hi,
    I want to set printer that can print the number of page I want, ex: I have 100 page and I just want print 50 page. The report printed from form or runtime preview.
    I don't know how I start that
    Thanks

    Hi...
    See the URL
    How i select printer in Forms9i
    Really the the solution is "ridicula"
    Forms not have a solution printer for Reports...
    Regards
    Hector Ulloa Ligarius

  • Printing in Forms 9i

    I hoping to get some help here. I was wondering if ANYONE has had a need to print from Forms 9i to a SERIAL printer. I've tried to use Sun's Java Comm API with out any luck. I'm under the gun here to get this working and looking for some advice, or code. In forms 6i it was easy in client/server deployment, but now forms doesn't support client/server... just web... PLEASE HELP!

    Don,
    what kind of printing is it that you need. If it is the support for the print built-in in Forms, then this should work on the Web as did in client-server. I am saying should because Forms depends on the Browser environment and in te past printing in Netscape was broken. Would it be an option to print through Oracle Reports Services?
    Actually we are still looking for some smart way to e.g. have a document created on the server and get this printed on a local printer on teh Web. With Forms6i we were proposing a utility called orarrp that we never fully supported and that proved to be errorprone (however it did the job somehow). We are still looking into this kind of support, but as you experienced it, its not an easy thing to do.
    Fran

  • Print PDF from Forms

    Hi
    I wonder if anyone can help. We're running Forms 10.1.2.30 against an Oracle 10.1.0.5.0 database using IE8 on Windows XP and Windows 7 clients.
    We generate utility bills using Oracle Reports. These work fine at the moment as we print these reports directly to the printer from Reports. However, we now need to perform some post processing to the bills so I would like to produce the bill to a PDF, perform some post processing and then send the PDFs to the printer on batch.
    Does anyone have any tips on how to send the PDFs to a printer on batch? I can host it out to Acrobat using the undocumented/unsupported /t option, but I would rather not rely on third party software (especially undocumented/unsupported features).
    I've found a link to the Oracle Forms PJC/BEAN - PDF Project, but I cannot download the file. Something to do with the download site been seized by the FBI!
    https://sites.google.com/site/jvrpdfproject/version-1-5-2-english
    Thanks in advance.
    Neil

    Hi.
    What mechanism do you use now to send a PDF to printer? Do you have each printer defined on middleware (application server) or you download pdf from application server an print it localy?
    Best Regards
    Gregor

  • How can print a report from form 6i,  when I press a button?

    hi Friends,
    How can print a report from form 6i, when I press a button?
    When i press a button from Form 6i, the report should print through printer.
    I have done it by using report parameter DESTYPE Printer but problem is that when I press a button printer dialogue box appear and then I give command Print to printer, I don’t want to show Printer dialogue box.
    I want when I press a button form Forms 6i , printer will print my report directly.
    Please send me the solution of this problem.
    Best regards,
    Shahzad

    Hi
    If You are using Client server application then to passing to Add all Print Parameter in the Host Command.
    Means Print command in unix to Host(lp.............) and Other Parameter to file name of the report to print.
    If You not Use Client Server Application the Also Passing a Host Command in Button-Pressed Event and Run.

  • Printing a report from Forms 9i

    Hi all
    I have to print a report from Forms 9i, but I can't do it directly, I have to execute it with desname = preview and then I can print it.
    I use the following sintax
    RUN_REPORT_OBJECT_PROC(repid, v_server_name,'pdf',printer,v_path,v_report,'paramform=no'|| other parameter....,v_servlet)
    where v_path is the name of the printer and run_report_object is a procedure to execute reports into forms
    I try to set v_path with the printer name on my client and on the server.. but it doesn't find it...
    Please help me,
    Thanks in advance
    Antonio

    Hi all
    have any one some information about ORARPP (Oracle Reports Remote Printing) ???
    I should print directly, my desname should be a printer.... could any one help me???
    Thanks in advance for your support...
    Antonio

  • Printing a report from forms

    I would like to print a report from forms without opening reports first. Is this possible and if so how?

    From a command-line or .BAT file (assuming Windows and Developer6i) run the following (on a single line). It will go to your default printer.
    <ORA_HOME>\bin\rwrun60 <report>.rdf userid=<user>/<pw>@<hoststring> destype=printer batch=yes
    null

  • Print a File from Forms to a Printer connected to USB Port

    Hi All,
    I have a printer connected to the USB port to my local machine.
    I access web application Forms 9i AS and try to print a report on my local printer.The report is opened using web.show_document in the Internet explorer browser window. There are several pages in the report and i need a page break to be recognized on each page. For remote printing i tried using ORARRP utility but it does not print from a printer connected to a USB port. But it works when the printer is connected to a parallel port.
    How do i achieve this, please share your thoughts on this and solution as well if this is feasible
    Expecting a favourable reply from the forum users.
    Thanks in advance

    WEB.show_document is mainly for running a report that you want to display in a browser but you can still use it to create a file in the report server even though I would recommend to use RUN_REPORT_OBJECT instead ...
    You can take a look at metalink note 207396.1 - How to Run Reports From Forms 9i / 10g Using RUN_REPORT_OBJECT.
    It appears you are already using it since WEB.show_document in your case is just used to retrieve the output from a job that was previously run, most likely with RUN_REPORT_OBJECT.
    Can you post the code used to run the report ? It will be easier to convert it to generate a file if we have it..
    The file name you assign it when you call the report (DESNAME=d:\mysharedfolder\mytextfilenameyyymmddhhmiss.txt) so that it is unique and you delete it after the report is printed, webutil can give you a private folder for the user in the application server, in case the data is sensitive, you would run the report with DESTYPE=FILE and MODE=CHARACTER.
    You would need two folder locations, one in the application server, webutil can help you with that, and another one in the client PC, it could be the C:\TEMP folder if you will ...

  • Printing a report from forms that has a param form with orarrp 10g

    Hello,
    I have reports that i can successfully print from Oracle Forms using orarrp and web.ShowDocument(etc...) that do not have paraforms.
    However for my reports that have paraforms I have am unable to print them. Basically I need to catch the printer destype event from the paramform and execute some custom code based on the decision. Does anyone have any experience with this?
    Thanks

    I dont know if you want to explore this, but there is a better utility than orarrp that overcomes some of the drawbacks of orarrp.
    Perhaps it might solve your problem.
    check this out:
    http://forms.pjc.bean.over-blog.com/article-6621538.html

  • Just purchased a office jet 6500A Plus so that I can print from my iPhone and iPad. I can print form my iPhone but my iPad 2 tells me there is no air printer available.  Why does one device recognize the air printer but the other device does not?

    Just purchased a office jet 6500A Plus so that I can print from my iPhone and iPad. I can print form my iPhone but my iPad 2 tells me there is no air printer available.  Why does one device recognize the air printer but the other device does not?

    I have the 6500A without plus and it is with a LAN cable connected with my Router.
    First make sure you have the latest printer firmware installed.
    Next restart the printer and the Router.
    I had the same. Problem but it went away after rebooting the Router.

Maybe you are looking for