How to control the print pages in se71 form or smartforms

Dear All:
         I have a issue for control the print pages in se71 form or smartforms.
For example:my report used form or smartforms to print.it have 12  total pages.but user want to print the .3rd  page.3rd  page is customized.
         How can I do it?
Thanks
Sun

Hi,
By using command node, with some command we can handle this.

Similar Messages

  • How to get the last page  SAP Script form

    How to get the last page  SAP Script form.
    I want to print a specific information in the last page of SAP form (Script). Please tell me how to get the last page number.
    Regards

    Hi
    You have to check the system variable &NEXTPAGE&, if it's 0 it means you're in the last page.
    From SAP Help:
    This symbol is used to print the number of the following page. The output format is the same as with &PAGE& .
    Note that on the last page of the output, in each window that is not of type MAIN, &NEXTPAGE& has the value 0.
    /: IF &NEXTPAGE& = '0'
       Last page
    /: ENDIF
    Max

  • How to control the printer selection popup in SAP SCRIPT .

    Hi all,
    I have written a print program which is calling 5 different layouts forms and printing all the shipping related documents such as packing list, delivery note, shipping label etc . The print program is
    attached to a single output type ZEDM. 
    The issue is that for printing every document a pop-up comes for the printer selection and i want
    only one pop-up and all the document should be printed.
    Can anyone tell how to control the pop-ups.
    Thanks and Regards,
    Syed

    Hi,
    Open the form with dialog once. and then other forms pass ' ' to dialog parameter in OPEN_FORM .
    Open the form for printing
      Capture the return code
      Capture messages
    Other froms
    Open the form for printing
      Capture the return code
      Capture messages
    Whenever you have a new form use START_FORM
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device                      = 'PRINTER'
          dialog                      = 'X'
          form                        = p_fname
          language                    = sy-langu
          OPTIONS                     = p_itcpo
        EXCEPTIONS
          canceled                    = 1
          device                      = 2
          form                        = 3
          OPTIONS                     = 4
          unclosed                    = 5
          mail_options                = 6
          archive_error               = 7
          invalid_fax_number          = 8
          more_params_needed_in_batch = 9
          spool_error                 = 10
          codepage                    = 11
          OTHERS                      = 12.
      IF sy-subrc <> 0.
        w_retcode = 1.
        PERFORM protocol_update.
      ENDIF.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device                      = 'PRINTER'
          dialog                      = ' '
          form                        = p_fname
          language                    = sy-langu
          OPTIONS                     = p_itcpo
        EXCEPTIONS
          canceled                    = 1
          device                      = 2
          form                        = 3
          OPTIONS                     = 4
          unclosed                    = 5
          mail_options                = 6
          archive_error               = 7
          invalid_fax_number          = 8
          more_params_needed_in_batch = 9
          spool_error                 = 10
          codepage                    = 11
          OTHERS                      = 12.
      IF sy-subrc <> 0.
        w_retcode = 1.
        PERFORM protocol_update.
      ENDIF.
    CALL FUNCTION 'START_FORM'
        EXPORTING
          form      = w_fname
          language  = sy-langu
          startpage = 'PAGE'
          program   = sy-repid.
    Regards
    Krishna

  • How to change the print page setup in IE using javascript

    dear all,
    I want to take print out envelope paper size, so i want to chnage the page setup in IE
    i want to change the print page setup in IE using javascript

    I think, you can do this using CSS.
    http://support.sas.com/rnd/base/ods/templateFAQ/Template_csstyle.html

  • Can I control the print copies with Adobe forms in WD

    Hi Friends,
    I had one pages in my adobe form designed in SFP transaction.
    And I  had created a Interactive Forms include that  in WDA.
    My requirement is.   >>>
    I want to control the printing of the pages according to my requirement.
    How can I do when I push the print button in the printing from ?
    Please help me,
    Thanks in advance... Q_Q
    Edited by: DDT CHOU on Jun 4, 2010 3:44 AM

    Can you explain how you achieved it with Java, please?
    Best regards

  • How to control the printing resolution in JAVA

    Do we have any control on printing resolution in JAVA?
    If yes, how?
    Because I can print out the component but its resolution is same as screen or even less.

    Hi,
    Maybe you have to be more explicit. What do you want to print? What Component? Only a image? A Swing component (JTree, JTable, JPanel, etc)?

  • How to control the print out

    Hai
    I create the scrip program… I want to get only one print out in each document number. After that I want to restrict that print out that each document number… how I should do it. Ex: I got the print out doc no. 00111 at once after that never gives the print out if I click print command…I want to restrict only one print out… (I create the Z-table and I want to pass flag when I press print command but I don’t knw how to do it if I get the solution for that my problem wil solve)
    Regard
    nawa

    Hi,
    try this..
    data: v_docno like ztable-docno.
    select docno from ztable
                        into v_docno
                        where docno eq <curr doc no> and  "u should provide current doc no here
                                  printed eq 'X'.                     " suppose 'printed' is the flag field name
    if sy-subrc NE 0. "i.e if form is not printed for this doc no, then print form
    call function open_form
    call function write_form.
    call function close_form.
    elseif.
    message e001(zmsg).   "message: form already printed for this doc no.
    endif.
    regards,
    Ravi

  • How to control the print spool.

    hi, there,
    Can i control the spool' name and generation unit.
    for example.
    set the name of spool & unit of spool , then call smartforms.
    then output

    Hi,
    By using command node, with some command we can handle this.

  • How to make the print command wait until form is rendered.

    This is an ongoing issue that so far I haven't been able to figure out how to fix, so I'm hoping that someone will have a good idea or work around. I'm working in LiveCycle Designer ES v8. using JavaScript.
    I have to include a feature that allows the user the choice to print out a dynamic form to fill out by hand. So I've created a button that asks if this is what they want to do, if they answer "Yes", then several things are scripted to happen. All data is reset, some subforms and pages are made visible, while other subforms are hidden, and text fields are expanded. This causes the form to expand from one page to 15 pages. Then it prints using this command:
              xfa.host.print(1,   
    "0", (xfa.host.numPages -1).toString(), 0, 1, 0, 0, 0);
    The problem is that when the print dialogue box appears, the Print Range is always set to less than the total number of pages. It looks like that the print commands fires before the form has completed rendering. This isn't a big deal since the user can click to set the Print Range to "All" which will print all 15 pages. The problem is that most people don't read the dialogue box. They click "okay" and end up with their form cut off.  Then I get phone calls that my form doesn't work.
    Is there anyway to delay the print command until everything has finished rendering? Or set the Print Range to always go to "All"?
    Thanks in advance for your help with this.

    It sounds like you'd be fine if you just separated the print function from your "Yes" button. It will require a 2nd button click from the user but that would be the only inconvenience.

  • How to Supress the Second Page in Smart form

    Hi,
      I have First page where there is no Main Window and on the Second page is with Main Window.Now lets say if there is item detais then vlaue will be printed on second page but in case there is no Item details so..the second page should not come only the first page would appear i.e. we need ot supress this second page.
    Thanks,
    Pramod

    Hi
    just use the command Describe table ITAB lines v_lines.
    so v_lines <> 0  means items Exist.
    so use this field in the condition
    Define a Text ELEMENT for the MAIN window data
    Before that text element put a condition based on the v_lines field.
    /:  IF V_LINES NE 0.
    /E MAIN
    /:  ENDIF
    So when you give print , if no data in internal table it won't print.
    Reward points for useful Answers
    Regards
    Anji

  • How to avoid the printer device option screen when calling smartform?

    Dear gurus
    i have create a smartform and i have called it from my program.
    i dont want to show the printer device options how can i achieve that ?
    below is the code for calling my smartform.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname                 = 'ZSNAK_VF03_PRINTING'
       IMPORTING
        fm_name                  = smart_form_function_nm
       EXCEPTIONS
         no_form                  = 1
         no_function_module       = 2
         OTHERS                   = 3
      CALL FUNCTION smart_form_function_nm
        EXPORTING
          itab1              = itab1
          temp4              = temp4
          temp3              = temp3
          ref_doc_no         = ref_doc_no
          po_no              = po_no
          printno            = printno
        TABLES
          itab_tab           = itab_tab
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
    Regards
    Saad Nisar.

    Hi,
    check this link
    smartforms  -   print option
    Regards and Best wishes.

  • How to prevent the printed page from displaying when printing to pdf

    I have Acrobat 7.0 Pro running on XP Pro. Immediately after I print an Excel, Word or text file to pdf, the pdf output automatically opens on my screen. Is there a way to turn this off? Thanks!

    Turn off the viewing option in printer properties.

  • How to control the  space between records in form layout

    Hi ,
    I need to display mutiple records (15-20) in a form ,
    and have choosen FORM layout as I need to display each record in two lines (Can a record be displayed in two lines in TABULAR layout ? ) .
    Now There is lot of space between each record and I could not move records closer . How can I control space between reords in FORM layout ?
    (While creating Canvas I selected Distance bwteen records = 0 )
    Thanks in advance,
    Asha

    Asha,
    no in tabular layout there is no way to display a record on two lines. All you can do is to use a stacked canvas and use it to make the table scrollable horizontally
    The distance between record setting is a property on the item level. if this is set to 0 (please double check) then all that is loeft is the item bevel. You can set the item bevel property to plain and then work on resizing the items hight until close to acceptable.
    Frank

  • Adobe reader xi i am running 2 display screens and when i have a file open and go to print the print page opens on my second screen.  How can I get adobe reader to just display on one screen?

    adobe reader xi i am running 2 display screens and when i have a file open and go to print the print page opens on my second screen.  How can I get adobe reader to just display on one screen?
    I want the capability of adobe reader to just run on one screen.

    I had the same problem.
    Try this.
    https://igppwiki.ucsd.edu/groups/publichelpwiki/wiki/a1538/Howto_Disable_Acrobat _as_the_Safari_PDF_Viewer.html

  • How to Determine the "Total" Page Count on HP 2575 All-in-one printer?

    Looking at how to determine the "Total" Page Count on HP 2575 All-in-one printer?   I've seen directions for other HP printers but can't seem to find any for the HP 2575 All-in-one printer.  I am trying to find approximately how many pages my printer has printed since I've owned it.    Any help is much appreciated. 

    The manual says you should be able to use the Embedded Web Server to view statistics. 
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

Maybe you are looking for