How to access Print Dialog boxe's "Pages" property

Hi,
I am using the following line to populate the Print dialog box.
xfa.host.print(1, "0", (xfa.host.numPages-1).toString(), 0, 1, 0, 0, 0)
Is there any way that I can access Pages option using JavaScript with Adobe LiveCycle Designer 8.0 where I can show the page range to print?
I want to print 3 copies of 1st Page and then the one copy of full PDF. So in the Pages option of Print dialog box I want to display 1,1,1,1-9. Is there any way to accomplish this programmatically?
Or is there any better way to print 3 copies of 1st page and then 1 copy of whole pdf?
Thanks.
Niketa Parekh

Hi,
I am using the following line to populate the Print dialog box.
xfa.host.print(1, "0", (xfa.host.numPages-1).toString(), 0, 1, 0, 0, 0)
Is there any way that I can access Pages option using JavaScript with Adobe LiveCycle Designer 8.0 where I can show the page range to print?
I want to print 3 copies of 1st Page and then the one copy of full PDF. So in the Pages option of Print dialog box I want to display 1,1,1,1-9. Is there any way to accomplish this programmatically?
Or is there any better way to print 3 copies of 1st page and then 1 copy of whole pdf?
Thanks.
Niketa Parekh

Similar Messages

  • How to suppress print dialog box from popping up under a condition

    Greetings...
    There may be a better way to accomplish what I'm trying to do, so I'm open to outside-the-box suggestions.
    I have a pretty simple page which lists a set of statuses and descriptions of each. The user can edit these status flags and their descriptions on the page as well. When I view the page in "printer friendly" mode, I see a nice simple report of what the statuses are and their descriptions. Everything works great so far.
    In our work request system built in ApEx, there's a page where someone can view the details of a work request, including the current status. When someone clicks on the help of that item, what I'd love to do is simple show the "printer friendly" version the status page mentioned above in a pop up window. My problem is that the print dialog box automatically shows up when a page is displayed in "printer friendly" mode and I do not want this to happen in this case.
    I see the javascript code in the Printer Friendly page template which causes the print dialog box to show up automatically, but I don't want to remove it in the template just for this one case. This would suppress the print dialog box on all "printer friendly" page views and the users are used to it showing up when they ask to print the page.
    I guess I could create a custom request to pass to the master status page which would pretty much do everything that the "printer friendly" mode is doing, but that seems like a lot of work when I'm so close to using something that is built in.
    Am I not seeing some simple other way of doing it or perhaps asking too much? Any suggestions?
    Shane.

    Hi,
    I think you have to call the FM GET_PRINT_PARAMETERS and pass NO_DIALOG = 'X'.
    Something like:
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          no_dialog      = 'X'
        IMPORTING
          out_parameters = ls_params
          valid          = lv_valid
        EXCEPTIONS
          OTHERS         = 1.
      NEW-PAGE PRINT ON PARAMETERS ls_params NO DIALOG.
    * Display Table
      lr_table->display( ).
    add: Spool numbers can be found in TSP01 or in system field SY-SPONO available in the submitting program...
    Hope it helps,
    Kr,
    m.
    Edited by: Manu D'Haeyer on Sep 28, 2011 10:02 AM

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

  • How to restore Print Dialog Box file in Leopard?

    Does anybody know the location of the Print Dialog file in Leopard 10.5.3? Mine is gone corrupted!
    Many thanks!

    It sounds like you'll need to do a reinstall of the system software,

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

  • 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

  • WARNING: NEW-PAGE PRINT can no longer be used to print dialog box

    i am getting a warning as 'NEW-PAGE PRINT can no longer be used to print dialog box'. Please suggest what method can i use otherwise

    Please create a screenshot of the problem you're seeing by following the guide mentioned at [[How do I create a screenshot of my problem?]].
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    '''Try the Firefox Safe Mode''' to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.''
    ''(If you're not using it, switch to the Default theme.)''
    * You can open the Firefox 4.0+ Safe Mode by holding the '''Shift''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Don't select anything right now, just use "'Start in Safe Mode"''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again.''
    '''''If it is good in the Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one.
    Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''

  • SUBMIT command;  for print dialog box-how to pass parameter here?

    Hi Gurus,
    I am calling a report from another report. Inside report_2 i am using,
    When i execute report2, i get a PRINT DIALOG BOX
    Here i need to enter the output device name. and again excute.
    I am not able to automate this in my program. Could you suggest?
    Through F1 help, i found the screen_field name(of the output device parameter) to be 'SFPOUTPAR-DEST'
    and i enter default output device 'PDEST'
    where do i give this?
    and also, after this, i need to do a 'Print Preview' action and see if file is opening up.
    Can i automate these actions?
    I am using:
    rspar_line-selname = 'SFPOUTPAR-DEST'. // the output device parameter name
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'EQ'.
    rspar_line-low = 'PDEST'. // PDEST is the default value i want to pass
    APPEND rspar_line TO rspar_tab.
    Then i do, (inside report 2....)
    SUBMIT report_1
    WITH SELECTION-TABLE rspar_tab
    AND RETURN.
    Its not working... i just get the print dialog box(without values being defaulted)
    How do i proceed?
    Thanks,
    Rashmi

    Hi
    You can do the following way.
      data :  lv_pri_params     like pri_params,
              lv_user_name      type char16,
              lv_user_name0     like tbtcjob-authcknam.
      lv_user_name  = sy-uname.
      lv_user_name0 = sy-uname.
      call function 'LOAD_PRINT_PARAMETERS'
           exporting
                key            = lv_user_name
           importing
                out_parameters = lv_pri_params
           exceptions
                error_occured  = 1
                others         = 2.
      if sy-subrc <> 0 or lv_pri_params-pdest is initial.
        select single padest into lv_pri_params-pdest from tsp03.
      endif.
      submit report1
        with selection-table rspar_tab
                 destination             lv_pri_params-pdest
                 copies                  lv_pri_params-prcop
                 list name               lv_pri_params-plist
                 immediately             space
                 keep in spool           'X'
                 new list identification 'X'
                 line-count              lv_pri_params-linct
                 line-size               lv_pri_params-linsz
                 sap cover page          lv_pri_params-prsap
                 cover page              lv_pri_params-prbig
                 without spool dynpro
                 user lv_user_name
                 and return.
    Reward Points, if it is useful.
    With Regards
    Raja.
    Edited by: Ravindra Raja on Jun 24, 2008 4:15 PM

  • After the latest two updates, whenever Firefox starts, the print dialog box appears automatically. Why, and how do I stop this?

    Not much else to add. The print dialog box just opens every time Firefox is started or restarted.

    Check the Home page setting:
    *https://support.mozilla.com/kb/How+to+set+the+home+page
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Accessing properties of Print dialog box

    I am using the following line to populate the Print dialog box.
    xfa.host.print(1, "0", (xfa.host.numPages-1).toString(), 0, 1, 0, 0, 0)
    Is there any way that I can access Pages option using JavaScript with Adobe LiveCycle Designer 8.0 where I can show the page range to print?
    I want to print 3 copies of 1st Page and then the one copy of full PDF. So in the Pages option of Print dialog box I want to display 1,1,1,1-9. Is there any way to accomplish this programmatically?
    Or is there any better way to print 3 copies of 1st page and then 1 copy of whole pdf?
    Thanks.
    Niketa Parekh

    Hello,
    Thanks for response. I am not asking about (Print Screen List) properties.
    After  (Print Screen List), one more Pop ups screen will come. On that screen one Properties is there. I am asking about that.
    Regards
    Manoj

  • Print Dialog box wont appear when "Print Pages" from Bookmarks Window

    When I use the "print pages" option from the Bookmarks window the pages are sent directly to the default printer with the default settings. How do I get the print dialog window to appear if I select "print pages" from the Bookmarks window so that I may modify the print settings?

    I wasn't aware that you could get the print dialog box to appear after dragging a supported file to the alias, regardless of where it resided. I've never seen this happen on 10.4.x or 10.3.9 so I tested the Option key and found it didn't force the dialog box to appear either. Tried a few others keys also but no luck in getting the box to appear.
    Re the fierycupsfilter issue. EFI have released an updater that replaces the system-provided version and therefore stops the need to modify the ppd.

  • HT3669 Since I starting using my MacMini (2011 version) I have not been able to print double sided from my HP Photosmart plus - there is no option for this in the Printer dialog box as there was in the similar dialog box on my PC. How do I set up this opt

    Since I starting using my MacMini (2011 version) I have not been able to print double sided from my HP Photosmart plus - there is no option for this in the Printer dialog box as there was in the similar dialog box on my PC. How do I set up this option?

    1. You did not get an error message telling you that your iPhoto library was getting full. You got a message telling you that your HD was getting full, right?
    OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
    Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
    Your first priority is to make more space on that HD. Nothing else can be done until you do.
    Purchase an external HD and move your Photos and Music to it. Both iPhoto and iTunes can run perfectly well with the Library on an external disk.
    Your Library has been damaged from being run on an overfull disk.
    How much free space on it now?

  • How can I get print dialog box to show accurately?

    My print dialog box shows the image too large. If I go to print it prints correctly. I have tried updating drivers and reinstalling Illustrator. It has been happening since new update to CC.

    When viewing the print settings, in the Summary List, it shows the Paper width as 9 inches rather than 8.5.
    The Navigator window shows (in my test file) 4 plus signs across the top of an 8.5 by 11 inch page.
    The Print Preview in the Print Dialog shows  only 3.  My printer is set to standard 8.5 by 11 page size.
    Everything prints perfectly in CS6 when I bring the file in.

  • CS3 page setup: in print dialog box???

    I am confused about the page setup in CS3. Coming from Illustr. 10 if I started a drawing in landscape mode and wanted to change into portrait mode I had to change the document and page setup boxes. Now in CS3 there is only a document setup, the page setup is in the print dialog box. Can someone share some light on this?
    Thanks.
    Ulrich

    I think the process is now as it always should have been. It was crazy always having to go to two different dialog boxes just to change one setting. The thinking here is that Illustrator is now smart enough to know to automatically adjust the Page Setup settings for you -- if you rotate the document from Landscape to Portrait for example, AI should be able to figure out on its own that you want it to print that was as well.
    The main point here is that Page Setup options aren't needed much anymore -- most of the options are handled directly within Illustrator's Print dialog (and can hence be saved in Print Presets, etc).
    :) Mordy

  • How to turn off "Adobe PDF settings for Autodes AutoCAD documents" dialog box between pages of a batch conversion?  There is a check box for this purpose, but it is grayed out, and of course unusable?!

    How to turn off "Adobe PDF settings for Autodes AutoCAD documents" dialog box between pages of a batch conversion?  There is a check box for this purpose, but it is grayed out, and of course unusable?!

    How to turn off "Adobe PDF settings for Autodes AutoCAD documents" dialog box between pages of a batch conversion?  There is a check box for this purpose, but it is grayed out, and of course unusable?!

Maybe you are looking for

  • Acrobat 8 Standard on Win 7 Pro x64 Crash

    My Environment: New fresh install of Windows 7 Professional x64 - Latest drivers Adobe Acrobat 8.3.1 My Error: Acrobat operates normally when my users go through work procedures - creating forms, editing pages, using third-party add-ins. When they go

  • Hard drive is smaller error on factory reset

    I just replaced the hard drive on an HP Pavilion s5610y slimline, and it appeared successful as it began installing Windows.   I then got "the hard drive is smaller than one originally installed, cannot continue.  I replaced a 640 GB grive with a 1TB

  • How do I send photo to Facebook

    I feel stupid. How do I send a photo to Facebook?

  • Subscription not updated

    My Sype subscription minutes has not been updated since payment was taken on October 27 2011 although confirmation email rec'd stating that it has. Order number 542881515

  • Query regarding message - id.

    The use of message id xyz in the report statement specifies the standard message class for the main program. Now this standard message class has n number of simple messages already defined. How can i configure which message class I have to use for my