Specifying page range

Ok trying to merge some templates and scripts I have to one export an .indd file would like different options per page(s).
Here's what I currently have, that I would like to change to specify pages 1-13:
var myPageName, myFilePath, myFile;
var myDocument = app.documents.item(0);
var myBaseName = myDocument.name;
for(var myCounter = 0; myCounter < myDocument.pages.length; myCounter++){
myPageName = myDocument.pages.item(myCounter).name;
app.pdfExportPreferences.pageRange = myPageName;
and also have export as:
myFilePath = dirPath + docType + "/" + fileName;
myFile = new File(myFilePath);
myDocument.exportFile(ExportFormat.pdfType, myFile, false);
Here's is another script, that I would like to change to specify pages 14-17:
var myPageName, myFilePath, myFile;
var myDocument = app.documents.item(0);
var myBaseName = myDocument.name;
for(var myCounter = 0; myCounter < myDocument.pages.length; myCounter++){
myPageName = myDocument.pages.item(myCounter).name;
app.jpegExportPreferences.jpegExportRange = ExportRangeOrAllPages.exportRange;
app.jpegExportPreferences.exportResolution = 96;
   app.jpegExportPreferences.pageString = myPageName; 
and also have export as:
myDocument.exportFile(ExportFormat.jpg, File(myFilePath), false);
So how can I specify some pages to export as .pdf and some others to export as .jpg with a dpi. of 96?
Thanks in advance,
Joe

Fixed it here it is:
   app.jpegExportPreferences.pageString = myPageName, "14-17"; 

Similar Messages

  • Remove footer from specified page range

    I am modifying a pdf with a sequence of footers (A, B, C, D...) that mark subsections in the text. I removed all pages in subsection B, and would now like to update the following footers to reflect the change (make C the new B, D the new C, and so forth). However, Acrobat does not seem to recognize that the footers after A exist. When I open the "Add" or "Update" dialogue boxes, I get only the information for footer A, even when I specify the page range for other footers. So I also get bizarre preview results in which the footer text and the footer displayed do not match up (image below). I've found no way to remove or replace footers after A. Advice appreciated!!
    Running Mac OS 10.6.8 with Acrobat 10.1.1

    You can do customize discoverer viewer/plus using EM console
    Thanks,

  • How to save a specified page range in a multi page form

    Hi,
    I'm working on a multipage PDF document consisting of several electronic forms. At the end of each form there is a SUBMIT button to send the form via email. Is there a javascript to specify the page range that gets submitted, so that only the one form that is filled out gets submitted, rather than the enitre PDF?
    Many Thanks!

    I don't think that what he had in mind:
    here is what I think he wants though I don't know if possible in Acrobat. (Maybe indesign but never used indesign).
    he has 3 forms that span over a 10 page PDF. (this is all suposition)
    Say they are not necessarily related. Or do not have to all be filled out even if related.
    say first form is 3 pages long and has a Submit buttonon 3. The next starts a page 4 and goes to end of page 7 where there is a submit button. Finally the 3rd form starts at 8 and finishes at 10 where there is a submit Button.  Posibiliy there is a Submit All button  on 10 also.
    Submit button 1 would only submit 1-3
    Submit button 2 would only submit 4-7
    Submit button 3 would only submit 8-10
    Submit all would submit 1-10
    I don't if an extract and send would work.

  • Acrobat Pro V8.1.2 "Invalid Page Range" Error - Rotate Pages

    Hi,
    I have Adobe Acrobat Professional version 8.1.2. For the last couple of weeks every time I try to rotate a page in any direction I get the following error:
    "Invalid Page Range" (OK)
    I have tried every combination of options for amount of rotation and page range (all, selected, specify). No matter what I do I get the same message. I have tried this on several different documents both encrypted and unencrypted.
    Does anyone have any ideas?

    I know this is nearly 4 years late, and I realise this may not have been the cause with the original post, but for the sake of covering this issue for anyone who searches and lands on this page:  The most common cause for receiving this "invalid page range" error when attempting to rotate pages is becaue the option for "Even and Odd Pages," "Even Pages Only," or "Odd Pages Only" drop-down choices are inconsistent with the selection.  For example, if you're trying to rotate just page 1, but the selection "Even Pages Only" is slected, then you will receive this error.  You will find this option in the options window that appears when you click the Rotate command.
    Just my two cents after trying to remedy this over and over with users.
    Cheers!

  • Table of Contents - Page Range

    I am formatting a catalog in Indesign CS5 and I am trying to work out snags now before our vendors send in their files.  I have a simple template with the Product Classification and the Section at the top of each page (created as master pages, different master for each section but all based on the same master) and I want to automate a Table of Contents to include each Product classification.  I formatted each product class with the same paragraph style and when I generate the TOC, it simply lists each page number instead of a range which is what I would expect it to do.  For example:
    Product Classification A........2
    Product Classification A........3
    Product Classification A........4
    The same product class runs across multiple pages,  and because I have the paragraph style applied in the master page they show up as individual TOC entries.   I was wondering if there was a way to automate the TOC with page ranges, instead of just each instance of the paragraph style.  The only workaround I could come up with was just including the text that I want to show in TOC on a hidden layer on the first page of the page range with the correct paragraph style applied to each one and then typing the range in manually after my whole catalog is finished.  Or I could just let ID do its thing and then delete the unecessary entries when it's updated.
    I need it to look like this:
    Product Classification A.......2-4
    Product Classification B.......5-10
    Better yet, I need the heirarchy to look like this if possible:
    Section
         Product Classification A.......2-4
         Product Classification B.......5-10
    In order for items to show up in an automated TOC, they have to be overridden in the document (if they are on master pages)...so I don't think I could even automate it this last way unless I would override all master items, which would cause more harm than good in this case ( I never know when something might change).
    Could someone offer a solution or another workaround that might be easier than just typing out the TOC and formatting it by hand?
    Thanks in advance.

    The commercial InDesign Cross-References Plug-In from dtptools.com might work for you. There are some free supplementary scripts mentioned on the product page that you can request. One creates a TOC by using cross-references to extract source content that you specify. It works a lot like the built-in InDesign TOC tool, but it may be more customizable. There's a free trial. If you can't make it do what you need, often an email to their support techs will get a prompt reply (allowing for time differences between Europe and wherever you are) and some useful suggestions.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    samallen3 wrote:
    I am formatting a catalog in Indesign CS5 and I am trying to work out snags now before our vendors send in their files.  I have a simple template with the Product Classification and the Section at the top of each page (created as master pages, different master for each section but all based on the same master) and I want to automate a Table of Contents to include each Product classification.  I formatted each product class with the same paragraph style and when I generate the TOC, it simply lists each page number instead of a range which is what I would expect it to do.  For example:
    Product Classification A........2
    Product Classification A........3
    Product Classification A........4
    The same product class runs across multiple pages,  and because I have the paragraph style applied in the master page they show up as individual TOC entries.   I was wondering if there was a way to automate the TOC with page ranges, instead of just each instance of the paragraph style.  The only workaround I could come up with was just including the text that I want to show in TOC on a hidden layer on the first page of the page range with the correct paragraph style applied to each one and then typing the range in manually after my whole catalog is finished.  Or I could just let ID do its thing and then delete the unecessary entries when it's updated.
    I need it to look like this:
    Product Classification A.......2-4
    Product Classification B.......5-10
    Better yet, I need the heirarchy to look like this if possible:
    Section
         Product Classification A.......2-4
         Product Classification B.......5-10
    In order for items to show up in an automated TOC, they have to be overridden in the document (if they are on master pages)...so I don't think I could even automate it this last way unless I would override all master items, which would cause more harm than good in this case ( I never know when something might change).
    Could someone offer a solution or another workaround that might be easier than just typing out the TOC and formatting it by hand?
    Thanks in advance.

  • Print Microsoft Word page range

    Is there a way for me to only print from page 11 to page 14 using the following script?
    $objWord = New-Object -comobject Word.Application
    $objDoc = $objWord.Documents.Open("c:\test.docx")
    $objDoc.PrintOut()
    $a = $objWord.Quit()

    Hi Sergio.murteira,
    There are many parameters available in the method
    PrintOut, and you can use the "pages" to specify the page range, however, you also need to input all the other parameters listed before "pages" parameter.
    And this thread for your reference:
    Word's PrintOut method
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support

  • How to print a page range in Word 2011

    Hello
    I would like to print only a certain rage of pages of a large Word 2011 document. However, when I enter "from page"  = 5 and "to page" = 7, my MacBook and my MacMini oth print always the whole document.
    I tried it on three diffrent printer (Canon, Lexmark and Xerox), but got always the same result.
    I read some articles that you have to enter the section, but neither in the field from page or to page I am able to enter letters like "s5" or "p5" and I don't have the ofion "page range in any of the printer driver.
    I also tried diffrent documents, new documents created on Mac, small documents with only two pages and large documents with 200 pages. Allways the same result, Word prints the whole document.
    I use the latest office for Mac version and also the latest OSX 10.8.3.
    How can I print only certain pages??
    Thanks for any help,
    Rolly

    Maybe this will help. If you monitor the "More Like This" box (top right), other threads appear. Opening them usually displays other threads.
    https://discussions.apple.com/message/20070939#20070939
    https://discussions.apple.com/message/16608360#16608360

  • How can I navigate to the specified page?

    h5. I'm a novice in JavaServer Faces.
    today i meet a problem that i can not navigate to the specified page in my application.
    the version of the jsf API is : jsf-1.1_02-b08
    my web.xml is configed as following:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4"
    xmlns="[http://java.sun.com/xml/ns/j2ee]" xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance]"
    xsi:schemaLocation="[http://java.sun.com/xml/ns/j2ee] [http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd]">
    <display-name>JavaServerFaces</display-name>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>faces/Charpter1/HelloWorld.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    my faces-config.xml is configed as following:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC
    "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
    "[http://java.sun.com/dtd/web-facesconfig_1_1.dtd]">
    <faces-config>
    <managed-bean>
    <managed-bean-name>
    helloBean
    </managed-bean-name>
    <managed-bean-class>org.jia.hello.HelloBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
    <from-view-id>Charpter1/HelloWorld.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>Charpter1/GoodBye.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    my HelloWorld.jsp is like this:
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "[http://www.w3.org/TR/html4/loose.dtd]">
    <%@ taglib uri="[http://java.sun.com/jsf/core]" prefix="f"%>
    <%@ taglib uri="[http://java.sun.com/jsf/html]" prefix="h"%>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>JSF In Action - Hello, World!</title>
    </head>
    <body>
    <h:form id="welcomeForm">
    <h:outputText id="test" value="Welcome to JavaServer Faces!"
    style="font-family: Arial, sans-serif; font-size:24; color:green" />
    <p><h:message id="errors" for="helloInput" style="color:red" /></p>
    <p><h:outputLabel for="helloInput">
    <h:outputText id="helloInputLabel" value="Enter number of controls to display:" />
    </h:outputLabel>
    <h:inputText id="helloInput" value="#{helloBean.numControls}"
    required="true">
    <f:validateLongRange minimum="1" maximum="500" />
    </h:inputText></p>
    <p><h:panelGrid id="controlPanel"
    binding="#{helloBean.controlPanel}" columns="20" border="1"
    cellspacing="0" /></p>
    <h:commandButton id="redisplayCommand" type="submit" value="Redisplay"
    actionListener="#{helloBean.addControls}" />
    <h:commandButton id="goodByeCommand" type="submit" value="GoodBye"
    action="#{helloBean.goodBye}" immediate="true"/>
    </h:form>
    </body>
    </html>
    </f:view>
    the content of the HelloBean.java is as following:
    package org.jia.hello;
    import java.util.List;
    import javax.faces.application.Application;
    import javax.faces.component.html.HtmlOutputText;
    import javax.faces.component.html.HtmlPanelGrid;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    h5. public class HelloBean {
    private int numControls;
    private HtmlPanelGrid controlPanel;
    h5. public int getNumControls() {
    return numControls;
    h5. public void setNumControls(int numControls) {
    this.numControls = numControls;
    h5. public HtmlPanelGrid getControlPanel() {
    return controlPanel;
    h5. public void setControlPanel(HtmlPanelGrid controlPanel) {
    this.controlPanel = controlPanel;
    h5. public void addControls(ActionEvent actionEvent) {
    Application application = FacesContext.getCurrentInstance()
    .getApplication();
    List children = controlPanel.getChildren();
    children.clear();
    for (int i = 0; i < numControls; i++) {
    HtmlOutputText output = (HtmlOutputText) application
    .createComponent(HtmlOutputText.COMPONENT_TYPE);
    output.setValue(" " + i + " ");
    output.setStyle("color: blue");
    children.add(output);
    public String goodBye() {
    return "success";
    h5.
    when I run the application, HelloWorld.jsp can be displayed correctly, but when i click the "GoodBye" button in the HelloWorld.jsp, the page can not skip from current page to GoodBye.jsp, I noted that, the URL in my browser is: [http://localhost:8080/JavaServerFaces/faces/Charpter1/HelloWorld.jsp;jsessionid=D7F83C0F448E5B5AAD5897BEB5667A67]
    Then I try to replace the "GoodBye" button's action with "success" directly, but the problem is still occured.
    I could not know how this problem is caused, could you help me?

    BalusC wrote:
    zhangzhexin wrote:
    today i meet a problem that i can not navigate to the specified page in my application.This can have several causes: a validation or conversion error has occurred, or the navigation case doesn't match.please note that my "GoodBye" button use the property "immediate" and set "true" to it.
    the version of the jsf API is : jsf-1.1_02-b08
    This is over 3 years old. It would be smart to upgrade to the most recent version. Get it here: [http://javaserverfaces.dev.java.net].
    I think the problem of navigation does not have a relationship with the current jsf API version I used.
    [lot of unformatted code]Please use code tags to post your code. They will be nicely formatted and better readable. Press the CODE button to get them.I have used the code tag to format my code.
    I could not know how this problem is caused, could you help me? Add <h:messages/> to the page to get notified of any missing validation or conversion errors. Verify using the JSF manual/tutorial if the navigation case is correct.In HelloWorld.jsp, I have used the <h:mesage/> and when I click the GoodBye button, the HelloWorld is refreshed only, there are not any error messages or validation messages displaied on the HelloWorld.jsp page.
    I will repaste my code with code tag,
    My web.xml is configed as following:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4"
         xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
         <display-name>JavaServerFaces</display-name>
         <servlet>
              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>/faces/*</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
              <welcome-file>faces/Charpter1/HelloWorld.jsp</welcome-file>
         </welcome-file-list>
    </web-app>My faces-config.xml is configed as following:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC
        "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
        "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config>
         <managed-bean>
              <managed-bean-name>
                   helloBean
              </managed-bean-name>
              <managed-bean-class>org.jia.hello.HelloBean</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         </managed-bean>
         <navigation-rule>
              <from-view-id>/HelloWorld.jsp</from-view-id>
              <navigation-case>
                   <from-outcome>success</from-outcome>
                   <to-view-id>Charpter1/GoodBye.jsp</to-view-id>
              </navigation-case>
         </navigation-rule>
    </faces-config>and my HelloWorld.jsp is as following:
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
         pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <script language="javascript">
         function init(){
              document.getElementById("welcomeForm:helloInput").value = "";
    </script>
    <f:view>
         <html>
         <head>
         <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
         <title>JSF In Action - Hello, World!</title>
         </head>
         <body onload="javascirpt:init();">
         <h:form id="welcomeForm">
              <h:outputText id="test" value="Welcome to JavaServer Faces!"
                   style="font-family: Arial, sans-serif; font-size:24; color:green" />
              <p><h:message id="errors" for="helloInput" style="color:red" /></p>
              <p><h:outputLabel for="helloInput">
                   <h:outputText id="helloInputLabel" value="Enter number of controls to display:" />
              </h:outputLabel>
              <h:inputText id="helloInput" value="#{helloBean.numControls}"
                   required="true">
                   <f:validateLongRange minimum="1" maximum="500" />
              </h:inputText></p>
              <p><h:panelGrid id="controlPanel"
                   binding="#{helloBean.controlPanel}" columns="20" border="1"
                   cellspacing="0" /></p>
              <h:commandButton id="redisplayCommand" type="submit" value="Redisplay"
                   actionListener="#{helloBean.addControls}" />
              <h:commandButton id="goodByeCommand" type="submit" value="GoodBye"
                   action="success" immediate="true"/>
         </h:form>
         </body>
         </html>
    </f:view>my managed bean's content is like this:
    package org.jia.hello;
    import java.util.List;
    import javax.faces.application.Application;
    import javax.faces.component.html.HtmlOutputText;
    import javax.faces.component.html.HtmlPanelGrid;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    public class HelloBean {
         private int numControls;
         private HtmlPanelGrid controlPanel;
         public int getNumControls() {
              return numControls;
         public void setNumControls(int numControls) {
              this.numControls = numControls;
         public HtmlPanelGrid getControlPanel() {
              return controlPanel;
         public void setControlPanel(HtmlPanelGrid controlPanel) {
              this.controlPanel = controlPanel;
         public void addControls(ActionEvent actionEvent) {
              Application application = FacesContext.getCurrentInstance()
                        .getApplication();
              List children = controlPanel.getChildren();
              children.clear();
              for (int i = 0; i < numControls; i++) {
                   HtmlOutputText output = (HtmlOutputText) application
                             .createComponent(HtmlOutputText.COMPONENT_TYPE);
                   output.setValue(" " + i + " ");
                   output.setStyle("color: blue");
                   children.add(output);
    }I use the Tomcat 5.5.27 as the web container.
    I can't understand why the page can not be navigated to the GoodBye.jsp when I click GoodBye button on the HelloWorld.jsp.
    I really need your help. thanks.

  • Printing page range in document with more than one page #1

    I have an insurance application which has 24 pages numbered 1-6 then restarting 1-18.  This is not just the page # at the bottom of the page but the page number that Adobe Free Reader is showing.  When on the last page the top of the screen shows [18] 24 of 24. 
    I want to print the first page 5 which works fine when I print current page or a page range.  Then I want to print 1-12 of the second section which I have tried printing as 7-18.  This gave me the pages numbered 7-18 of the second section.  But if I try printing page 1-12 I get 18 pages or 1-6 + 1-12.
    Any help would be appriciated.
    Thanks,
    Paul

    Change the Preference from using logical pages to physical pages and then select the physical pages.
    You should provide unique names for the page numbers when you apply page numbers to the PDF and you need to fix them if you merge PDFs.

  • Print multiple page ranges based on radio button group choices

    Hi ... I have a PDF that is a combined application form made up of 6 separate forms. On the front page, I have 6 groups of "Yes / No" radio buttons.
    If the radio button for one or more of these groups is selected as "Yes" then when the Print button (on the page) is clicked then the appropriate page ranges will print.
    It is desireable, though not essential, for these to be printed in one print job.
    The Code I have been adjusting to try and achieve the result is below but I have tied myself in knots now and any help would be greatly appreciated:
    Many thanks
    //<AcroForm>
    //<ACRO_source>PrntForms:Annot1:MouseUp:Action1</ACRO_source>
    //<ACRO_script>
    /*********** belongs to: AcroForm:PrntForms:Annot1:MouseUp:Action1 ***********/
    var nButton = app.alert({
    cMsg: "Your selected forms will be sent to your default printer.\n\nIf you require to print to an alternative printer, press cancel and select 'Print' from the 'File' menu.",
    cTitle: "Submit Forms for Printing?",
    nIcon: 1, nType: 1
    // array for button responses
    //var aResponse = new Array("OK", "Cancel");
    if(nButton == 1)
    {    this.print({ bUI: false, bSilent: true, bShrinkToFit: true, nStart: 1, nEnd: 1 });
    } else
    if(nButton == 0)
    {    this.Exit
    var a_app;
    if(this.getField("AppForm1”).value=="Yes"){
        a_app = "1, 1";
    } else a_app = "0, 0"
    var b_app;
    if(this.getField(“AppForm2”).value=="Yes"){
        b_app = "2, 2";
    } else b_app = "0, 0"
        var pp = this.getPrintParams();
              pp.interactive = pp.constants.interactionLevel.full;
              pp.printRange=[[a_app], [b_app]];
              this.print(pp);
    //</ACRO_script>
    //</AcroForm>

    Hi Gilad D
    The 'printRanges.push' function works well on my Mac using Adobe Acrobat Pro XI however when it is used on the systems that the form users will be working on (which runs Adobe Reader 9.4.0.195) the ranges are not pushed to the printer dialogue box and the 'printRange'
    in the dialogue is still selecting the 'All Pages' radio button.
    Is the printRanges.push function a new and non-backwards-compatible function or is my code the problem
    //<AcroForm>
    //<ACRO_source>PrntForms:Annot1:MouseUp:Action1</ACRO_source>
    //<ACRO_script>
    /*********** belongs to: AcroForm:PrntForms:Annot1:MouseUp:Action1 ***********/
    var printRanges = [];
    if (this.getField("RBG10").value=="Yes") printRanges.push([0,2]);
    if (this.getField("RBG1").value=="Yes") printRanges.push([3,18]);
    if (this.getField("RBG2").value=="Yes") printRanges.push([19,27]);
    if (this.getField("RBG3").value=="Yes") printRanges.push([28,38]);
    if (this.getField("RBG4").value=="Yes") printRanges.push([39,42]);
    if (this.getField("RBG5").value=="Yes") printRanges.push([43,54]);
    if (this.getField("RBG6").value=="Yes") printRanges.push([14,16]);
    if (this.getField("RBG7").value=="Yes") printRanges.push([55,56]);
    if (this.getField("RBG8").value=="Yes") printRanges.push([57,65]);
    if (this.getField("RBG9").value=="Yes") printRanges.push([66,71]);
    if(printRanges.length>0){
       var pp = this.getPrintParams();
                pp.interactive = pp.constants.interactionLevel.full;
                pp.printRange=printRanges;
                this.print(pp);
    }else app.alert("No page ranges are selected");
    //</ACRO_script>
    //</AcroForm>
    Any assistance is greatly appreciated.
    Many thanks

  • 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

  • How to hyphenate page ranges in InDesign CS4 Index

    Hello,
    Does anyone know how to automatically hyphenate page ranges in an index in InDesign CS4?  In other words, if I generate an index with a reference on multiple consecutive pages, it looks like this:
    Entry 1, 4, 5, 6, 7, 8, 9, 10
    Obviously, this is much more cluttered than if it could read:
    Entry 1, 4-10
    I'm wondering if anyone knows whether there is an option to cause InDesign to do this automatically.  I'd hate to have to go through and do it by hand.
    Thanks in advance,
    Professor F

    Thanks very much, Jong, this is a helpful start.  Unfortunately, it creates a new problem for the one it solved; when I run it, it will insert page numbers after the first letter of the index entry.  So
    Certificate of insurance 389, 390, 391, 392
    becomes:
    C, 389–92
    ertificate of insurance 390, 392
    I regret that I don't know anything about scripting.  Is there some way to fix this, either through InDesign settings or by adjusting Peter's script?
    Many thanks!
    F

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

  • Print each page range double sided as new task

    Hi All,
    I have that problem. I would like to double sided print some pages from pdf file - let's say pages 1 to 5. But I want them to print like this - pages 1-2 on the first sheet of paper, page 3 on the second sheet (the other side of this sheet I want to be blank) and pages 4-5 on the third sheet.
    If I type page ranges 1-3,4-5 when printing the result will be the same if I would type page range 1-5, so pages 1-2 will print on first sheet, pages 3-4 on the second sheet and page 5 on the third sheet. That's not what I want.
    The only solution is to first print pages 1-3 and then open printing dialog box again and print pages 4-5 so they would be two separate tasks for printer. But this is very time consuming when working with large files.
    I do not have Adobe Acrobat to insert blank page after each section that is odd numbered so this is no solution for me.
    Could you please help? Any ideas how to work this out? Is there any printing set up to print each page range as separate task?
    Or maybe there is a way to double sided print odd numbered page ranges with an additional blank page at the end so that the next range would start on new sheet?
    Thank you in adavnce

    dear ,
    check ur printer settings , bcos u are using std.program , so i cannt say SAP is doing wrong , better to check ur printer settings
    Regards
    prabhu

  • OfficeJet 8600 doesn't print full page range from pdf with Mac OS X

    I have an OfficeJet Pro 8600 linked to a Mac with OS X Mavericks
    We often need to print a block of pages (say the first 40, or 10-20 out of the middle) out of large pdf documents of 250pg or more. To do so we put in the page range under 'pages' in the print instructions box.
    The printer sometimes prints an initial block of pages, then cuts off. If we then try to print the remaining pages, it starts by printing the whole range again, with the ones we already have, and then still cuts off maybe after having done 2-3 more than the first time round. To print the whole range we've eventually had to print the last pages one at a time.
    Any suggestions as to why this is happening, and how we can stop it? It happens with documents in Adobe Reader and web pages.
    Thanks for any assistance.

    Hi @NickRN8 
    I am not sure what is causing the inconsistency in selected pages not printing, but I'd be happy to help.
    Let's reset the printing system, repair disk permissions, re-add the printer using the right driver, and try to scan again.
    Reset Printing System
    Click the Apple icon (   ), and then click System Preferences.
    In the Hardware section, click Print & Fax/Scan. The Print & Fax/Scan  dialog box opens.
    Right-click (or  Ctrl  +click) in the left panel, and then click Reset printing system…
    Click OK to confirm the reset.
    Type the correct Name and Password.
    Click OK to reset the printing system. The Print & Fax dialog box shows no printer selected
    Note: This will remove all printers in the print and Fax/Scan, any printer removed can be re-added later by clicking the plus (+) symbol.
    Repair Disk Permissions
    On the Dock, click Applications, and then click Utilities.
    Double-click Disk Utility.
    Highlight your hard drive/partition on the left (by default this is "Macintosh HD").
    Click the Repair Disk Permissions button at the bottom of the window.
    Once the repair is complete, restart the computer and add the printer back.
    When you add the printer, please ensure you are using the HP driver.
    Select Add other Printer or Scanner                                                      
    Select the printer you are adding and next to 'Use' you can select the printer driver 
    I look forward to hearing from you. If the issue remains unresolved, I will post instructions to completely scrub the HP software from the computer and start fresh.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

Maybe you are looking for

  • How to connect Oracle database in VC++.06

    How to connect Oracle database in VC++.06 please give me details

  • Unable to start print job. Is printer availble? CS3 loaded on Windows 7 64bit

    Hello to everyone: I have a network of PC's. As part of their basic install I load on CS3. I have started to incorporate Windows 7 and found the following problem on all of them but not on any of the XP's. When my users try to print from Acrobat 8 th

  • Black update for 620

    Tell me when I get black update in my Lumia 620 I live in India and almost in Lumia all devices have black update except 620 and 720 so tell me when I should get black update for my 620.

  • WWC-43176 when register Oracle Discussion Forum Portlet.

    Hi, i want to install the Oracle Discussion Forum Portlet in our Oracle iAS 10.1.2.0.0. My Problem is that all went fine until i want to register the Forum Portlet. I get WWC-43176 Error: The provider URL specified may be wrong or the provider is not

  • Get a COM Event with OLE2

    Hello, I have a COM component with several methods and properties. It is very easy to create the object and call this methods and properties in ABAP. INCLUDE OLE2INCL. DATA lr_object TYPE OLE2_OBJECT. CREATE OBJECT lr_object 'Test.Test'. CALL METHOD