Printer Dialog Box with No. of copies & Print Range.

I am trying to print a report(oracle) from a form (using a custom PRINT button) and wanted the printer dialog box to appear, for which I used the "WIN_API_DIALOG.SELECT_PRINTER(prtname, port, true)" API in the "When button pressed trigger".
But this API only takes care of a printer change, my issue here is how do I capture the changes pertaining to Orientation, Number of Copies, Print range etc. I know there is the "Properties - Advanced" option in the printer dialog box but changing values there doesn't help, as I had already mentioned the API passes only printer name.
So, if any one has faced a similar issue and has a solution,
PLEASE RESPOND IMMEDIATELY !!!
Thanks

Unfortunatley there is no way to give Forms that information. The printer dialog in D2kwutil is only designed to get the printer name / port, none of the other information. Even it it could Forms does not expose an API to effect the PRINT; built-in.

Similar Messages

  • Opening print dialog box with "Selection" printing enabled

    Hi all,
    I have a JTable in which I wan to print only selected rows. When I open the Print dialog box using printDialog() method of PrinterJob, the dialog opens with "Selection" option disabled.
    How can I enable this option ?
    How can I print my selection using the standard Print Dialog ?

    This I know.
    Let me refrase my question:
    I have a table with selected cells (Rows Cols
    whatever ...) I wish to open the print dialog box
    with Selection radio button enabled, such that when I
    will check it and click print, the selected table
    cell get printed.This I had understood.
    Let me refrase my reply:
    If you simply print a new table containing the selected data
    then you don't need to have the Selection radio button enabled
    in the print dialog box.

  • Super slow printing  dialog box with  10.6?

    When I click on print it now takes almost a minute to get the printing dialog box up - Any suggestions? I deleted and re-installed newest drivers. I have a Xerox 8560

    No answer here, just thought I'd say you're not alone. I was cruising the forum to find an answer for the same issue. I upgraded our G4 based mini's running 10.4 to the newest Intel Mini with 10.6. Now print jobs that finish in seconds on the old machines take 5 - 6 minutes. I've loaded the most recent drivers from Xerox, but no change. I have a support call in to Xerox and will post back if they can fix this.

  • Adobe X no print dialog box and program closes when printing

    Have one user who started encountering this problem today:
    Opens up PDF
    Clicks on the Print icon (or File - Print)
    The Print Dialog box never appears
    Adobe 10.1.1 program then immediately closes - nothing in the event log
    Able to get the PDF to print only if right clicking on the file and selecting Print (but don't get to select any Printing options)
    Have tried selecting a different printer with the same results
    Have uninstalled and reinstalled the program
    Any help is appreciated

    iammrbojangles wrote:
    I have a similar problem with the the same printer.  Excel works fine until you ask to print preview, this takes about a minute to appear, and about another minute if you ask it to print too.  Once you've printed and are back in Excel anything you try to do now has a delay.  I've tried then changing the printer i want to use to a networked one which makes Excel return to it's normal self.
    I've also tried sharing this printer to make sure it wasn't the PC but it is the same on any I've tried.

  • Supress Printer Dialog box (Operating System) in Payslip Printing

    Hi All,
    I have design the smartform to print the payslip. In the main window i have created the loop and then  desing the templates to display the details of employee and the wage types.I have only one page in it. I have develop the print program to call the smartfform. But when i try to print the payslip for number of employees the printer dialog box (Operating system Level) is appearing for the number of times the employees i have selected.I am able to suppress the Print Preview dialog box from SAP it is not showing and i have given the parameters to print immediately.But the Problem i am facing is if i select 3 employees the printer dialog box is coming 3 times. i have to click 3 times to print the payslips .
    Mustafa

    Hi,
    Please find the code below. I have made the changes but agian it is asking for the printer dialog box for the number of times the employees i have selected.
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
       formname                 = 'ZHR_F_MMG_PAYSLIP'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
    IMPORTING
       FM_NAME                  = V_FM_NAME
    EXCEPTIONS
       NO_FORM                  = 1
       NO_FUNCTION_MODULE       = 2
       OTHERS                   = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    loop at i_payslip_details.
      gv_control-no_dialog = 'X'.
      gv_control-no_open   = 'X'.
      gv_control-no_close  = 'X'.
      I_SSFCOMPOP-TDDEST = 'ZMMG_Print'.
    I_SSFCOMPOP-TDNEWID = ''.
    I_SSFCOMPOP-TDNOPREV = 'X'.
      AT FIRST.
        gv_control-no_open = ''.
        endat.
        AT LAST.
          gv_control-no_close = ''.
          ENDAT.
    CALL FUNCTION V_FM_NAME
    EXPORTING
       CONTROL_PARAMETERS         = gv_control
       OUTPUT_OPTIONS             = I_SSFCOMPOP
      TABLES
        I_PAYSLIP_DETAILS          = I_PAYSLIP_DETAILS
    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.

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

  • [JS][CS3] Print DIalog Box with ESCAPE

    I am using document.print(true) in my script.
    Is there a way to catch if the user pressed "CANCEL"? So I can keep track of how many prints were "skipped"
    Thank you, Alex.

    Just a quick illustration of how useful APID is:
    My wife still uses CS2 at work. We have a Riso digital duplicator which
    we use for printing booklets, invitations, etc. When printing from
    InDesign to the Riso machine, color management must be off or the blacks
    get printed as dark gray (about 95% line screen). Well, I tried to help
    out by printing a booklet, and like usual, I messed up and forgot to
    turn off color management. (I'm really good at messing things up!) ;)
    I decided to put an end to this problem, and create a solution which
    would always cause InDesign to send to this printer (only) with color
    management turned off. It took me a total of maybe 15 minutes...
    // DontManageColorForRiso.jsx
    // This script should be in the same folder as the document
    DontManageColorForRisoSourceCS4.indd
    // It is automatically called by the DontManageColorForRisoController
    page item.
    //events: docPrintConfigured,docPrinted
    // Header - matches anonymous function trailer at bottom
    (function(thePlugin)
    main();
    function main(){
    var theEventCode = thePlugin.eventCode;
    var doc = GetDocFromPageItem(thePlugin);
    switch(theEventCode){
    case "docPrintConfigured":TurnOffColorManagement(doc);break;
    case
    "docPrinted":app.colorSettings.enableColorManagement=true;break;
    function TurnOffColorManagement(doc){
    var printer = doc.printPreferences.printer;
    if(printer.constructor.name!="String"){return}
    printer=printer.toLowerCase();
    if(printer.match(/riso/)){
    app.colorSettings.enableColorManagement=false;
    function GetDocFromPageItem (pageItem){
    var guid = app.callExtension(0x90B6C,10014,pageItem);
    return app.callExtension(0x90B6C,10009,guid);
    // Trailer - matches anonymous function header at top
    )(theItem);
    Harbs
    http://www.in-tools.com

  • How to set print dialog box to sync with applications

    Dear all
    I am using different applications, such as photoshop, lightroom, etc. All these applications have their propper print dialog box with enhanced settings.
    BUT
    after hitting the print button, my computer takes me always to the mac print dialog box, where again I can set different things: I can set paper quality, paper format, the colors...
    to me it seems that the settings I have chosen in the application print dialog box are getting erased by this second set of (OS X) print-settings.
    WHY DO I NEED TO GO THROUGH TWO PRINT DIALOG BOXES?
    Can I omit the OS X print dialog?
    Or am I missing something?
    many thanks for your help,
    Hynek

    Thank you for this reply.
    I will work around it with presets.
    but just to understand this: *which dialog box is the one setting the printer* (when for example using photoshop)? is it the first dialog box, i.e. photoshop print dialog box - or is it the osX print dialog box?
    if it is the second, I can skip the photoshop-one... ?
    or do I need to experiment with a combination of both?
    greetings,
    Hynek
    p.s. I know, it is a rather late reply. But we became parents 7 months ago, and time at the moment just flies by...

  • Print dialog box code with scale to paper size option

    Can anyone tell about the java code that can be used to generate a print dialog box with "Scale to paper size" option.

    manual wrote:
    The path given does not match my installation (i.e. no "Xtras" folder).
    The 'Xtras' folder has nothing to do with Adobe Reader (nor Acrobat); that is part of Shockwave Player.

  • Print Dialog Box for Addon is not showing in Terminal Server

    Dear All,
    I have created a addon for Automatic Sales Invoice printing that prints the crystal report directly to the printer bu opening a
    print dialog box for printer selection through SDK code.
    The Same addon works fine on the server with print dialog box being showing through SDK code.
    But while running on Terminal Server , print dialog box is not showing any printer though printers are redirected to that
    terminal server.I am not getting whether the problem is in my addon or in the terminal server printer settings.
    Please suggest as i need to know the reason urgently.
    Thanks
    Amit

    Hello Edward,
    Thanks for your reply .
    But the problem is that while running on normal server the print dialog box appear with the printer name in my addon for printer selection .
    But while using terminal server , the print dialog box is not getting any printer in the dialog box .That's the major concern for me
    is their any way to check that why the printers are not showing in print dialog box.
    Thanks ,
    Amit

  • Printer dialog box does not appear in Photoshop CS.5

    I use Photoshop CS.5.1 with a Macbook 2013 using version 10.9.5. The printer works perfectly with all other applications but in Photoshop no printer dialog box comes up and the print job does not appear in the printers queue. Anyone the same issues?

    First, try nuking (deleting them and letting the application create new ones) your Photoshop preferences:
    To re-create the preferences files for Photoshop, start the application while holding down Ctrl+Alt+Shift (Windows) or Command+Option+Shift (Mac OS). Then, click Yes to the message, "Delete the Adobe Photoshop Settings file?"
    Note: If this process doesn't work for you while you're using a wireless (Bluetooth) keyboard, attach a wired keyboard and retry.
    Important: If you re-create the preferences by deleting the Adobe Photoshop CS6 Settings file, make sure that you only delete that file. If you delete the entire settings folder, you also delete any unsaved actions or presets.
    Reinstalling Photoshop does not remove the preferences file. Before reinstalling Photoshop, re-create your preferences.
    NEW Video! Julieanne Kost created a video that takes you through two ways of resetting your Photoshop preferences. The manual preference file removal method is between 0:00 - 5:05. The keyboard shortcut method is between 5:05 - 8:18. The video is located here.
    Mac OS
    Important: Apple made the user library folder hidden by default with the release of Mac OS X 10.7. If  you require access to files in the hidden library folder to perform Adobe-related troubleshooting, see How to access hidden user library files.

  • 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 using jdk1.4

    Is there a way to bring up print dialog box in jdk1.4. I am using the new api( javax.print.* ) for printing. But dont know how to get an interface to the Dialog Box.
    thx
    K

    Our printing functions (PrintCtrl, PrintPanel, etc.) will bring up the print dialog if you select to show it in the function call. If you weren't using our print function, you can bring up the Windows print dialog box with the Windows SDK function PrintDlg. Consult SDK documentation for help with this function.
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

  • Using the print dialog box of Windows

    Hallo,
    how can I use the Windows printing dialog box for selecting a printer ?
    (I use LabWindows 5.0.1)
    Regards HGalle

    Our printing functions (PrintCtrl, PrintPanel, etc.) will bring up the print dialog if you select to show it in the function call. If you weren't using our print function, you can bring up the Windows print dialog box with the Windows SDK function PrintDlg. Consult SDK documentation for help with this function.
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

Maybe you are looking for

  • PI 7.30: OS command on AIX to archive files on FTP does not work

    Dear experts, Our PI system runs on an AIX server. I have a scenario PI --> FTP. I also need to archive files in a seperate folder on the FTP. I have been following thread: Read or Write File On FTP server based on another file existence. After file

  • Webi 4.0 Custom Sort for SSAS Hierarchy

    Hi, I'm using SSAS cube as a source for my webi report .Some report need custom sorting for hierarchy object , we are not able to apply sorting correctly in webi. What do i need to do in order to apply the custom sorting for hierarchy object?  Thanks

  • ITunes does not detect my ipod

    Much to my chagrin I made the mistake of upgrading Windows Vista to Windows 7. Then I d/l the latest version of iTunes and now iTunes can not detect my iPod. I receive the message "The software required for communicating with the iPod is not installe

  • Compilor shows error (DBMS_OUPUT.PUT_LINE)

    Hi everyone, I have used set serveroutput on; command outside the procedure but the compilor shows error when it reaches across output command. Please anyone can tell me where the problem is DBMS_OUPUT.PUT_LINE(X); DBMS_OUPUT.PUT_LINE('Y=', XY; Cheer

  • Access Standard InDesign Menu

    Trying to write a series of scripts that, bottom line, do the following. Open existing files > Import existing XML > Data merge from existing txt > save as > export each page as individual pdf per specific settings I have the save as and the pdf part