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

Similar Messages

  • How to Print next Page in smartform ?

    Hello ,
    I want to print next page in smartform.
    The situation is :-
    I am passing an internal table containing list of personal numbers.
    I have to print their details . Every candidate's detail should be printed on a new page .
    I have designed the whole form , but I am not print their details on a New Page.
    Please guide.
    Thanks in Advance.

    Hi, Nikita.
    Please Have a Look the following Link
    [MODERATOR MESSAGE: SapScript/Smartform questions go in FORM PRINTING forum|/thread/1360534 [original link is broken];
    So, Please Post Questions Regarding SapScript and Smartform in FORM PRINTING.
    1. First of all you need to set a Flag at the end of every Personal Number.
    2. Than Right Click on the object Like Main Window
    --> Create --> Flow Logic --> Command
    3. From First Tab of Command General Attributes Check the Check Box Go to New Page and Select Your Page
    4. In the Conditions Tab Give you Flag Condition.
    Hope will help you to solve out your problem,
    Please Reply if any Issue,
    Best Regards,
    Faisal

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

  • How to print last page in smartforms

    Hi,
    In my smartform i have 3 pages (FIRST, NEXT & LAST). FIRST contains some header detail and items. NEXT contains rest of items and this page would be repeatable if more item comes. now after NEXT i want to print LAST page. How to achieve this. PLease let me know. I looked into forum but haven't get exact answer so far.
    Rgds

    Hello,
    According to your scenario you are having 4 orders and each order has to print seperately with the last page .right?
    The best soln would be,
    1) create another internal table same as the one you have and delete adjacent duplicates using order, so you will have 2 internal table one with 4 orders (it-1)and other with all the items(it-2).
    2) In the driver program ,
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        control-no_open  = 'X'.
        control-no_close = 'X'.
        output-tdnewid  = 'X'.
       PERFORM ssf_open.
    CALL FUNCTION 'SSF_OPEN'
      EXPORTING
      ARCHIVE_PARAMETERS       =
      user_settings            = ' '
      MAIL_SENDER              =
      MAIL_RECIPIENT           =
      MAIL_APPL_OBJ            =
    output_options           = output
    control_parameters       = control
    IMPORTING
      JOB_OUTPUT_OPTIONS       =
    EXCEPTIONS
       formatting_error         = 1
       internal_error           = 2
       send_error               = 3
       user_canceled            = 4
       OTHERS                   = 5
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    LOOP AT it-1.
        CALL FUNCTION l_fm_name
    endloop.
    CALL FUNCTION 'SSF_CLOSE'.
    2) In the smartform 
         FIRST  ->   next page -> NEXT
                   Beneath the main window -> Table,  put Command - Goto new page  as LAST.
         NEXT  ->   next page -> NEXT
         LAST  ->   Next page -> Blank
    I hope this will work as I have done a similiar dev.
    Regards,
    Radhakrishnan

  • How to Print two pages in smartforms

    Hi All,
    How to create two different pages in smartforms.In my requirement the first page contains Table data in main window and in second page only the hard coded desription should be printed containg instructions,but the second page is mandatory after first
    page is completed,the first page may have n number of pages after printing those pages my second page should trigger.Help me if any one knows.
    Thanks in advance............
    Regards,
    Satya.

    hi ,
    once a main window size is declared , then that space will be placed in each page created.
    eg. if a table with header and footer is created, first of all the space for header and footer are allocated and body page is allocated.
    so we cannot dynamically change the size of the main window , even it is a copied main window.
    Otherwise another option is to continue the main window into the second page.
    for that first page main window -> create table -> add page break command to page 2 -> hard code description in template.
    page attribute for first page --> GOTO assign same page ( for continuing the same page)
    Page attribute for second page --> no need default is enough

  • How to Print Particular Page in Smartform

    Hi ,
         Anyone Give me steps to Print Particular Page when Printing Several Forms in One Print Request .
        Am Using smartform Within the Loop , So  i Used SSF_OPEN And SSF_CLOSE. When am printing the Smartform i gave particular    Page in Dialog Box , But all the pages are Printed.
        Please Help me to Solve this Problem.
    With Regrds
    Kesavaperumal

    Hi Kesav,
    You can do this in Print Control Dialog, when you give printer name as LP01 or LOCL , just below that, one input field 'Page Selection' is available,
    You can give like
    Pages selected for printing
    You can define which pages should be output in the page selection.
    All pages are printed if an entry is not made here.
    You can either specify individual pages or a range of pages. These entries are separated by a comma.
    Examples:
    4     only page 4
    2-5   pages 2 to 5
    -20   up to and including page 20
    3-    from and including page 3
    4,8-10,15-   pages 4, 8 to 10, and page 15 onwards.
    And If you need to control the rpinted copies from the program , you can try with the OUTPUT_OPTIONS-TDPAGESLCT parameter of Functionmodule (which is generated from Smartform).
    Hope this solves your issue
    Rgds,
    Sripal

  • How to call specific page of smartforms

    i have smartform in which 5 different pages are there
    i want to call PAGE1 when my sy-tcode eq tc1
    and PAGE2 when sy-tcode eq tc2 like wise...
    how to pass the page name in function module of smartforms???

    HI,
    try this...
    case sy-tcode.
    when ' '.
    Populate the TDPAGESLCT of structure SSFCOMPOP include SSFSPOUTOP of OUTPUT_OPTIONS in form interface of the smartform.
    endcase.
    call the smartform functionmodule
    regards
    padma

  • 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

  • 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();
    }

  • 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 last page in sap script in ladscape format?

    Hi all,
    can any 1 tell me How to print last page in sap script in ladscape format?
    Thanks In advance.
    Pravin

    Hi Pravin Sherkar,
    we can do this in SAP Scripts.
    we need to create two pages, one of landscape and another of potrait.
    now after filling the data at last we need to call the page which is of format landscape using START_FORM  function module.
    You can use condition &PAGE& = &FORMPAGES&.
    Please check this link
    Printing Portrait/Landscape in sapscript
    Re: Landscape and potrait in same layout?
    http://www.sap-img.com/ts013.htm
    Best regards,
    raam

  • How to print blank page in script

    Hi all,
    how to print blank page in script

    Hi,
    Try the command /: NEW-PAGE. Let me know if it is working.
    Ray

  • How to print horizantal lines in smartforms?

    hi friends,
                       how to print horizantal lines in smartforms.
    waiting for ur valuble replies.
    Thanks,
    Kiran

    HI,
    If u use templates or table,then use borders to print the horizontal lines.
    Eg : Create template-->Table painter->click select pattern button->Display framed pattern->select 3rd one.it will display only horizantal lines.
    if want to print horizantal line under the text, then create one paragraph or character formate with Underline in smartstyles.Use that paragraph or character to u r text element

  • How to print a bullet in smartforms?

    Hi All,
    How to print a bullet in smartforms?
    I need it urgently.
    Any help would be appeciated.
    Regards,
    Mahesh.

    Hi,
    if i remember correct <600> is the value for bullets.
    you can insert this using sap system symbols ---> select bullets (before this place your cursor where ever you want the bullets.
    eg:
    P1  <600> test.
    Thanks,
    Sree.

  • How to print Check Box in smartform

    HI,
      How to print check box in smartforms. I am using Include Sap Symbol but in the print it is coming as #. Do we need to do any setting like we do for barcode?
    Thanks
    Raghavendra

    hi,
    u can print a check box in different ways.. by inserting symbols and making window as check box..
    once go through the thread u will get to k now differnt ways
    putting checkboxes in smartform?
    Please Close this thread.. when u r problem is solved. Reward all Helpful answers
    Regards
    Naresh Reddy K

Maybe you are looking for