Forms-Reports Web : Direct print a file to a local printer

<p>For those people who are searching a solution to print their PDF Reports from the AS to a chosen local printer, let see this great Direct Print Java Bean from Casey Bowden.</p>
Francois

Hello,
If anyone is using DirectPrint java bean, maybe you can help us with this problem.
The issue we are facing is when we are printing Oracle reports that have non-standard colors.
For example, if field has light gray background it prints black instead. If field has black background and white text it prints black only, no text.
If field or frame line color is specified as anything but “No Line” (even as white), it prints black line color.
So even though report displayed on screen as PDF looks completely normal, when sent to the printer unfortunately does not.
Any advice would be greatly appreciated.
Thank you

Similar Messages

  • Printing report to direct print 9i

    Hi,
    I am able to direct print the reports on web using normal parameters...i.e. desname, destype and desformat.
    When it prints successfully, it gives us a message in a separate browser window "The report has been successfully printed out"
    And we don't want this message. Can anybody tell me to suppress this window and message ?
    Command:
    WEB.SHOW_DOCUMENT('/reports/rwservlet?
    report=REPORT.rdf&userid=scott/tiger@ora&
    P_DEPTNO='||:EMP.DEPTNO||'&
    desformat=htmlcss&destype=printer', '_blank');
    Thanks,
    Martonio.

    Martonio,
    if you use RUN_REPORT_OBJECT() built-in in Forms to print Reports then you don't have this problem.
    If you request the Report directly from a Web browser, not using Forms at all, please ask the same question on teh reports forum here on OTN.
    Frank

  • How to generate report output directly to a file

    Here's the issue...
    We have several instances of queries that will run for a long time ( because they process a lot of data)...which are then intended to be exported to .csv files
    So far, we run these as reports...they'll run...and they export the data to csv files...which seems to result in the query rerunning all over again going to a csv file this time...
    Any recommendations/suggestions to directly go to a flat file instead of screen first...file second
    Thanks

    Your query is executing again b/c you haven't fetched all the rows to the grid(s). If you want to prevent the pain of the 2nd query execution for the export, then scroll to the bottom of the data grid before you do the Export. This will consume more memory, but it will save you the effort of running the query again.
    You could also try using SPOOL and the /*csv*/ sql developer hint.
    SPOOL c:/your_file.csv
    select /*csv*/ * from ...
    Execute via F5
    The main limitation here will be the number of lines returned by your query as we default the max rows to print in a script to 5,000. That's a preference you can change though.
    [http://www.thatjeffsmith.com/archive/2012/05/formatting-query-results-to-csv-in-oracle-sql-developer/]
    Edited by: JeffS on Aug 13, 2012 10:10 AM

  • Saving Offline PDF form from Web-Dynpro with Dynamic File Name

    Hello All,
    We have a offline PDF form.... When we save the form, a default file name appears. We need to change this default name to some value that is already available in the form fields.
    I have gone through some posts in the forum. However not able to figure out the solution.
    Following are the details:
    1. Web-Dynpro used : ABAP Web-Dynpro
    2. Form Type: Native
    3. Offline Editable form
    Regards,
    Kunjal Patel

    Hi Rajesh,
    I have not yet found a solution....
    Also as you have seen no one is replying.....
    All,
    Should we consider that this issue does not have a specific solution?
    Regards,
    Kunjal

  • Convert web content to pdf file

    I would like to know if adobe has a service or option to convert web content to a pdf book. I done it manually but it's taking a lot of time.
    My questions :
    If I export the web content in word or excel format can it be converted into a pdf ?
    Is there any other solution/ software ?
    Brgds

    How are you currently doing it? Have you tried Web Capture? If not:
    Acrobat 9: Advanced > Web Capture > Create PDF Form/Append Web Page
    Acrobat 10: File > Create > PDF from Web Page

  • How to issue print command from report/form server to client printer on web

    1) We have a client server application which is to be deployed on the web environment. The reports generated in our application are having a destination type as File. These reports are printed after applying some print format (escape sequences) which are passed on to the printer programmatically at runtime while printing.
    Now when this application is shifted on to the Application server (Forms server & Reports Server )in web environment ,the report outputs would be generated in the application server as against the client in client server environment as the report server is on the application server.
    Now while printing/accessing the report the output file will not be available to the client unless it is pushed on to the client side from the server . I am able to see reports in pdf/html output but in this case layout of my reports gets changed and I dont want to change my layouts or reformat my report layouts.
    How do I redirect the report output from the application server on to the client within the D2k context and then execute print commands?
    Note: In this case we want to use both DMT and Laser printing. Also note that we use escape sequences to adjust reports in desired printing papers.
    2) We have second set of reports which we call as document because these are printed after capturing data from 'Form' using text_io utility (please note that for these documents we are not using any Report 6i functionality)and we print it from file using printing mechanism as mentioned above. These are working well in client server application. We adopted this methodology for getting better performance (in terms of speed as database server and network traffic is not involved) of printing. But now we are converting our application for web, we are finding it difficult how to capture Form's data from browser to client's machine and then executing printing commands which are stored in our application liabrary.
    If you help me out by giving some suggestions, I shall be grateful to you.
    null

    Hello
    I wonder if you ever solved this problem.
    I have a very similar problem with Photoshop CS5 on Mac OSX 10.6 + HP Photosmart C7180.
    If I choose "Photoshop Manages Colors" the results are lousy.
    If I choose "Printer Manages Colors" the results are OK. not necessarily great.
    I believe I have all the correct settings after going through books and web advice (and wasted a lot of paper and ink).
    As far as I can see, "ColorSync" is the internal Mac management which is the only option available with "Photoshop Manages Colors" and "Vendor Matching" appears to mean the printer vendor (ie HP) will provide the matching. Either can be selected if "Printer Manages Colors" is used. It seems the type of paper can be set in three different places. if That's all a bit academic as the results are poor regardless.
    My wife suggests I buy a new printer - Epson's looking good.
    Any words of wisdom would be appreciated.

  • Report output directly to printer on web

    I am using Forms 6i & Reports 6i to build an application.
    I run report from forms 6i using Run_Report_Object (Output to
    printer).
    It works fine when using Client/Server.
    But When on the web the output of report to printer goes to the
    printer of the server instead of printer of the client.
    I want to print the report from the printer of client who
    requested the report directly.
    Please help me out.
    Thanks
    Zulqarnain

    Stephen,
    use destype=printer and desname=<network printer>. The format by default is set to postscript.
    Frank

  • 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

  • Report output directly to printer when running on web

    I am using Forms 6i & Reports 6i to build an application.
    I run report from forms 6i using Run_Report_Object (Output to
    printer).
    It works fine when using Client/Server.
    But When on the web the output of report to printer goes to the
    printer of the server instead of printer of the client.
    I want to print the report from the printer of client who
    requested the report directly.
    Please help me out.
    Thanks
    Zulqarnain

    Stephen,
    use destype=printer and desname=<network printer>. The format by default is set to postscript.
    Frank

  • Direct Print a webi report, from InfoView

    Hi,
    I want to direct print a webi report after I open it with InfoView, but i don't know if it's possible.
    Right now, when I open a webi report in InfoView I have a button saying "Print to PDF", which will open that report as a PDF document.
    But I want to print directly to a printer and not to open the report in a pdf viewer.
    Is there a way to have a direct print button in InfoView for webi documents ?
    Thank you.
    Eugen
    Edited by: eudor2000 on Jun 3, 2010 7:49 PM
    Edited by: eudor2000 on Jun 3, 2010 7:49 PM

    Hi Eugen,
    At this point it is not possible.
    Here is SAP Notes which clearly state that SAP BOJ is aware of it and got several enhancement request and these requests are reviewed every six months. Since these requests require major changes in the software, SAP BOBJ has not given any time frame of availability of this feature.
    Here is SAP NOTE: 1345933
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3133343539333326]
    Regards,
    Bashir Awan

  • Directly print out a report

    I make a form and a report.I try to directly print out it.but before the result print out,a html coding print out. How to print only the result of the report?
    The below is the procedure in the Form.
    PROCEDURE sendparam1 IS
         report_id                              Report_Object := FIND_REPORT_OBJECT('SHSEL_DAILY_FUNCTION');
         report_server_name     varchar2(100) := 'repfodbopera';     --Report Server Name (repseokyooperawebopera/repfodbopera)
         report_format                    varchar2(20)     := 'PDF';                              --Report Type
         report_destype_name     number                    := PRINTER;
         report_file_name          varchar2(100)     := 'SHSEL_DAILY_FUNCTION';     --Report File Name
         report_otherparam          varchar2(2000):= 'paramform=yes';     
         report_servlet               varchar2(100)     := '/reports/rwservlet';
         report_folder                    varchar2(100)     := 'M:\micros\opera\production\runtimes\';     --Real Report File folder(http://fodb/webtemp/opera/)
         pdf_folder                    varchar2(100)     := 'M:\micros\opera\operaias\webtemp\opera\';     --Real Report File folder(http://fodb/webtemp/opera/)
         report_message               varchar2(100)     := '';
         rep_status                         varchar2(100)     := '';
         vjob_id                                   varchar2(4000):= '';
         hidden_action                    varchar2(2000):= '';
         v_report_other               varchar2(4000):= '';
         report_user                         varchar2(100)     := 'OPERA/OPERA@OPERA';     --Opera DB
         resort                                   varchar2(20)     := 'SHSEL';                    --SEOKYO               
         PMS_ID                                   varchar2(20)     := 'OPERAREP';
         PMS_PW                                   varchar2(20)     := 'OPERAREP';
         v_time varchar2(10) :='';
         v_pdf_name varchar2(200):='';
    Begin
         --message(to_char(sysdate,'mmddhhmiss'));
         v_time:=to_char(sysdate,'mmddhhmiss');
         v_pdf_name:=report_file_name||     v_time||'.PDF';
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
    -- SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,report_folder || report_file_name);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,report_server_name);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,report_destype_name);
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,report_format);
         --SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,report_folder ||report_file_name||     v_time||'.PDF');
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'OfficePrt'); --&#54532;&#47536;&#53552; &#51060;&#47492;
         hidden_action := hidden_action || '&report=' || GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME);
         hidden_action := hidden_action || '&destype=' || GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE);
         hidden_action := hidden_action || '&desformat=' || GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT);
         hidden_action := hidden_action || '&userid=' || report_user;
         hidden_action := hidden_action || '&desname=' || GET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME);
         v_report_other := v_report_other || 'P_REPORT_DATE=' || :TXTREPORTDATE;
         v_report_other := v_report_other || '&P_END_DATE=' || :TXTREPORTDATE;
         v_report_other := v_report_other || '&P_RESORT=' || resort;
         v_report_other := v_report_other || '&P_USER=' || PMS_ID;
         v_report_other := v_report_other || '&P_PASSWORD=' || PMS_PW;
         v_report_other := v_report_other || '&P_REPORT_NAME=' ||report_file_name;
         v_report_other := v_report_other || '&P_BUSINESS_DATE=' || :TXTREPORTDATE;
         hidden_action := hidden_action || '&' || v_report_other;
         hidden_action := report_servlet || '?_hidden_server=' || report_server_name || hidden_action;
         SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'pfaction=' || hidden_action || ' ' || report_otherparam);
         report_message := run_report_object(report_id);
         rep_status := report_object_status(report_message);
    While Rep_Status In ('RUNNING','OPENING_REPORT','ENQUEUED') Loop
    Rep_Status := Report_Object_Status(report_message);
    message('status : '||Rep_Status);
    End Loop;
         if rep_status = 'FINISHED' then
              --message(rep_status);
              vjob_id := substr(report_message,length(report_server_name)+2, length(report_message));
              Web.Show_Document(hidden_action,' _blank');
              --Web.Show_Document('../../webtemp/opera/'||v_pdf_name,' _blank');
              --Web.Show_Document(report_servlet || '/getjobid' || vjob_id || '?server=' || report_server_name, ' _blank');
         else
              message('Error');
         end if;
    end;

    I can print out the report but the html page as the below is printed before the report.
    Why is the html page printed ? and I don't want to print out the html page.
    <html>
    <body dir=LTR bgcolor="#ffffff">
    <form method="hidden_run_parameters" type=hidden value="server=repfoopera&rep......
    Message was edited by:
    asterika

  • Is it possible to give Direct print of Excel format XML Report

    Guru,
    As far my understnading Excel Format reports are not supported for direct print in EBS,
    I could see the following error in CM request logfile and came across couple of metalink Note :  387104.1 & 1317314.1
    However iam not sure on this functionality .
    Please provide your experience on this case.
    <stdin>: File does not begin with '%PDF-'.
    lp: stdin is empty, so no job has been sent.
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 1.

    Hi,
    Initially I get the Form Name by calling FM: SSF_FUNCTION_MODULE_NAME and I store it in l_fm_name. now calling the FM: l_fm_name like below:
    LOOP AT i_item INTO wa_item.
    CALL FUNCTION l_fm_name
              EXPORTING
                wa_item                    = wa_item
             EXCEPTIONS
               formatting_error           = 1
               internal_error             = 2
               send_error                 = 3
               user_canceled              = 4
               OTHERS                     = 5.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
    ENDLOOP.
    As I have multiple form need to print, I am calling the smartform in loop.

  • How Can I print directly the report from the printer without showing it ?

    I know how to run the report from Form as it illustrate on this site:
    http://www.lv2000.com/articles/runreport.htm
    but the question here how could i to generate the report directly to the printer without showing it on the screen???
    I search on the net and I find that I should change this line :-
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE, cache);
    to this
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE, printer);
    but it is not working with me :-(
    is there any suggest ?!

    Check if any of these helps
    Re: Direct Printing in Forms10g
    Web.Show_Document() print report directly
    Direct Printing from client PC

  • Parameter form in web reports

    Hi All !!
    I developed developer report(reports 6.0) and deployed it on web.Reports are made in character mode so that it can be stored in ascii format.our requirement is that output can be stored in ascii file on remote client M/C.
    If I go to http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile
    then as destype is local file so client can store it in notepad on his M/C.
    In the case of report is having parameters then I go to URL : http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile+paramform=YES
    My problem is :
    As destype in parameter form can have one of the four value(cache,file,printer,mail) so I
    can't select localfile as a option in this case.
    Is there any way to include localfile in the option of DESTYPE system parameter of Developer reports.
    Thanks in advance

    Hi All !!
    I developed developer report(reports 6.0) and deployed it on web.Reports are made in character mode so that it can be stored in ascii format.our requirement is that output can be stored in ascii file on remote client M/C.
    If I go to http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile
    then as destype is local file so client can store it in notepad on his M/C.
    In the case of report is having parameters then I go to URL : http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile+paramform=YES
    My problem is :
    As destype in parameter form can have one of the four value(cache,file,printer,mail) so I
    can't select localfile as a option in this case.
    Is there any way to include localfile in the option of DESTYPE system parameter of Developer reports.
    Thanks in advance

  • Direct Print Issue IN Crystal reports IN IE(8,9,10)

    Hi All,
           I am an software developer using Dot Net and I am facing an issue in direct print in crystal report viewer in IE and i tried many setting.

    Dell is absolutely correct. However there is an issue with the CAB file for 'Crystal Reports Basic for Visual Studio 2008' (v. 10.5). The issue is documented in KBA: 2000455 - Unable to download the CR 10.5 PrintControl cab file. The KBA has not been yet replicated to SCN, so here is a copy of the content:
    Symptom
    Using Crystal Reports Basic for Visual Studio 2008 (V. 10.5.x)
    When attempting to download the PrintControl.cab file the following errors are displayed:
    A communication error occurred: "Operation timed out"
    The Web Server man be down, too busy or experiencing other problems preventing it from responding to requests.
    Internet Explorer cannot display the page
    Environment
    Crystal Reports Basic for Visual Studio 2008 (v. 10.5.x)
    Visual Studio 2008
    Cause
    The published URL (http://support.businessobjects.com/CRforVS2008/PrintControl.cab) is now incorrect
    Resolution
    Use the following URL: http://resources.businessobjects.com/support/downloads/microsoft/vs_2008/printcontrol.cab
    An alternative may be to use the Print PDF mode, though if memory serves right that was a cumbersome solution and is much better with CR 2008 (v. 12.x) and later.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for