How to print extra page in Sapscript

Hi Gurus,
I have a sapscript form with 3 windows namely Main, Barcode and Footer. My footer displays the Page # of #. I have a requirement that if the total number of pages is odd number, I will add another blank page. I tried to put below command my footer window to test if it will create another page but it doesn't work.
/: IF &NEXTPAGE(C)& = '0'.
/: NEW-PAGE.
/: ENDIF.
I hope you can hlp me on my problem.
Thanks in advance.

Hii
When the user has to insert a particular symbol, from menu:
Insert->Character->Displayble Characters:
Here in the input field insert <156> and then press enter

Similar Messages

  • 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 different pages of sap script  from diff. trays of printer

    Hi All,
    I have the requirement in SAP script. How to print different pages from different trays in the printer.
    For example  page 1 logo and address has to print from tray-1,
                        page 2 main data print from tray-2,
                        page 3 footer data print from tray-3.
    will appreciate if u come up with solutions asap.
    Thanks in advance.

    Hi,
    May be the links given below might help you,
    SAPScript:Selecting Different Tray in SAPscript
    Print to different output tray in SAPscript/Print Workbench
    Regards,
    Hema.
    Reward points if it is useful.

  • Invoice print extra page w/o any data in repetitive area or end of report

    I did not use Page Footer and reduced those "hidden fielded" height to 26 with checkmark for Adjust Area Height, but the invoice will print extra page with blank repetitive area and page footer, Report Header and Repetitive Header showed.
    How to remove the extra page?  
    I have another one that do not print the extra page but each page has same Invoice Total, Frt, Tax with Remittance Address that should only show in the last page.  I know this is because I put Invoice Total in Page Footer. When I remove Page Footer to End of Report area then I got extra page with no data in repetitive area or end of report.

    Hi Lily,
    i think problem be create in Repetetive Area.
    Do this in your PLD,
    ->> Open your PLD and save as a duplicate PLD (Just testing PLD).
    ->> Right Click in PLD and Choose the Display Hidden Fields in PLD.
    ->> Reduce the Height of all fields in Repetetive Area, Page Header and End of Reports.
    for example,
    ->> Select all fields including Hidden fields in Repetetive Area & Repetetive Area Footer and
    Reduce the Height in General tab on Properties Widnow.
    put the Height -> 15 and Font Size -> 10
    ->> Reduce the Repetetive Area Height and put the Tick mark in Area Height Adjustment in Format Tab.
    Try to remove all fieds(including Hidden fields) in Page Footer and Reduce the Height.
    ex. Page Footer Height -> 0
    Regards,
    Madhan.

  • Pld printing extra pages

    hi
    i seem to have a problem with print layout designer. it seems to be printing extra pages for my clients AR invoice. it does not happen every time though. the client works with data brought into sap through a add on. we also feel that the problem could be due to the invoice not having to print all the child items and just the parent items alone.
    the extra pages are basically blank with all the header and footer information. any idea what this could be? or what i should be looking at to rectify this issue?
    thanks

    Prem,
    It all depends on how your template is setup.  Is you template set up as a Multi Page Invoice template.
    As you have said it could be because of how the data is for the Invoices imported through the Add On.
    What do you exactly mean by "invoice not having to print all the child items and just the parent items alone."
    Please let me know
    Suda

  • 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 the page in custom format

    Hi All,
    I've a login page like
    USER ID : Test box to enter data
    PASSWORD: Text Box to enter data
    A Button named as Print
    When i click on print button i want to print the form in custom format. when i use window.print in java script it is printing text boxes and button . but i dont want to print button and text boxes. i just want to print the user id and password entered by the user with corresponding labels.
    Can anyone suggest me how to print the page in the above format with out using the request object. coz i need to implemnt above with plain java script and html.
    Tks in Advance

    Use CSS. Check out the 'media' attribute. http://www.w3.org/TR/REC-CSS2/media.html

  • Can anyone explain to me how to print a page of Thumbnails of the same photo?

    Can anyone explain to me how to print a page of Thumbnails of the same picture, for wallet photos?

    In the print window select a print size that would allow many of the same photos on the page.  Click the Customize button and under settings select Multiple of the same photo per page.  In this screen shot I selected a size of 2x2. 
    Adjust the print size to get the number of photos per page that you want.
    OT

  • Printing extra pages in smartform

    Hi All,
    i'm new to smartforms.i got an issue on invoice(smartforms).i'm getting 3 extra blank pages in smartform.how and where should i rectify that.can any one help me please.
    thanks in advance

    Hi Mr Rao & Mr Reddy,
    thanks for your prompt responses...added to the question, in the extra page i'm getting spool information.actually the program is set in background.once the invoice is issued the form is sent to printer.and in the spool it is displaying the actual pages only.its not showing the extra pages.but once it is out from the printer,i'm getting the extra pages with the spool information
    the information on the extra page is....
    user:
    host:
    class:
    job:
    these are the four lines i'mm getting on the extra page.could u please help me.
    thanks in advance.

  • Lion address book prints extra page

    For years I had no trouble printing envelopes straight from Address book. But since I upgraded to Lion, when I print an envelope, it prints (1) the envelope just fine, but then also (2) a blank 8.5"x11" page. How do I get it to stop printing the extra page?

    HP printers for years have had a problem printing an extra envelope from the Apple Addressbook Application with the # 10 envelope.
    Solution: Select a #9  envelop.  This prints about the same size and does not have an extra envelope.
    How to: From Address book, select print, Style: Envelopes, Layout: Layout pulldown Official 9 then print
    Interestingly the two smaller and two larger sizes only print one envelope. You can test this by clicking pdf and open pdf in preview.
    On System 7.4 I cannot find a way to change the orientation to verticle as described above.
    I have told Apple.

  • Okidata printer timeout prints extra page after each job

    After updating to Yosemite, I get the following problem.  When printing to my Okidata C331dn, everything seems fine, but about 25-30 seconds later, I get an extra page printed with the following:
    ERROR:  timeout
    OFFENDING COMMAND:  timeout
    STACK:
    This happens every time I print.  I am using the Mavericks drivers via USB (Oki has not updated their drivers, yet).
    Any ideas on how to stop this?  I am wasting a lot of paper!

    Hi,
    I have had the same problem with an Oki MC560 color NETWORK printer, after upgrading my Macbook to Yosemite.
    Now it seem solved after changing the printer network setting "IEEE802.1X" from "NO" to "YES"
    (I don't know why !).
    Now, after each printing, the printer remain "active" for some minutes, with "Data" led blinking as it should print something else,
    and then it goes in standby (without printing the extra page with timeout error).
    I hope this help you

  • Printing extra Pages

    Hi All,
       I have made a PLD for A/R Invoice. The print preview is comming all right but when I am giving for print an extra page is printed.
      Like the preview is showing one page and it is completely ok. Now when I give to print then the first page is printed and the second page is printed with the header part only.
    How to correct this. What can be the cause?
    Regards,
    Raj

    Hi
    Check also in the Layout you are working with: Print Layout Designer -> Display Properties -> Format -> "Preview Printing Layout" box if you have it checked and the value for the box 'Change Size in" is '-1'.
    Paulo Calado
    SAP Business One Forums Team

  • How to print out page number

    I want to print page number with every page how it possible.....
    So that I would come to know how many printed documents are left....
    Please reply soon

    Hi Friend,
    In the Live Previewer menu
    on top there are two buttons
    one for Insert date and time
    two for Insert page numbers
    select the second one it will diff
    options for page displaying
    so that u can display the page numbers
    bye
    srini

  • How to print second page as continuation of First Page.

    Hello,
    I am printing a script. I want to print next page as continuation of first page.
    I am printing some contents. It is overflowing the first page, But remaining contents are not appearing at
    Next page.
    How to print that.
    Can any body plz help.

    Hi,
       If the text doesn't fit in page, the it will be printed in the next page.
    If it is one line or two line by increasing the length of the window, you can accomodate.But if it more than than then its not possible to print in the same page.
    If you dont want to get the text truncated then just use PROTECT and ENDPROTECT command in order to protect the text.
    Then the whole text will be printed either in First Page or Second page depending on the amout of text.
    Thanks & Regards,
    Vamsi.

  • How to print current page in Preview

    Printing in Preview, I don't see an option in the print dialog that enables "print current page", how is that done?
    The reason is that have a 90 page PDF document and the page numbers don't match so I can't just choose to print for example "from page 51 to 51", the wrong page prints (page 39). Both the drawer and the separate pages says the same page number but not when printing.
    Thanks.
    Mac Mini 1,33   Mac OS X (10.4.4)  

    Yeah, I thought so. I find the printing options very limited, across the board. To do things like "print current page" or "print selection" in Preview or Safari should be easy and obvious.
    Thanks for the reply, I'll get Adobe Reader for now.

Maybe you are looking for