Is it possible to suppress the print dialog in Forms

Hello,
I would like to know if anybody here has some experience with printing from
Forms.
In my case, I want to give a Forms user opportunity to make a hardcopy
e.g. to document Forms errors, to have a feedback for further development.
I have a button that invokes PRINT; when it is pressed, several Dialogs
appear:
"page setup -> print -> do not move until print was made and so on...
How could this be suppressed, so if a printer is defined, then
pushing PRINT would just do that.
Any tips are appreciated. ThanX in advance.
Jan=)
BTW: we still use Forms 5 , unfortunately.

Nope.

Similar Messages

  • How to suppress the Print Dialog Box?

    Running an (ASP.NET /Crystal Reports 2008) application and using CrystalReportViewer control. Is there way to suppress the print dialog box when I click the print icon on the report tool bar?
    Edited by: juRamz on Aug 26, 2009 2:54 PM

    Hello,
    Sort of, CR needs the info. Only option is to create your own print button that has all the info filled in. It's a Windows Framework Common dialog box that CR calls so it's the OS that is prompting for the info.
    Using ReportClientDoc here's a possible solution, note that this too has a dialog box to select the printer:
    private void button1_Click(object sender, System.EventArgs e) // Print To Printer button
        System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();               
        PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptionsClass();
        CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions newOpts = new PrintOptionsClass();
        //CrystalDecisions.CrystalReports.Engine.PrintOptions newOpts = new PrintOptionsClass();
        pDoc.PrinterSettings.PrinterName = cboCurrentPrinters.Text;
        rasPROpts.PrinterName = cboCurrentPrinters.Text;
        rasPROpts.PaperSize = (CrPaperSizeEnum)
            pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
        rasPROpts.PaperSource = (CrPaperSourceEnum)
            pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
        // new API added to allow changing printing options
        newOpts = new CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions();
        newOpts.DissociatePageSizeAndPrinterPaperSize = true;
        rptClientDoc.PrintOutputController.ModifyPageMargins(0, 0, 0, 0);
        rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
        MessageBox.Show("Printing report.", "RAS", MessageBoxButtons.OK,MessageBoxIcon.Information );
    Thank you
    Don

  • Is it possible to prevent the Print Dialog from waking printer?

    Hi all,
    Although I have a printer attached to my iMac, most of the time I just use the Print Dialog to 'Save as PDF' rather than to actually print. However, as soon as I hit cmd-P the printer is woken up, even though I never use it. Is there an option somewhere that will tell OSX to only wake the printer if I actually send the document to the printer?
    thanks,
    d

    Hi there,
    I think you could create a dummy IP printer, using Generic Postscript for the driver, and set it as your default printer. Then when you print to pdf from your app, having this dummy printer selected may stop the USB physical printer from waking.
    To create the dummy, open Print & Fax and click + to add. Select IP and LPD for the protocol. Enter an IP address of 10.0.1.50, leave the queue name blank, change the Name to Dummy and select Generic Postscript in the Print Using menu. Click Add to complete the queue creation.
    Now set this printer as the default and try printing. Hopefully this stops the real printer from waking.
    One last note. Just remember to change the printer in the Print dialog when you do need to print on paper.
    Pahu

  • Suppress the Print dialog box in Air /Flex

    Hello,
    I am trying to print the pdf files(which is located in my system) directly in the printer without showing print dialog box .
    I tried to print the screen without displaying print dialog box using flash.printJob.start2().
    but am not able to print pdf files in the printer its printing dark screen only also it just printing the UIcomponent size only. its not printing all d pages available inside pdf file.
    Can you please help me to resolve this issue.

    Hi
    I tried to open a new bug report , that screen itself not displaying properly and I couldnt able to enter any comments there ,I can see only the option buttons.
    and I am trying to print the documents which is having mutiple pages using flash printJob . the following code I have used . here i am trying to Print Textfield .
    Could you please me how can I add document/pdf file/text file instead of TextField.
    va txt:TextField = new TextField();
    txt.text = "Hello Test" ;
    var sheet:Sprite = new Sprite();
    sheet.addChile(txt);
    and in printing
    If(PrintJob.start2(null,false))
    PrintJob.addPage(sheet);
    PrintJob.send();

  • Suppressing smartforms Print dialog box

    Hi,
      I want to suppress Print Dialog Box in smartform and directly go to print preview. I have set the CONTROL_PARAMETERS ,NO_DIALOG to 'X' and PREVIEW 'X' but still print dialog box is not suppressed. i even set OUTPUT_OPTIONS-TDDEST but it disappear and each time it display the print dialog with output device(TDDEST) field empty.
    Thanks in advance.

    Hi,
    Chek this sample program in 4.7:SF_EXAMPLE_03
      control-no_dialog = 'X'.
      control-preview   = 'X'.
      control-no_open   = 'X'.
      control-no_close  = 'X'.
      call function 'SSF_OPEN'
        exporting
    *     ARCHIVE_PARAMETERS       =
    *     USER_SETTINGS            = 'X'
    *     MAIL_SENDER              =
    *     MAIL_RECIPIENT           =
    *     MAIL_APPL_OBJ            =
    *     OUTPUT_OPTIONS           =
          control_parameters       = control
    *   IMPORTING
    *     JOB_OUTPUT_OPTIONS       =
        exceptions
          formatting_error         = 1
          internal_error           = 2
          send_error               = 3
          user_canceled            = 4
          others                   = 5.
      if sy-subrc <> 0.
    *   error handling
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        exit.
      endif.
    *   now call the generated function module
        call function fm_name
             exporting
    *                   archive_index        =
    *                   archive_parameters   =
                        control_parameters   = control
    *                   mail_appl_obj        =
    *                   mail_recipient       =
    *                   mail_sender          =
    *                   output_options       =
    *                   user_settings        = 'X'
                        customer          = customer
                        bookings             = bookings
                        connections          = connections
    *        importing  document_output_info =
    *                   job_output_info      =
    *                   job_output_options   =
             exceptions formatting_error     = 1
                        internal_error       = 2
                        send_error           = 3
                        user_canceled        = 4
                        others               = 5.
        if sy-subrc <> 0.
    *     error handling
          message id sy-msgid type sy-msgty number sy-msgno
                  with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.
      endloop.
      call function 'SSF_CLOSE'
    *   IMPORTING
    *     JOB_OUTPUT_INFO        =
        exceptions
          formatting_error       = 1
          internal_error         = 2
          send_error             = 3
          others                 = 4.
      if sy-subrc <> 0.
    *   error handling
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    * analyse internal error table of Smart Forms
      call function 'SSF_READ_ERRORS'
           importing
                errortab = errtab.
      if not errtab is initial.
    *   add your handling
      endif.
    I hope this will work.
    Regards,
    Anjali

  • How do I change the default page range in the Print Dialog

    Post Author: MikeDymond
    CA Forum: .NET
    Even when a report has more than one page the print dialog produced by the .net version of CrystalReportViewer sets the default page range to 1 of 1.Is it possible to change that to default to All? Cheers Mike

    Post Author: dlyford
    CA Forum: .NET
    Yes you can do this. I've done it but cannot remember exactly what page I had to modify. I think it was in the aspnet_client\system_web\2_0_50727\crystalreportviewers115\js\export.js file. In one of the functions you need to swap the ALL and PAGES variables.  Hope this helps.

  • Is it possible to call the Print Quote functionality from Custom ADF page

    Hi,
    We are researching if it is possible to call the Print Quote functionality from the Custom ADF application.
    Goal is to pop up the PDF report upon clicking the Print Quote button on the custom page. Is it possible ?
    Atleast advice on the direction to go forward is appreciated.
    Thanks
    Sai

    Hi ,
    Please check following thread on forum -
    Re: ADF: Calling OAF Page from ADF page
    Check this may also be useful-
    https://blogs.oracle.com/shay/entry/to_adf_or_oaf_or
    I have not tried yet but Steven Chan (Sr. Director OATG) suggest following methodolgy for this-
    https://blogs.oracle.com/stevenChan/entry/appsdatasource_jaas_ebs
    Thanks,
    Ashish

  • 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 can i get rid of the print dialog box when using api to print an html file

    i am using the systemshell.vi provided by labview the VI is working fine but it will open a dialog box for printer selection and properties. i would like to hide that dialog box and have it print to the default printer with the default properties

    ShellExec is part of lvwutil and merely calls a function in Shell32.dll. There is nothing about the function call that controls the display of the printer dialog. I think that what shell32.dll does when it prints (just like right clicking on the file) is print the file according to what is defined about that file type in Windows Folder Options. On my Win2K system, the print application is defined as "C:\Program Files\Microsoft Office\Office\msohtmed.exe" /p %1. If I remove the /p, then Word starts up and in order to print, I get a printer dialog when choosing Print from the File menu. So it seems like the printer dialog is entirely dependant on the application that does the printing. I get no dialog when I use the VI to print a .txt file. I
    nstead of using shell32, you might want to try some ActiveX method or property of an application like Internet Explorer that can open and print an html file.

  • Show the print dialog when running a report from an Oracle form.

    I would like to be able to print an Oracle report from an Oracle form but
    in addition show the print dialog. My PL/SQL code is shown at the bottom of this post.
    I have set the 'printjob' system parameter to 'YES' in the
    report and I can bring up a print dialog using the reports runtime.
    However, as soon as I run it from my form I lose this capability. Setting
    'printjob' to 'YES' in the code has no apparent effect.
    Many thanks,
    Ben
    -- Launch a report
    DECLARE
      v_pl_Id   paramlist; -- parameter list
    BEGIN
      -- add the parameters to the list.
      v_pl_id := CREATE_PARAMETER_LIST ('summary');
      ADD_PARAMETER (v_pl_id, 'destype', text_parameter, 'PRINTER');
      ADD_PARAMETER (v_pl_id, 'printjob', text_parameter, 'YES');
      -- run the report
      RUN_PRODUCT (
        reports
      , 'C:\Test Reports\Test.rep'
      , synchronous
      , runtime
      , filesystem
      , v_pl_id
      , NULL
    END;

    At 10g not 9i using a bean area on my canvas implementing the following class ...
    import java.awt.Frame;
    import java.awt.JobAttributes;
    import java.awt.PrintJob;
    import java.awt.Toolkit;
    import javax.swing.JPanel;
    import java.io.*;
    import oracle.forms.ui.VBean;
    public class Select_Printer extends VBean {
    public Select_Printer()
         super();
    public String getPrinterName()
    String PrinterName=null;
              JobAttributes jobAttributes;
              try{
                   jobAttributes = new JobAttributes();
                   jobAttributes.setDialog(JobAttributes.DialogType.NATIVE);
                   Frame dummyFrame = new Frame();
                   PrintJob pJobDialog = Toolkit.getDefaultToolkit().getPrintJob(
                   dummyFrame, "Printtest", jobAttributes, null);
                   PrinterName = jobAttributes.getPrinter();
              } catch (Exception e) {
                   System.out.println("Printer error!");
              return PrinterName;
    public static void main(String[] args)
    Select_Printer select_Printer = new Select_Printer();
    System.out.println(select_Printer.getPrinterName() );
    }

  • How do I force the print dialog to default to Print All?

    Hi all,
    I've searched the forums for this and found several similar requests but no answers so I am posting this as a fresh post.
    I have a requirement to have the print dialog appear when printing from javascript and have it always default to Print All.  From my research, it appears that there are only two API methods to do this:
    1) Print()
    2) PrintWithDialog()
    Neither take paramters.  Both have the same description in the documentation (which seems odd in of itself).
    From our research, PrintWithDialog() appears immediately when called (even if the PDF is not yet fully loaded) but always defaults to, "Print 1 of x" unless the PDF is only 1 page.  In that case, it defaults to Print All.
    The Print() method defaults to Print All.  However, if you call it before the PDF is fully loaded, it does not show.  I have searched these forums and found many other people running into this issue.  One thread suggested to put in a timer to make sure the PDF is loaded and then call print.  This works for small PDFs but our customers could be printing thousands of pages so there is no way to know how long to make the delay.
    I tried paying for Support to answer this question and was told there were NO PAID OPTIONS for getting support on the Acrobat SDK and to come post the question here.  The Support Engineer I spoke with assured me developers read and respond to these forums.
    This is a critical issue for an important customer so any feedback is much appreciated.
    An Adobe employee (Irosenth) mentioned something about a bug being reopened in this thread (http://forums.adobe.com/message/2601148#2601148) but no bug number was ever given.  If it truly is a bug, please provide the number, description and ETA for fix.
    If there is no solution, can I get a response from Adobe that supports my research as posted above?  In other words, confirm that both the API are working as expected?
    Finally, given that it seems many people want this functionality, how do I submit an enhancement request?
    Best Regards,
    Brian

    I downloaded Reader X and the problem is still occurrring, as was reported by the originator of this thread back in November.
    Are there any parameters that need to be set for this to work?  My customer is getting very impatient with this.
    Also, since downloading Reader X the toolbar does not appear by default. It pops up when you hover over the top of the window.   How do I get the toolbar to appear by default?  (this is not nearly as important as defaulting the print dialog to Print All on mulitple page docs when using printwithdialog).

  • Current View option in  the Print dialog box

    I have a PDF file, approximately 55 pages that is comrpised of 50+ .jpg images that were combined into a single PDF file. The images are various size screenshots from Facebook.
    I need to be able to print the entire file at 75% magnification in order for every page to be readable.  Only way in Adobe’s print dialog box that I can find to do so is select one page at a time, select “Current View” and then print. 
    When "All" is selected under Print Range in the Print Dialog box, the pages print at different magnifications, most below 10% and unreadable.
    Is there a way to get the entire document to print in the “Current View” setting or at a specified magnification?
    I’m using Adobe Acrobat 9 Pro.
    Any help would be greatly appreciated.
    Thanks

    duh...
    Figured out I had to tweak it in the "copies and Pages"

  • I can no longer print to the 3 Canon printers on my local area network. The print dialog box states that the print file is accepted and the job is printing, but the files never print. Everything worked when the computer and printers were initially set up.

    I can no longer print to the 3 Canon printers on my local area network. The print dialog box states that the print file is accepted and the job is printing, but the files never print. Everything worked when the computer and printers were initially set up.

    There may be some security issues related to the USPS PDFs.
    http://www.certified-mail-envelopes.com/signatures-usps-certified-mail-return-receipt-requested
    I can't help with the scan/print problem. You seem to have done everything I would try.
    I don't know if maybe using a registry cleaner would help.
    John Hoffman
    Conway, NH
    1D Mark IV, Rebel T5i, Pixma PRO-100, MX472

  • Can't see printer name in the print dialog box as the printer name is too long

    This is actually causing siginificant pain as I am using a tablet and moving around a number of floors/buildings needing to be able to print from where I am.
    When printing from Acrobat reader, the print dialog box that comes up does not have a horizontal scroll bar and does not fit in the names of the printers in my organisation. We are unable to change the printer name, so it basically means that when using Acrobat, we can't select a printer.
    All other windows applications show more characters and also have a horizontal scroll bar in the print dialog box so you can scroll across to see the rest of a long printer name. Why is acrobat not using the standard windows print dialog?
    Has anyone come across this? Help!

    This is the Acrobat forum, not the Reader forum. In the future you should check there. I am not sure why you can not change the printer name, unless you do not have administrator rights. The name of the printer has nothing to do with where the print copy is sent. It is just for the purpose you mentioned of identifying the printer to print to. If you are not the administrator, ask your IT folks to change the name for you and explain why.

  • Save as PDF and Save PDF as PostScript options in the Printer dialog are not supported.

    I downloaded Indesign CS3 trial and liked everything about it until I attempted to print to postscript and got that message. Nothing I have tried has helped. I have seen in various forums that others are having the same problem, but haven't found any solution offered. I am running Tiger 10.4.10 on a new Intel Imac with 3G ram. This is a procedure I use very often in my workflow, and have never had this problem with CS2 on my PC or other Macs. Is there a solution? I downloaded the .1 update and installed that and it didn't change anything.

    PLEASE SOMEONE HELP ME.
    Its the first time Im using print booklet option to save my file. I have the same problem when trying to save as pdf and get the
    "The Save as PDF and Save PDF as PostScript options in the Printer dialog are not supported."
    I'm trying to save a .pdf of a booklet of a facing pages document of A4 size each facing page for a whole size A3, then hope to let the pages be correctly arranged by inDesing, then print and staple.
    Meaning pages will be like this - Page #60 left side [of the A3] - page #1 right side [of the A3] , page # 2 right side[of the A3] - page #59 left side[of the A3] etc...
    I CANT DO IT. I tried to follow Melvin Thompson , but when I choose save .ps and open it in preview all I see is independent a4 pages and just the left ones , .. How can I save my file as .pdf ready to be printed in a3 ?
    I really appreciate any help.

Maybe you are looking for