Adobe JavaScript printing page selection

Hello,
1) I succeeded printing documents using JavaScript with pp.firstPage and pp.lastPage. Now I would like to print several single pages (e.g. pages 4, 7, 10) within a single print job.
If I make several print jobs, the paper is ejected after each job. This should not happen, as I want to print in duplex mode.
Does anyone know, how to do this?
2) In the internet I could only find the JavaScript documentation for Adobe Version 6: https://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/Acro6JS1.pdf
Is there any newer version?
BTW: I am using the free version of Adobe which does not support all features.
Thanks for your help!

Thanks to Bernd Alheit and GKaiseril  !
The docu for Version 11 is:
http://help.adobe.com/livedocs/acrobat_sdk/11/Acrobat11_HTMLHelp/wwhelp/wwhimpl/js/html/ww help.htm?&accessible=true 
In the new docu for Version 11 I found the parameter which I looked for:
With PrintParams::printRange it is possible to print any selection of pages just in one print job. Multiple printing of a special pages is possible too.

Similar Messages

  • How to allow domain users to customize  Adobe PDF  printer page size in Printer Preferences

    Hi
    I am able to customize  Adobe PDF  printer page size in Printer Preferences in admin login but not able to customize  Adobe PDF  printer page size in domian users login...
    can I have a solution to customize  Adobe PDF  printer page size in domin user login

    WOW! I was amazed to see that within minutes of posting my initial thread, I tried something that works.
    Apparently, the only way is will actually convert is if you select the regular Print option in the File tab. Then, change the Printer to Adobe PDF & the Paper Size to 11x17. It also worked for 36"x48" becuase I created a custom size named "Poster", so I changed the paper size to Poster & it worked!
    I hope this helps someone. I searched for an existing forum on this issue off & on for MONTHS before creating this thread. If anyone has any suggestions why the Adobe PDF tab /PDF Maker wouldn't work, I'd like to know.

  • Adobe X Printing page ranges in pdf's with multiple sections

    I'm trying to print a page range in a document that is divided into sections that start over with page 1 or page i, and using an absolute page range doesn't work.  For example, the document has an initial cover page up to the Contents page numbered i - vi, then the Contents section is numbered i - iv, then the Figures section is numbered 1 - 2, then the Chapter 1 section is numbered 1 - 6, Chapter 2 is 1 - 14, etc.
    In Adobe X, the default toolbar with the print, mail icons, then the up and down arrows, is followed by a box with the "page number" in it followed by a page range in (); for ex., the box has '1' in it and the range shows (15 of 94).  If I was viewing the title page, the box would have 'i' in it followed by (1 of 94), etc.
    When I try to print, the dialog menu shows the "Print Range" of "All", "Current Page", and "Pages".  If I select "Pages" and enter the absolute number from the range in () like (15 of 94), and I want to print absolute page 15-35, and I enter that in the "Pages" box as 15-35, what I get is a section further in the document that I don't want at all, and not the desired page range.  In fact, since the sections all restart the page numbering, I can't even find the starting page because the print function is totally confused about what page I mean.
    In previous Acrobat versions, I had no trouble using the absolute page range since that is obviously required to get the desired range; i.e., Acrobat can't know what section I want, so for ex. putting page 1-10 can mean any section with 10 pages.  I don't know how to use a page range for sections, like 2.1 - 2.4 or 2-1 to 2-4 because the Page range box doesn't recognize that.  And again, the absolute page ranges don't work either.
    The only way to print this document is to select the "All" button.  If the doc is 1000 pages long, I don't want to waste all that paper!!  Please help!

    You can use the thumbnails pane and print pages selected within the pane.
    Have you tried other strings like:
    1 - 6 , 1 - 13

  • Can't print from Adobe Reader, "no pages selected to print"

    I can't print PDFs from Adobe Reader. I can print from any other program, just not Adobe Reader. When I click "Print", I get an error that says, "The document could not be printed". I click "OK" and then it says, "There were no pages selected to print". Even if I try to print a page at a time, it still won't work.  I have a Mac and my Adobe Reader is up to date. Any ideas?

    You should really ask in the Reader forum. Be sure to indicate the OS and printer you are trying to use, particularly if it is a network printer. Provide information about having installed the most recent printer driver if appropriate. When you open the print menu in Reader, do you have any printers in the list?

  • Printing page selection

    My Apple Macbook Pro's (Intel) 'Print Page' does not allow me to select non-successive pages for printing on my Brother printers, whereas my Dell PC allows it. Brother says to contact Apple. How do I get the right Presets or Apple software or PPD?

    Thanks to Bernd Alheit and GKaiseril  !
    The docu for Version 11 is:
    http://help.adobe.com/livedocs/acrobat_sdk/11/Acrobat11_HTMLHelp/wwhelp/wwhimpl/js/html/ww help.htm?&accessible=true 
    In the new docu for Version 11 I found the parameter which I looked for:
    With PrintParams::printRange it is possible to print any selection of pages just in one print job. Multiple printing of a special pages is possible too.

  • Adobe X1 print page

    As with adobe X the print page is too big for my computer. The print/cancel bottons are under the tool bar. What's the fix?

    What is your screen resolution?  See http://www.adobe.com/products/reader/tech-specs.html

  • Adobe Form - Print page at the end for every record of a Z table with Text

    Hello friends, I am facing a challenging here and I need to develop the following below. Mind you, I don't have much exposure/experience with Adobe Forms
    Scenario: Standard REAL ESTATE Contract Form
    I have a Z table containing RENTAL OBJECTS, in my case 3 records and I want, at the end of the form print one page like below to each record that i have in my Z table.
    "Dear Z-field1 one, regarding your contract for Z-field2, Address Z-field3, blah blah blah"
    In essence, print a page for each one of them at the end, with the text above using the fields from the z table.
    I searched the forum and couldn't find any thing like it.
    If someone can help it would be much appreciated.
    Thanks, Marco

    Hi Marco,
    You must be having the ztable fields in the context or in the data heirarchy of the adobe form.
    Assume that your main form is on the page1.
    Create a table bound to ztable with 3 rows in it and make it invisible on the form.
    Below the form create 3 pages page2, page3 and page4.
    Create a ISR text display and on the initialise event write the code such as:
    this.rawValue = data.page1.Table2.Row1.Cell1.rawValue;
    Create as many ISR texts as you want and initialize it using the above method.
    Page1
    form
    Page2
    Row1 values
    Page3
    Row2 Values
    Page4
    Row3 Values
    Hope this helps.

  • Cannot print document - No pages selected - Adobe Reader XI

    Using Adobe Reader XI on a Windows 8.1 machine driving a Brother DCP-7055 printer via a network-linked Windows 7 machine to print 16-page document in Booklet format.  This worked well yesterday, but this morning, with no changes to the system, so far as I am aware, I get Cannot print document - no pages selected on both the W8.1 and W7 machines.  Same result trying to print ANY pdf from either machine.  The same pdfs print OK using alternative pdf software (Nitropdf) but I need the booklet format option. Any solutions?  Any suggestions.

    That 'Protected Mode' causes so many troubles (hangs, crashes, limited functionality, ...) that I have been recommending to disable it for a long time in this forum.  I don't know if Adobe is aware of the problem; maybe someone should report it officially: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    I personally have never experienced the problem; I have Protected Mode enabled on all my systems.  But there are so many reports in this forum every week that it's clear that something is wrong with it.

  • Adobe Reader 11.0.10, will not print.  Mssg "There were no pages selected" How do I print?

    Adobe Reader 11.0.10, will not print.  Mssg "There were no pages selected", even with pages selected.  Tried "Image", same mssg err.;  Printer has latest drivers.  Printer prints everything else (browsers, docs, .xls), but not Adobe.  Used cleaner to unistall, received Error: 5 on GetNamedSecurityInfo, and Could  Not Set Owner.  Any help would be greatly appreciated.  Thx

    Thank You very much !!!
    Security (Enhanced): disable 'Protected Mode at startup'
    has me back printing 
    How do I mark that you resolved my problem?

  • Adobe wont print, no page selected

    I am experiencing a problem with my Windows 64 bit workstation, trying to print an extra-large (60"X90") poster to my HP Plotter.
    The Print dialog box shows the project divided vertically in three 36" wide strips, which should work out with my plotter loaded with 36"paper.
    But when I select "Print" from the print menu, I get the Adobe "i" message "The document could not be printed" followed by another "i" message "There were no pages selected to print".
    I checked, and of course the "all" button is selected in "Pages to Print

    Hi edhelbig,
    I'm sorry that you haven't received a response yet. Let's see what we can figure out.
    Can you please tell me a bit more about your setup? Are you printing from Reader or Acrobat, and which version do you have? To that end, make sure that you have the most current version of either Reader or Acrobat installed by choosing Help > Check for Updates. Updating has resolved the issue for several customers facing the same issue. It's also important that you have the most current version of the printer driver for your plotter (you can check HP's website for that information.)  But if that doesn't do the trick, here are some other things to try:
    In the Acrobat/Reader preferences, click Document, and choose Never from the View Documents in PDF/A Mode pop-up menu.
    Try printing another PDF with similar dimensions to the same printer. Does it print without error? If so, the PDF that's causing the error may not be well-fomed, and that could certainly cause the error that you're seeing.
    Please give those things a go, and then let us know whether you were able to print successfully.
    Best,
    Sara

  • Adobe Acrobat XI will not print to pdf. Error message says no pages selected.

    When I try to print a document created with Acrobat XI (recently updated), I get an error message telling me that no pages were selected. On the print window the "All" radio button is selected but the others are grayed out and not selectable. This was not a problem before I upgraded to XI.

    Hi marsha's angels,
    Please see No pages selected printing error (Printing & Prepress).
    If the solutions listed there don't do the trick, please let us know. It'll help us narrow down the problem if you can let us know what operating system you have, and whether the printing error is specific to one file, or occurs with any file that you try to print.
    Best,
    Sara

  • Adobe Reader XI 11.0.10 "there were no pages selected to print"?

    Help, I came into the office this morning and need to print forms for a client...and I can't print!  I got the message that "There were no pages selected to print".  How can I fix this?

    Hi Scott,
    I am so sorry for the inconvenience caused, lets try to resolve your issue.
    Try the "Print as Image" option. Click the Advanced button in the Print dialog box to find this option. Maybe that specific PDF is not well formed.
    Please refer to this KB doc. in order to troubleshot the issue Troubleshoot PDF printing | Acrobat, Reader
    Let me know if you still experience any issue, we will be happy to help you.
    Regards,
    Aadesh

  • Print page range set thro Javascript issue in Acrobat 8.0

    Hi,
    I coded to a bookmark as below in a PDF Using Adobe Acrobat.
    this.print({bUI:false, nStart:0, nEnd:1, bSilent: true});
    when i click the bookmark the print panel opens with all pages selected. The same working fine with Acrobat 9.0 and other readers. The problem persist only in Acrobat 8.0.
    Is it a bug in Acrobat 8.0?

    You mean, Edit>preferecnces (ctrl+k)
    Javascript--- Enable Acrobat Javascript (check box)
    Yes, it's enabled. When i click the bookmark, the Print dialog box opening, which means the Javascript is running. But Print page range is set to All, It suppose to be 1-2.

  • How to print page numbers in adobe form

    Hi,
    Can anybody tell me how to print page numbers in adobe form.
    Thanks in advance
    Chaitanya

    Hi,
    Yes the field page n of m is used normally for printing page numbers. But it won't display the current page of total pages by itself. You have to set the run time property to n (current page ) and m (Total number of pages). Carefully select the # (current page ) and ## (Total number of pages). Hope this works for you.
    My requirement is to have the user control on current page. For Example:
    Example for a Invoice with 5 PO items (stands on 2 pages) :
    1st  page is the letter : no page number
    2nd page is the 1st page of the 1st copy of the invoice : we should read u201C1 / 2u201D
    3rd page is the 2nd page of the 1st copy of the invoice : we should read u201C2 / 2u201D
    4th page is the 1st page of the 2nd copy of the invoice : we should read u201C1 / 2u201D
    5th page is the 2nd page of the 2nd copy of the invoice : we should read u201C2 / 2u201D
    Presently i cam getting the current page number for page 4th as 3 / 2 and for 5th page 4 / 2. I could able to control the total number of pages from print program. But when i am printing the second copy (4th and 5th pages), I couldn't able to control the current page number. I need to initialize the Current page count (4th page ) as 1.
    I have used the follwing java scripting:
    this.rawValue = wv_pages - xfa.layout.page(this)
    where wv_pages is total no of pages calculated from print program.
    Please help me in this regard with some formcal or java scripting conditions.
    Thank You,
    Regards,
    Naresh.

  • Document could not be printed - no pages selected to print

    I am running into this well-known issue with several documents, but unfortunately none of the fixes I have come across have worked. Some background:
    -Using Windows 7 Pro
    -Happening with both Adobe Reader XI and Acrobat X, clean installs. and happening on multiple computers, with multiple printers, with multiple domain users.
    -Have tried repairing both installations, no success.
    -Have tried disabling protected view, changing size of the fit, letting printer determine colors, printing in greyscale, changing setting for "view documents in PDF/A mode" to "never."
    -Print as image works, but quality is unacceptable.
    -It seems to be isolated mainly to Xerox printers, as I have no issues printing to an HP printer. I am trying different models of Xeroxes with no success, however. I have reinstalled printer driver and verified updated driver for all, issue persists. Printer models are Xerox ColorQube 8700X and 9203
    -The PDFs are from different sources, so I can't pinpoint it to one website. Documents contain various financial info, so I can't post here. Any help would be appreciated. I'm probably going to have to try a different pdf reader for these, but that is not ideal, since multiple people need to print these and are comfortable using Adobe software.

    I was also receiving the message "The Document Could Not be Printed" I am on 10.6.4 with Acrobat 9.4.1. I did not get the second part of the message though "There were not pages selected to print". Anyway, I got mine to work by going to Preferences - Print & Fax. I selected my printer and clicked Options & Supplies. Under the driver tab I changed the "Print Using:" box to Generic PostScript Printer. I'm not sure if this is what you are supposed to do. I'm not an expert but it worked for me so I am going with it.

Maybe you are looking for