Smartforms: Option of Printing Specific Pages Only

Dear forum-ers,
I have a requirement to print several agent statements in smartform based on the logic from the print program. Each of the page for the single form have a unique statement. Under different scenarios, the form must print out different page combinations as stated below:
Scenario 1: Page 1, Page 3
Scenario 2: Page 1, Page 2, Page 3
Scenario 3: Page  3, Page 4
Can the above be achieved using one single form? There is no option found in smartform to print only selected pages based on certain conditions. Please advice.

Take for example, my smartform should have 4 pages. Each page represents different statement. So each page will have its own main window to cater for the data to be printed out.
Page 1: Statement 1
Page 2: Statement 2
Page 3: Statement 3
Page 4: Statement 4
Page & Windows
============
  Page1
    Window1 [Attributes: Next Page = Page2]
       Command Node1 [Attributes: Goto New Page = Page2]
  Page2
    Window2 [Attributes: Next Page = Page3]
       Command Node2  [Attributes: Goto New Page = Page3] 
  Page3
    Window3 [Attributes: Next Page = Page4]
       Command Node3  [Attributes: Goto New Page = Page4]
  Page4
    Window4 [Attributes: Next Page = Page4]
       Command Node4  [Attributes: Goto New Page = Page4]
The problem is the smartform only prints page 1 and page 2 only. I want the smartform to print out all four pages in sequence.

Similar Messages

  • How to print specific page in smartform !

    Hello Friends,
                  I like to print specific page in smartform. for Ex. page 4. But when I give page no. 4, the print preview not showing the exact page.
    Thank you for your time.
    Senthil

    Hi Senthil,
    chk this link you get a brief idea abt Smartforms.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
    Reward points if you find this helpful
    Regards,
    Harini

  • How can i print specific pages against searched word or name (in one print command) from 1000 pages

    how can i print specific pages against searched word or name (in one print command) from 1000 pages

    Thanks, Alex!
    ok, I try first approach in print4.vi, but Labview return an error (view jpg); if I cut From, To controls, the VI print all pages. The same things happen also if I trasform I32 in Variant.
    I don't try second approach, because at this time I have only one report
    I try also with VB macro: this is better (print3.vi) but.....if I use:
    Sub Print_Pages_From_To()
    ActiveDocument.ActiveWindow.PrintOut Range:=wdPrintFromTo, From:="2", To:="3"
    End Sub
    is ok; print the pages selected; if I use:
    Sub PrintPages()
    ActiveDocument.ActiveWindow.PrintOut  Pages:="2-3"  
    End Sub
    printer print all pages.
    what do you think?
    regards,
    Italo
    Attachments:
    print Problem.jpg ‏39 KB
    print4.vi ‏19 KB
    print3.vi ‏19 KB

  • How to print specific pages out of a book file

    I've searched around but I cannot find any way of printing specific pages out of a book file. Has anyone got any ideas? I have a 100 page book file with 20 files, and doing print outs of sections is a nightmare. I want to be able to print page 5 out of file A and page 6 out of file B together so I can duplex them. I've tried scripting this but I can't seem to set the page range of the print preferences of the book file.

    [Jongware] wrote:
    I don't think it's possible to set the page range of a Book.printPreferences
    Theoretically it ought to be possible. Can't test for myself now; what does happen when you set the pageRange to overlapping sub-files?
    I've just tried it with CS3. It might have been implemented in later versions.
    In the print Book dialogue the page range field is disabled. You cannot enter anything there.
    If you try to do it with a script it says that printPreferences is read only.

  • Printing specific pages in a PDF

    What is the java code to create a print button to print specific pages in a multiple page PDF file? Help please!

    For more information on the print method, see: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.511.html
    Note the nStart and nEnd parameters in particular.

  • Java print service + print specific page

    is there anybody know how to print specific page to the printer in java?
    i am using below code. it able to print any txt file from page 1 to n. it just cannot work on printing on specific page??
    code
    String fileName = "NORMAL.txt";
         DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
    //DocFlavor flavor = DocFlavor.SERVICE_FORMATTED.PAGEABLE;
         FileInputStream pclStream = new FileInputStream(fileName);
         PrintRequestAttributeSet attributes2 = new HashPrintRequestAttributeSet();
         //attributes2.add(new Copies(1));
         Doc doc = new SimpleDoc(pclStream, flavor, null );
         PrintService[] services = PrintServiceLookup.lookupPrintServices( null, attributes2);
         PrintService service = ServiceUI.printDialog(null,50,50,services,services[0],null, attributes2 );
         if(service != null) {
         DocPrintJob dpj = service.createPrintJob();
         dpj.print(doc,attributes2);

    See it!!!
    bye bye
    import javax.print.DocFlavor;
    import java.io.FileInputStream;
    import javax.print.attribute.HashPrintRequestAttributeSet;
    import javax.print.attribute.PrintRequestAttributeSet;
    import javax.print.SimpleDoc;
    import javax.print.PrintService;
    import javax.print.ServiceUI;
    import javax.print.Doc;
    import javax.print.PrintServiceLookup;
    import javax.print.DocPrintJob;
    import java.io.File;
    import java.awt.GraphicsConfiguration;
    import java.awt.Rectangle;
    import java.awt.GraphicsEnvironment;
    import java.awt.GraphicsDevice;
    public class Untitled1 {
    public Untitled1() {
    try {
    Rectangle virtualBounds = new Rectangle();
    GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    GraphicsDevice gd = ge.getDefaultScreenDevice();
    GraphicsConfiguration gc = gd.getDefaultConfiguration();
    String fileName = "NORMAL.txt";
    DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
    FileInputStream pclStream = new FileInputStream(fileName);
    PrintRequestAttributeSet attributes2 = new HashPrintRequestAttributeSet();
    Doc doc = new SimpleDoc(pclStream, flavor, null );
    PrintService[] services = PrintServiceLookup.lookupPrintServices( flavor, attributes2);
    PrintService service = ServiceUI.printDialog(gc,50,50,services,services[0],flavor, attributes2 );
    if(service != null) {
    DocPrintJob dpj = service.createPrintJob();
    dpj.print(doc,attributes2);
    catch (Exception err) {
    public static void main(String[] args) {
    Untitled1 untitled11 = new Untitled1();
    }

  • Apply script on specific pages only

    Hi!
    I would like to know how to apply some script on specific pages only.
    I would like to apply it on pages number 4 to 50 on a 50 page project, and so exclude page 1, 2 and 3.
    Here is my actual script:
    var doc = app.activeDocument,
    objStyle = doc.objectStyles.itemByName('stylenamechosen'),
    a = doc.allGraphics,
    i = a.length;
    while( i-- ) a[i].parent.appliedObjectStyle = objStyle;
    Please let me know.

    Dear Jump_Over,
    Sorry for the delay...
    //below code working fine
    var myDoc = app.activeDocument;
    var myGraphics = myDoc.allGraphics;
    for(k=0; k<myGraphics.length; k++)
        myGraphics[k].parent.appliedObjectStyle = myDoc.objectStyles.item("testing");
    //below code not working with page range
    var myDoc = app.activeDocument;
    var myGraphics = app.activeDocument.pages.itemByRange(3, -1).allGraphics;    //Error found in this line
    for(k=0; k<myGraphics.length; k++)
        myGraphics[k].parent.appliedObjectStyle = myDoc.objectStyles.item("testing");
    Document having 10 pages.
    Thanks
    Beginner

  • Cannot print specific pages in Leopard

    How do I print only page 2 and 3 of a fifty page document?

    What application are you attempting to print from? There should be some option in the print dialog to print only certain pages but it may vary from app to app. There should be some "radio buttons" that you can select from to print everything or only a range of pages....no?

  • Email specific pages ONLY from PDF

    Is there a way to extract and email only specific pages from a LiveCycle designed, Reader-enabled PDF using Adobe Reader 8? (i.e. the form has 20 pages total, but I only want the user to email Page3, Page5, and Page7 at once using a button)...
    Thanks in advance for the help...

    I think the only option would be to hide the pages.
    pageName(or subForm).presence = "hidden";
    and then after the email routine finishes show the pages again.
    pageName.presence = "visible";
    If you had all the pages you want hidden in one subform then it would just be one line of code.

  • How to print specific pages of a pdf from a vb 2013 program using a print dialog

    Hi.  I am using the acrobat sdk to display pdfs from within a vb 2013 program, because the pdfs are large and we have developed indexes on certain columns.  The indexes are stored in SQL tables.  My program has a search window which allows the user to search for a value and displays all the pages on which this value appears in the indexed column in a listbox.  By double-clicking on the desired value in the listbox, the user can go to the selected page and column.  However, the user also needs to be able to highlight one or more of the pages in the listbox and print these pages.  I could do this silently using AcroExchAVDoc.PrintPages, but the user also needs to have a print dialog displayed in order to possibly select a watermark to be printed on the pages.  I also need to default the orientation of the pages depending on the document.
    I have reviewed the sdk documentation and also searched in Google and on this site but have not found a way to do this.  Does anyone have a suggestion?  Thanks for any help you can provide.
    Mary

    Hi.
    I did try using the printParams feature and it worked, but since I need to be able to print sets of non-consecutive pages,  I end up having to bring up the print dialogue multiple times and have the user set watermarks each time. 
    I decided to just create a new pdf in a temp directory containing the selected pages and open this document in a new window.  This works well and allows them to use the print button on the window to print, bringing up the print dialogue just once.  However, since I need to open the document in a way that shows the print button, I am using OpenInWindowEx, with AV_DOC_VIEW, and the option PDUseBookmarks or PDUseThumbs, rather than PDUseNone.  This displays a toolbar which also includes icons for creating a new pdf, deleting pages, etc.  I do not really want to include these icons on the toolbar.  Is there a way to remove unwanted icons from the toolbar, or make them invisible?
    Hope this makes sense.  Thanks for your help.
    Mary

  • No option to print in black only

    PROBLEM:
    Do not have an option to print with BLACK ink only.
    Background:
    Have a Photosmart D5160 printer.
    Up until a few weeks ago experienced no problems with printer. Then installed non-HP ink carts and experienced some faults. About this same time, the PRINTER PROPERTIES box change to a different, four tab format: ADVANCED, PRINTING SHORTCUTS, FEATURES, and COLOR. The old PROPERTIES box displayed  four printer options:  DRAFT MODE, Black & WHITE, COLOR, and GRAYSCALE.
    I have since installed new HP ink carts, and the problem persists.
    Deinstalled and reinstalled, several times, the printer itself and software from the CD, followed by d/loading updated drivers from HP. All without resolving my problem.
    Two questions:
    1 - How can I restore the old properties option box?
    2 - How can I print with black ink only with the new property box?
    Thank you, in advance, for your response and assistance

    I found it:
    It's now under File, Print, Preferences, Advanced, Print In Greyscale, then drop box Black Ink Only.
    I'd like to thank me for my help one this one...couldn't have done it without me.

  • Button to 'Print This Page Only to a printer of your choosing'

    I need to create a button to allow my user to print their current page to a printer of their choosing.
    Having them go to file print, etc etc is not an option as it will be used by hundreds of people, and the pdf is hundreds of pages long. (if they just select 'Print' that would be a lot of wasted paper)
    Ive been able to locate a Javascript that prints to the Default Printer, but my users change computers several times per day, and the default printer might located on the other side of town!
    Here is the script for 'Print this page to default printer' if anyone can assist by altering it to choose which printer, that would be amazing..
    Javascript:
    this.print(false, this.pageNum,this.pageNum);
    Even creating a button to open the print dialog box with 'Current Page' pre-selected would be ok.

    You need to use the PrintParams properties to get/set the print UI:
    var pp = this.getPrintParams();
    pp.firstPage = this.pageNum;
    pp.lastPage = pp.firstPage;
    pp.interactive = pp.constants.interactionLevel.full;
    this.print(pp);

  • Script for printing changed pages only

    Does anyone know of a script that will allow the printing of only those pages that have had changes made to them since a previous save? I'm a typesetter doing work only on books and journals and sometimes it's a bit tedious to keep track of the individual pages one works on. thanks,

    Ok,
    Here is a raw code. All you need to do is edit the script to specify the printer preset you want to use. I don't have a printer my self to debug but I think it should work.
    Here is the idml to grab the object styles. Don't forget to apply on objects located onto the pasteboard. The script look for these objects and grab the page name next to them to finally print these pages.
    Hope it helps,
    Loic
    function main(){
              var doc,
              changedArray = [],
              changedStyle,
              unchangedStyle,
              i=0,
              max=0,
              found = [],
              pagerange = [];
              obj,
              vb,
              leftPage,
              leftPageBounds,
              rightPage,
              rightPageBounds,
              pagerange = "";
              if(!app.documents.length){ return; }
              var doc = app.activeDocument;
              changedStyle = doc.objectStyles.itemByName("changed");
              unchangedStyle = doc.objectStyles.itemByName("unchanged");
              if(!changedStyle.isValid ||  !changedStyle.isValid){
                        alert("Problem with object styles. Script requires both \"changed\" and \"unchanged\" styles.");
                        return;
              app.findObjectPreferences.appliedObjectStyles = changedStyle;
              found = doc.findObject();
              max = found.length;
              for(i=0; i<max; i++){
                        obj = found[i];
                        vb = obj.visibleBounds;
                        leftPage = obj.parent.pages[0];
                        leftPageBounds = leftPage.bounds;
                        rightPage = obj.parent.pages[-1];
                        rightPageBounds = rightPage.bounds;
                        if(vb[1]>rightPageBounds[1]){
                                  pagerange.push(rightPage.name);
                        else if(vb[1]<leftPageBounds[1]){
                                  pagerange.push(leftPage.name);
              app.printPreferences.activePrinterPreset = app.printerPresets.itemByName("my printer preset");
              var oldPrintPrefs = doc.printPreferences.pageRange;
              doc.printPreferences.pageRange = pagerange.join(",");
              alert("Gone printing");
              app.print();
              doc.printPreferences.pageRange = oldPrintPrefs;
    main();

  • Print specific pages in sections of book

    I want to print two sections of my book, but i don't want to print all pages in either section. When i use the "print selected documents" the page range is greyed out. Is there a way to print these duplex pages without having to print it in it's entirety? For instance: INDD #1 has three pages (numbered 1 to 3). INDD #2 has three pages (numbered 4 to 6). I only want to print duplex pages of 3 and 4. Is that possible? Please advise. Thanks in advance for your help.
    kind regards
    k

    I don't believe so. You could print to PDF (or to postscript file, then distill) and perhaps print the selected pages from the PDF, but I suspect you'd still need to place them into a new document to get the spread. There's no way ID is going to directly make a spread from pages in separate files.

  • HP Officejet 6700: No Option To Print In Black Only/How Do I Do This?

    I recall this option used to be present, now I no longer see it--how do I print in black only?
    Thank you.
    This question was solved.
    View Solution.

    I found it:
    It's now under File, Print, Preferences, Advanced, Print In Greyscale, then drop box Black Ink Only.
    I'd like to thank me for my help one this one...couldn't have done it without me.

Maybe you are looking for