Webforms10g and printing

After migration from Forms6i to Webforms10g:
I do not know what is currently the best solution in web
if i do not want a preview of the report in the browser but directly print on the local printer?
- is there anything in webutil (like d2kutil) for printing?
- how can i manage a mass print?
especially if i want to control what paper box
of the printer is to be used
- any other help utilities?
thx

Peter,
this question definitively is the most wanted and unfortunately the most difficult to deal with.
In your case the solution would be to create a parameter form in Reports that contains a parameter "destype", which you create as a user parameter in Reports despite the fact that it is already available as a system parameter.
Make the parameter a list of values for the user to select from and default it to "Cache". If the value in the destype list is set to printer then the Report shoulc get printed to the network printer that you specify as the desname (maybe another list of values to add).
For mass printing and tray selection, the same commandline options avalable in reports today can be used (e.g. bursting ouptput). A tray selection again can be a parameter on teh parameter form.
I know that this suggestion is not best practice if we are talking about hundreds of Reports that need to be changed for this. The disclaimer to this hint also is that Forms/Reports 6i was the release I tested this suggestion with. If Reports9i/10g didn't change (e.g. not allowing to set destype as a user parameter) then this should still work.
Please also read
http://otn.oracle.com/products/forms/pdf/10g/frmrepparamform.pdf
sources available at:
http://otn.oracle.com/products/forms/pdf/10g/frmrepparamform.zip
Regarding the d2kwutil type of functionality, this requires Java 1.4 on the client, which we don't have available in JInitiator. You could use Java Plugin 1.4, but still need to write a Java Bean to get the client printer (and this then still needs to be a network printer configured on the machine hosting Reports Server).
I am looking for a better solution for printing Reports from Forms on teh Web, but so far technology isn't where I need it to be.
Frank

Similar Messages

  • HELP to Open and Print automatic a REPORT

    Hello, I'm a Portuguese Developer, and i've a challenge, that is, i want to open REPORT by FORMS in RDF format and i want to open and print automatic way, i do not want to open, and then have to go print button to pint them.
    I want to open by FORM way and print automatic and close imediatly.
    HEP ME PLEASE!
    Thank you

    Aslam o Alikum (Hi)
    Ofcourse you can do this by specifing system parameters like DESTYPE=Printer and DESNAME=PrinterName
    Replace PrinterName with you printer name
    See System Parameters in Reports Under Data Model

  • Is there a way to create a year at a glance with detail and print?

    Is there a way to create a year at a glance with detail and print?

    To do what Dave indicated you need to do, it depends on what version of Acrobat you have:
    Acrobat 8: Advanced > Enable Usage Rights in Adobe Reader
    Acrobat 9: Advanced > Extend Features in Adobe Reader
    Acrobat 10: File > Save As > Reader Extended PDF > Enable Additional Features
    Acrobat 11: File > Save as Other > Reader Extended PDF > Enable More Tools (includes form fill-in & save)
    I wonder what it will be next time?

  • Unable to schedule a report to email and print

    I have been working on a task to both print and email a report to recipients whose email addresses are obtained at runtime.  So far I am able to email the report as a PDF attachment, however, I am not able to get the report to print.  I have three thoughts as to why the report is not printing.
    1. The printer is in a subdomain under the domain where InfoView and the Enterprise server reside.
    2. It is not possible to schedule a report for both an SMTP and print destination simultaneously.
    3. The format is causing an issue in printing - the SDK API states "Printer is a report format specific destination and can only be used when the report object is a Crystal Report."
    I have looked at the scheduled report in InfoView and can see that the print settings I am passing are correctly set for the scheduled instance.  Does anyone know if there is a problem with trying to schedule printing and email at the same time, or if the report format must be .rpt?
    Below is my code. Thank you for your time.
    String query = "Select SI_ID, SI_NAME, SI_PROCESSINFO, SI_SCHEDULEINFO, SI_SCHEDULE_STATUS From CI_INFOOBJECTS Where SI_ID=" + reportId;
            IInfoObjects results = null;
            ISchedulingInfo schedulingInfo = null;
            try {       
               results = iStore.query(query);           
            } catch( SDKException sdke ){
               logger.error(sdke);
            if( !results.isEmpty() ){
                // get the actual report object from collection and set scheduling information
                IInfoObject report = (IInfoObject)results.get(0);
                schedulingInfo = report.getSchedulingInfo();
                schedulingInfo.setType(CeScheduleType.ONCE);
                schedulingInfo.setRightNow(true);
                schedulingInfo.setRetriesAllowed(3);           
                try {
                    Set<String> keys = destinations.keySet();
                    Iterator i = keys.iterator();
                    while( i.hasNext() ){
                        String dest = (String) i.next();
                        if(dest.equals(CrystalDestinations.EMAIL)){
                            // get the destination object and set it to SMTP plugin
                            List emailAddress = destinations.get(CrystalDestinations.EMAIL);
                            IDestination destinationObject = schedulingInfo.getDestination();
                            destinationObject.setName("CrystalEnterprise.SMTP");    
                            IDestinationPlugin smtpPlugin = (IDestinationPlugin) iStore.query("SELECT * FROM CI_SYSTEMOBJECTS WHERE SI_PARENTID = 29 AND SI_NAME='CrystalEnterprise.SMTP'").get(0);
                            ISMTPOptions smtpOptions = (ISMTPOptions) smtpPlugin.getScheduleOptions();
                            smtpOptions.setDomainName( emailDomain );
                            smtpOptions.setServerName( smtpHost );
                            smtpOptions.setSMTPUserName( smtpUser );
                            smtpOptions.setSMTPPassword( smtpPass );
                            smtpOptions.setSubject( "Email for report " + report.getTitle() );
                            smtpOptions.setMessage( "This is the message body" );
                            smtpOptions.setSenderAddress( smtpUser + "@cdrh.fda.gov" );
                            smtpOptions.setSMTPAuthenticationType( ISMTPOptions.CeSMTPAuthentication.LOGIN );
                            for(int j = 0; j < emailAddress.size(); j++ ){
                                smtpOptions.getToAddresses().add( emailAddress.get(j) );
                            destinationObject.setFromPlugin( smtpPlugin );                                                                               
    } else if ( dest.equals(CrystalDestinations.PRINT) ){
                            List printers = destinations.get( CrystalDestinations.PRINT );                   
                            IReportPrinterOptions printerOptions = ((IReport)report).getReportPrinterOptions();
                            printerOptions.setCopies(1);
                            printerOptions.setEnabled(false);
                            printerOptions.setPrinterName( (String)printers.get(0) );                   
                            printerOptions.setPageLayout(IReportPrinterOptions.CeReportLayout.USE_SPECIFIED_PRINTER_SETTING);
                    List reportPrompts = ((IReport)report).getReportParameters();
                    for(int j = 0; j < reportPrompts.size(); j++){
                        IReportParameter prompt = (IReportParameter) reportPrompts.get(j);                   
                        if(prompt.getParameterName().equals(mdrParamName)){
                          IReportParameterSingleValue v = prompt.getCurrentValues().addSingleValue();
                          v.setValue(reportParameters.get(mdrParamName));
                        } else if(prompt.getParameterName().equals(addressParamName)){
                            IReportParameterSingleValue v = prompt.getCurrentValues().addSingleValue();
                            v.setValue(reportParameters.get(addressParamName)); 
                    IReportFormatOptions format = ( (IReport) report).getReportFormatOptions();
                    format.setFormat(IReportFormatOptions.CeReportFormat.PDF);
                    iStore.schedule( results );

    Hi Jason,
    Based on your code, I could not tell if you were scheduling a Crystal Report or a WebI document.
    Regardless, what I would suggest is you try scheduling the report/document on InfoView.
    Once you schedule it on InfoView, you can retrieve the instance on Query Builder (or through code) and compare the properties that are being set through InfoView and the one you set through your code.
    This should indicate if you are missing some properies or have set some properties incorrectly.
    Hope this helps.
    Regards,
    Dan

  • Print from ipad if i connect a usb connector to my ipad can i connect my printer to it and print??as im thinking of buying the new ipad for work but i must be able toprint

    hi can any one help i want to get the new ipad for work but i need to print.i see i can buy a usb connector can i print if i plug my printer into the usb.

    If you have a USB printer connected to your computer, Mac or PC, you can activate or install AirPrint and print from your iPad over wifi without any special apps.
    Activate AirPrint in Mac OS X;
    http://netputing.com/airprintactivator/
    Add AirPrint to Windows;
    http://jaxov.com/2010/11/how-to-enable-airprint-service-on-windows/

  • Open and print pdf file through form 6i

    I want to run and print a pdf file through the form. Any suggestion please......
    thanks in advance....
    ifti

    you could try using the DDE package to open the file
    and then print from the actual file location using a host command.

  • Open and print a PDF from web

    I created an application to open a PDF and print it directly on the default printer. This application works if the file is a Windows' network address (example: \\192.168.0.4). But if I put an internet address (URL), the Acrobat Reader presents the following error:
    There was an error opening this document. The syntax of the name of the file, folder or name of the volume is incorrect.
    The command I'm using is:
    "C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe\" /t http: \\192.168.0.4:8082\test\file.pdf \\192.168.0.15\HPLaserJet
    There are print directly as a URL?

    >
    horatiusx wrote:
    > Hi all gurus.
    >
    > I developed a Web Dynpro application to let the users create their own sales orders.
    >
    > Now I need to let them print the orders when they need to. Searching on the documentation I have, I've never found anything about crating a pdf print from the WD Application.
    >
    > There must be a way, because I managed to do that even with the very old ITS (the one in which you had to write HTML code...) but i cannot find how.
    >
    > Can anyone help me please? Even a tutorial would be very appreciated.
    >
    > Thank you in advance...
    You need a Smartform, SAPScript, or AdobeForm to be defined for your output.  Define an action/method for print, then pass the data to your Form.  SmartForms are not bad, as SmartForms generate a Function Module, and are easy to call.
    Call the SmartForm Function with PDF output = 'X' (parameter within Output Control I think).  Then pass the PDF_DATA[] table (type = TAB_SOLIX) to a new window output .
    Don't have the code in front of me, but have done it several times.  
    Adobe Forms is another good option, but you need Adobe Server, and generally I have found ADOBE to be SLOOOOOWWWWW.  I think Steve Jobs might have been on to something with ADOBE -- just my opinion.
    And of course, it can be done with SAPSCript, but I would need a whole blog on how to do that.....

  • Pages - Share and Print - Email document issue

    I ran into an issue today on my iPad2 and wanted to see if it was just me or can anyone reproduce this error. If it turns out to be just me, someone help me undertand how to get around the issue. If it is more widespread, where do I report this so it can be resolved in an future release?
    Here is what happened.
    I received a Word document via e-mail. When I opened it in e-mail and chose to "open with Pages" it worked fine. Imported into Pages sans the font (which I've come to expect). Then I edited the document (it was a quick survey I was taking) and then was ready to send it back to the person who sent it to me. I chose the tools icon, selected "Share and Print" then selected "Email Document" and then chose Word as the format. It converted it and attached the file in a blank e-mail ready for me to address and send.
    Well, I wasn't ready to send just yet. So I clicked on "Cancel" and then "Save Draft" which it did successfully. Then I went into email, edited my "Draft" in my Drafts folder, addressed it, etc. and sent it on its merry way. Well, guess what? The file did not come through on the e-mail. Just my text.
    I tried "copy and paste" of the file after saving as a draft and it only sent the "picture" of the file ICON and not the file itself. I tried multiple times saving it as a draft and then sending and it never worked.
    If I send from within Pages right at the time after "Email Document" is selected, it works every time. It seems to only be when I save the email as a draft from within Pages that it will not send the attachment or something happens to the attachment. I did notice also, that if I edited any "text" from that draft and then saved the draft again, all my edited text wouldn't save either. So any "Draft" saved from Pages I couldn't edit regardless of any attempt.
    Draft saving and editing within the email application works as expected.
    NOTE: Just before submitting this discussion, I tried the above on my wife's iPad2 with the same results. Anything "saved as a draft" from Pages in e-mail, will not send the attachment. Anything sent directly from within Pages and not saving it as a draft, will send the attachment.
    There are times I would like to save it as an attachement, should this work? Thanks everyone!
    Edward

    I am only vaguely familiar with iWork.com. I know it is a cloud based way to share documents with others, but this is what the send to option does when you work with Pages, Numbers or Keynote on the iPad. I would assume that the function performs the same way in iWork.com. - but it is only an assumption.
    "Send to" is the command that will let you send that file to your computer the next time you sync with iTunes. It is the way the iPad transfers the file to your computer - the iPad method of file sharing. You can sync files back and forth from iPad to computer with file sharing as long as the app on the iPad is compatible with a similar application on your computer. In your case iWorks apps on both the iPad and your Mac.
    This article will explain it in great detail for you.
    http://support.apple.com/kb/HT4088

  • To upload a RTF and a PDF file to SAP R/3 and print the same through SAP

    Hi,
    I have a requirement to upload a PDF file and a RTF file to SAP R/3 and print the same.
    I wrote the following code for uploading a RTF file to SAP R/3 and print the same. However, the problem is , the formatting present in the RTF document( bold/italics..etc) is not being reflected when I do the 'print-preview' after the executing the code below :
    report z_test_upload .
    data: begin of itab occurs 0,
             rec type string,
          end of itab.
    data: options like itcpo.
    data: filename type string,
          count type i.
    data: filetype(10) type c value 'ASC'.
    DATA: HEADER  LIKE THEAD    OCCURS   0 WITH HEADER LINE.
    DATA: NEWHEADER  LIKE THEAD    OCCURS   0 WITH HEADER LINE.
    DATA: ITFLINE LIKE TLINE    OCCURS   0 WITH HEADER LINE.
    DATA: RTFLINE LIKE HELP_STFA OCCURS   0 WITH HEADER LINE.
    DATA:   string_len TYPE i,
            n1 TYPE i.
    selection-screen begin of block b1.
      parameter: p_file1(128) default 'C:\test_itf.rtf'.
    selection-screen end of block b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
      CALL FUNCTION 'F4_FILENAME'
           IMPORTING
                file_name = p_file1.
    start-of-selection.
    move p_file1 to filename.
    call function 'GUI_UPLOAD'
         EXPORTING
              filename                = filename
              filetype                = filetype
         TABLES
              data_tab                = itab
         EXCEPTIONS
              file_open_error         = 1
              file_read_error         = 2
              no_batch                = 3
              gui_refuse_filetransfer = 4
              invalid_type            = 5
              no_authority            = 6
              unknown_error           = 7
              bad_data_format         = 8
              header_not_allowed      = 9
              separator_not_allowed   = 10
              header_too_long         = 11
              unknown_dp_error        = 12
              access_denied           = 13
              dp_out_of_memory        = 14
              disk_full               = 15
              dp_timeout              = 16
              others                  = 17.
    if sy-subrc <> 0.
      message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    loop at itab.
      string_len = strlen( itab-rec ).
      n1 = string_len DIV 134.
      ADD 1 TO n1.
      DO n1 TIMES.
        rtfline-line = itab-rec.
        APPEND rtfline.
        SHIFT itab-rec BY 134 PLACES.
      ENDDO.
    endloop.
    HEADER-TDSTYLE = 'S_DOCUS1'.
    HEADER-TDFORM = 'S_DOCU_SHOW'.
    header-tdspras = 'E'.
    CALL FUNCTION 'CONVERT_TEXT'
      EXPORTING
      CODEPAGE               = '0000'
        DIRECTION              = 'IMPORT'
        FORMAT_TYPE            = 'RTF'
       FORMATWIDTH            = 72
        HEADER                 = header
        SSHEET                 = 'WINHELP.DOT'
        WITH_TAB               = 'X'
        WORD_LANGU             = SY-LANGU
        TABLETYPE              = 'ASC'
      TAB_SUBSTITUTE         = 'X09  '
      LF_SUBSTITUTE          = ' '
      REPLACE_SYMBOLS        = 'X'
      REPLACE_SAPCHARS       = 'X'
      MASK_BRACKETS          = 'X'
      IMPORTING
        NEWHEADER              = NEWHEADER
      WITH_TAB_E             =
      FORMATWIDTH_E          =
      TABLES
        FOREIGN                = RTFLINE
        ITF_LINES              = ITFLINE.
      LINKS_TO_CONVERT       =
    if sy-subrc <> 0.
    endif.
    CALL FUNCTION 'PRINT_TEXT_ITF'
      EXPORTING
         HEADER        = newheader
         OPTIONS       = options
    IMPORTING
      RESULT        =
      TABLES
        LINES         = itfline.
    if sy-subrc <> 0.
    endif.
    Any hints or suggestions to solve this problem will be highly appreciated.
    Thanks,
    Avra

    Hi Vishwas,
    Check out the thread [Efficient way of saving documents uploaded|Re: Efficient way of saving documents uploaded by users; and check the blog by Raja Thangamani.
    Also check the thread [Export Images through Function Modules   |Export Images through Function Modules;.
    Hope it helps you.

  • Is there a way in Pages to show and print all the added "comments?" (those you add by highlighting text)  I'd like students to be able to view my comments on printed version of their papers.

    Is there a way in Pages to show and print all the added "comments?" (those you add by highlighting text)  I am a teacher, and I would  like students to be able to view my comments on printed versions of their papers. I know word displays the comments off to the side of the document, and those comments can be viewed all at once and printed alongside the document.

    There doesn't appear to be a way to print conmments in either Pages or Numbers in the Mavericks versions.
    Jerry

  • Why cant I highlight part of a document and print only what is selected in safari?

    Why is it not possible to highlight and print the selection in Safari, thought the imac was supposed to do everything,  WRONG.
    I also have I.pad 2 and because it does not support adobe flash, I cannot open a magazine that I have each week, I have to do this on the imac, so when away from home it again doesnt do what I want it to.  Does everything people say.  WRONG AGAIN.
    Should have stuck with the laptop, it actually does do these things mentioned above.

    I purchased the iPad first and waited a year HOPING Apple would fix this problem OR at the least provide something comparable to WINDOWS!
    WRONG....and yes it is hard to believe for how ADVANCED Apple is.....that they don't have a simple easy program that allows you to HIGHLIGHT and PRINT ONLY what you highlight!
    But....they are making leaps and bounds.....at least you can now cut & paste....thats a good thing!?
    HOPEFULLY.......in the VERY,VERY NEAR FUTURE Apple will supply us with the simple software to do these simple time saving chores!
    (highlight and print ONLY what you highlight)
    Until then we have to cut and paste to several different apps or programs....hoping it will allow you to print ONLY WHAT THE USER WANTS TO PRINT!

  • Is there a way to view and print a single month.....

    without the partial previous and partial following months?
    I'd like be able to view and print, for example, just August, without seeing the last few days of July and the first few days of September.
    Thanks.

    Yes, people I work with use it, assistants fill the fields out for me. As far as I know there is no "Print Browser" option. Some folks have assistants copy and paste the info into text, csv or xml files.    Since everthing has gone to meta tags, this approach is going the way of the electric spoon or feeding mayonnaise to Tuna.
    Peace & Covering Fire,
    B.S.

  • Can I use Acrobat 11to download pdf that only allows me to read, enter data, and print?

    I need to complete gov. forms available online as pdf.  I can review, enter data and print, but I cannot save to my computer or anywhere else.  I need to be able to save so I can return to the form and enter information as I access it.  Can this be done if I purchase Acrobat 11 and, if so, can I get the Standard edition?  I currently only have Reader.

    Yes, if you upgrade to at least Acrobat Standard you will be able to save. Since you can't save with Reader (assuming 11), the forms are probably XFA forms (created with LiveCycle Designer), which must be Reader-enabled in order to be saved with Reader. Reader 11 can save non-enabled AcroForms (forms created with Acrobat), but not non-enabled XFA forms. If you have a Reader version prior to 11, try using Reader 11 to see if it will save.
    If you can provide a link to one of the forms, I can tell you for sure what the minimum requirement for saving is.

  • HT4356 My iPad does not find the printer. I have tried the HP app and it works, but in any other app the printer is not seen. How do I get this printer visible to the iPad. All my other network computers find and print with out a problem.

    My iPad does not find the printer. I have tried the HP app and it works, but in any other app the printer is not seen. How do I get this printer visible to the iPad. All my other network computers find and print with out a problem.

    hi
    could you tell us what the other app is please

  • Function module to fetch pdf file from App. Server and print/email?

    Hi all,
    Is there any function module to fetch a PDF file from APPLICATION SERVER and print the PDF file or send it as an attachment in an email?
    Please help..
    Thanks in advance.
    Sandeep.

    Hi Sandeep,
    Is there any function module to fetch a PDF file from APPLICATION SERVER
    1) As far as i know there are no FMs to read a file from App server, you can do the same using *OPEN/READ/CLOSE dataset ABAP statements - There are tons of examples for this on the net.
    and print the PDF file or send it as an attachment in an email?
    You can send the file read from the app server(by the suggested method above) and use CL_BCS to send it as an attachment.
    Again there are many examples on the net on how to use CL_BCS for the same.
    Regards,
    Chen

Maybe you are looking for

  • How do I get the SD Card Reader to work?

    I have a HP HDX16 -1040US Notebook that has worked perfectly except for my SD Card Reader has stopped working and is no longer being recognized by my computer, is there anything I can do to get this working again? Kindest Regards, Safety 56 Steve

  • Not able to receive the web service response to java client - jax-rpc

    HI, Have a wsdl and created the java client using wscompile and got the set of files (Port, Binding, ServiceLocator, Service and all related java files). My java client sends the valid java request to the webserver and i could see the correct respons

  • Using JavaScript need to clear speach bubble error messages

    Hi, I used AdfPage.PAGE.clearMessages(null); in javascript to clear the error message, But it will not clearing the error message(speach bubble error message), it will clearing only when ADF popup Error Messages. Example: I entered wrong date in the

  • Small issue when viewing photos

    Hi, I only got my Xperia Z2 today and I've noticed something going on when i view photos that wasn't happening earlier. When I take a photo with the camera in the camera app it's fine and looks good, but then when I go to view it by pressing the litt

  • DVD disc stuck in drive

    Operating system not installing. The dvd is stuck in the drive. What method to use to eject the dvd from the drive? Have tried holding down the mouse, this has been ok in the past but, not on this occasion! Any takers? Kind regards, mflick