Taking control of OS print dialog box

Hi,
Can I customize the OS print dialog box which appears, when I execute the FlexPrintJob.start method? I want to enable page range selection and some other fields.
Other option is, if some how I can get the list of printers and other printer specific options availabe in my custom Dialog box.

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.

Similar Messages

  • EPSON printer update v2.3.1:  color controls now dimmed @ print dialog box

    I have lost the ability to control color in the Print/Print Settings dialog box after this update. The Ink tab is dimmed and set to "Color," the Color Settings tab is also dimmed and set to "Off (No Color Adjustment)," and the Advanced tab brings up only information about the Colorsync profile. The graphic file (Photohop) I'm printing from is a grayscale file.
    There is no difference in the Print dialog box between having Photoshop manage the colors or having the Printer do it.
    My concern is that the printer will now be consuming color ink, but the actual prints appear to be using only the matte black.
    Anybody else run into this? Should I be concerned?
    Thanks

    From PHOTOSHOP (CS4) In the printer driver menu, the COLOR MATCHING pulldown shows the choices are grayed out. But go to the PRINT SETTINGS pulldown. There you should be able to select BLACK/COLOR Ink, color settings if appropriate (VIVID etc)...
    Apparently not all programs gray out the COLOR MATCHING boxes - a demoed a RIP that does not do this but it has other issues (ImageNext2.1).
    Also CS4 has the ability to completely disable color management (used for printer profiling), but some apps cannot do this with this driver (ImageNest2.1, DataColor Spyder3Print)

  • Pages button  in printer dialog box  is deactivating while taking print ?

    Hello exports,
    while taking print abap reports (developed using smartforms) pages buttoon (from- to) in printer dialog box
    is by default is deactivating .How to activate this button ? who will do this one (Abaper or basis guy).
    pls help me in this.

    Hi,
    So, as you see a field "from ... to ...", I think you are talking about the "background print parameters" dialog (this is not the smart forms print dialog, which contains field "page selection").
    I don't understand. "Pages from ... to ..." is always displayed, and the user can enter them manually. Do you want to enter pages programmatically?
    What is your code or the steps to display this dialog? Is it fully standard or do you use GET_PRINT_PARAMETERS programmatically?
    Sandra

  • 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

  • PUT BACK THE MISSING THE SCREEN FUNCTION IN THE PRINT DIALOG BOX!!!!

    Hello all...
    I am a creative director in the screen print (garment industry) for over 20 years.  We have always used PS to directly print and control our halftone screens and angles through the screen function in the print dialog box.  Now it has miraculously disappeared after so many versions previous.
    I emplore Adobe and their team to please update this function back into CS5.
    Although it is a function many might not even understand how to use, it is IMPERATIVE to the screen printer/artist in this industry.
    There are workarounds, of course, but they are much more tedious and time consuming.
    I truly cannot convince enough that we folks in this industry want this function back!!!!!

    You might want to also post in these Fora:
    Photoshop Feature Requests
    http://feedback.photoshop.com/photoshop_family/products/photoshop_family_photoshop

  • 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

  • Hide Number of copies in Print Dialog box

    Hi All,
    I have a requirement in smartform wherein i have to disable the area where we enter number of copies in the Print dialog box, which comes when we execute the program.
    In the print dialog box we usually enter the output device and can choose various options in Spool Control, Number of Copies, etc.
    So here my requirement is that even if user enters more than 1 in Number of copies, in the output it should take only as 1.
    Kindly let me know how to do this..
    Thanks,

    Hi Ashwani,
    You need to do an implicit enhancement for this requirement.
    Program : SAPLSTXBC
    Include : LSTXBCFOP
    Form : PBO_FRONTEND
    Code  :
    LOOP AT SCREEN.
      IF SCREEN-NAME = 'SSFPP-TDCOPIES'.
       SCREEN-INPUT = '0'.
       MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    Regards,
    Lohit

  • Adobe Reader XI - print dialog box blank - Windows 8

    Using the latest version of Adobe Reader XI, The print dialog box either comes up blank as shown in file 1 and I have no control over printing. OR it comes up with all the labels missing, see File 2 - yet I can control some features by clicking on the blank boxes.
    FILE 2 - Print Window for Adobe Reader XI in Windows 8.docx
    https://files.acrobat.com/preview/41f38277-3483-4179-8bea-97c593bdf52d
    FILE 1 - Print Window for Adobe Reader XI in Windows 8-Blank.docx
    https://files.acrobat.com/preview/435659b8-50ec-4b05-8a02-4de75305446f

    One reason that the Acrobat/Reader dialogs will not display correctly is when the needed system fonts have been removed or uninstalled.
    Or it may be that the default font is changed.
    Try to reinstalled the Segoe font family and check if it corrects the issue.
    Also You can follow the below steps for restoring the default font and removing any font changes you’ve made. After the restore, check if the issue is resolved or not?
    1. Open Fonts by clicking the Start button, clicking Control Panel, clicking Appearance and Personalization, and then clicking Fonts.
    2. In the left pane, click Font settings.
    3. Click Restore default font settings.
    You can also check the corrupted fonts by running Microsoft’s Font Validator from http://www.microsoft.com/typography/FontValidator.mspx

  • Printer dialog box does not appear

    When I do  File>Print  I'm getting the following error message:
    "The saved printer information is not compatible with this version of Photoshop, or the saved printer is no longer available. You will need to check your printer settings before printing."
    The Print option then gets grayed out and a print dialog box never appears.  Don't you need the printer dialog box to select the printer?  How can I select a printer so that at least the dialog box comes up?

    Someone had a similar issue below and their solution fixed my problem also:
    Go into windows control panel and get into the printer section. Choose  another printer as the default printer as in MS XPS document writer and  save. Then open PS back up and select what you want to print and also  the printer you want to print on.

  • Corrupt Print Dialog box

    I recently upgraded Reader to XI and am now getting this corrupt Print Dialog box when I try to print a pdf from within IE10.  Has anyone ever seen anything like this? Windows 8, IE10, Reader XI

    I have 600 users at my company that get the garbled print dialog box with Adobe 9 and IE 11. I used Group Policy to turn on Protected Mode for the Internet and Intranet and now the print dialog box works. Here is where you can find the setting on local group policy (for testing if you are in corporate environment).
    Computer Configuration->Administrative Templates-->Windows Components->Internet Explorer->Internet Control Panel->Security Page. You will then go to Internet Zone or Intranet Zone depending on your needs and then Enable "Turn On Protected Mode". Run a gpupdate from command prompt. Hope this helps.

  • Print Dialog-box Pop-Up while doing Post Good Receipt in VL32N

    I have created Inbound delivery for a Purchase Order. When i try to perform Post Good Receipt operation, the material is getting posted to the respective storage location, but the print dialog-box appears immediately. I faced this problem in only one plant.
    Output Conditions are maintained for the specific output type, in that medium is print output and time of output is Print with own application.
    Why the system is giving print dialog box when we perfrom Post Good receipt operation?
    How to avoid this print pop-up dialog box?
    Edited by: Paul Pandian on Mar 21, 2009 3:27 AM

    Hi Pawan,
    As sheer conincidence I should say, I just posted question on this topic just 1 hour back. And based on the comments in your question my problem is also solved. Thanks for that.
    BTW, I can confirm that the settings you have mentioned are correct. As I have tested it.
    Do you want to consider setting for auto GR?
    Logistics Execution -> Warehouse Management -> Interfaces -> Shipping -> Define Shipping Control -> Define Shipping Control at the Movement Type Level -> For movement type 101 we have put the Copy WM quantity as 'Copy WM quantity as delivery quantity and post GR/GI'.
    I hope this helps.
    Kind Regards,
    Prakash

  • ID CS5 (7.0.4) painfully slow opening print dialog box

    I've been having this issue for quite some time and finally getting around to finding out what's going on.
    I counted 38 seconds between the time I hit Control-P, and the time the print dialog box opens up. ID looks like it has hung up until it finally opens the print dialog box.
    Edit: meant to say that my documents are all very simple text-based pages with a simple letterhead graphic file embedded, 5-6 pages usually.
    Any suggestions on how to fix this, such a lot of wasted time waiting.
    Thanks!
    System: Windows 7, 8 GB Ram
    ID CS5 7.0.4

    That would be MY first step. It takes no real time and will eliminate it as a possibility. Next thing I would do is trash prefs: see Replace Your Preferences
    If neither of those works, I'm not sure what I would do next...  Perhaps have a look at what else is running that could be slowing things down.

  • Print frame without print dialog box

    I want to thank everybody for the print swf file on the
    raisingaimee site, but my question goes a bit further. I'm working
    on a new quiz project and would like the results page to
    automatically print out when the user reviews the quiz. OR when the
    user clicks a button (say, continue or something similar) that the
    review frame will automatically print to the default printer
    without the print dialog box popping up. Is this possible?

    hi sebastian,
    first of all u check for user settings.....in TABLE USR01
    Selecting user master records from USR01 table
      SELECT SINGLE * FROM usr01
         INTO ls_usr01
        WHERE bname = sy-uname.
      ls_outputoptions-tddest = ls_usr01-spld.
      IF ls_usr01-spdb  = 'H'.
          ls_outputoptions-tdimmed = ' '.                "Print immediatetly
      ELSE.
          ls_outputoptions-tdimmed = 'X'.
      ENDIF.
    and in control parameters use
    ls_outputoptions-no_dialog = 'X'.
    this will help u out..
    please reward in case usefull...
    regards,
    prashant

  • 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();

  • Print html file without seeing a print dialog box

    i need to script an action that would allow a user to print a sparcly formated html file to a printer while bypassing the normal print dialog box.
    the unix lpr command seems like it might work, but the man page only mentions PS and txt files.
    Ultimately i'd want to trigger the print action from a php script, but it could be a folder action also.
    Does anyone have any suggestions or point me in the right direction.

    lp is the right command to use but you may need to convert the html file in PDF format before printing it. Just test it. Also type man lp to see more options.
    enscript is a nice utility that may help you. man enscript for more.
    Mihalis.

Maybe you are looking for

  • Disk Error Problem on Imac

    Please can anyone help. I decided to partition my disk so that I could use both windows XP and mac as Apple says you can, however I have incurred a problem part way through the process. I created a partition for windows and then inserted my Windows X

  • WRT54GS v6 -- Can not connect trough router.

    I bought this router two weeks ago. I set it up and it was working, only had a small problem since my router was sitting on my speaker base but it has been working fine. This morning I turned on my PSP to play Medal of Honnor online and my connection

  • TKPROF

    HI all, I am using oracle 9i, and i working in sql_trace and tkprof. but it is not working. i done like this: first * I set the timed_statistics=true *i mention the max_dump_file_size=unlimted *user_dump_dest='e:\ after that i enable the trace like a

  • Facebook Exporter NOT An Option Under Export

    Hi. Any ideas why this may not be working? I have downloaded the latest from Facebook. It has worked in the past (just did a clean install) and now I can't get it to show up. I also have the Picasa Uploader for Google, that works fine. Any ideas how

  • Bitcoin-QT does not like UTC

    Hey Archers! This is my first post on here, but I've been using Arch on and off since 2011... just goes to show how good the wiki is lol Anyway, I'm dual booting Windows 8 (work reasons, unfortunatley) and Arch, so as the wiki suggested, I set both o