Blank Pages In SCRIPTS

Helo All.
I am printing Order Confirmation in script.
There are total 5 pages, but i am getting 10 pages with 5 blank pages.
Script is alternatively printing a blank page.
What could be the reason?
Thanks in advance.

hi,
check for commands like new-page..
check for the page size and the printer configuration...
Alternate Pages are blank?

Similar Messages

  • How to supress blank page in scripts?

    Hi gurus.
    can any one let me know how to supress blank page in scripts? When one of my condition satisfies it should print two pages and its working fine. When condition fails, it should print one page but its printing blank page as second page.
    Waiting for your answer.
    Urgent
    Regards,
    surya.

    hi,
    1. By providing the control commands in scripts,u can supress the blank pages.
    2.write the data between protect and end protect.
    3.Enclose the text that you want to prevent page-break in PROTECT... ENDPROTECT
    SAPscript will ensure that each line of this text is printed together on the same page.
    /: PROTECT
    Text
    Within
    The same page
    /: ENDPROTECT
    Regards,
    SHIVA(reward if helpful).

  • 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 remove blank page in sap script

    hi ,
    I have a problem in sap script. I copied one std. script and made some changes i.e removing the unwanted pages from the script.
    no where NEW-PAGE kind of command is declared in window but still a new blank page is coming in printing.
    i checked with the posted comments in forum n what i found .. i did that part for my script..but no progress.
    so help needed.
    thnx,
    m

    Hi,
    If there is no any "NEW-PAGE" command in your any window, Pls check following probable causes.
    1. Check your main Window, may be there is blank line at the last of the main window, so check that and remove that,so you won't get the blank page
    2.Please check what have you defined as the NEXT PAGE for your first page. If so change it and make the first page itself as the next page.
    Hope it help you.
    Regrads,
    Lokesh.

  • How to Avoid blank page in SAP Script

    I am working on a Script. My Script prints a check.
    This script is a copy of a std script.
    It has 3 pages - First Next Last
    My First page has all the required data.
    My second page is empty with out any values.
    I am getting the blank page as Page 2 when executing. How can we avoid it ?
    Senthil

    Hi Senthil,
    Please see the below points:
    1. Please check what have you defined as the NEXT PAGE for your first page. If so change it and make the first page itself as the next page.
    2. Check your main Window, may be there is blank line at the last of the main window, so check that abd remove that,so you won't get the blank page
    Please see the link which is similar to your problem:
    Re: How to remove blank page in sap script
    May it helps you.
    Regards.
    Deepak Sharma.

  • I have stopped too many scripts in Firefox and I can't open any websites in Firefox anymore. I just get blank pages. What do I do now?

    3 websites gave me this message:- "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete." I chose to stop the script each time. However I have stopped too many scripts in Firefox and I can't open any website in Firefox anymore. I just get blank pages. What do I do now?

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox and any leftover program files and then reinstall Firefox. Please follow these steps one by one:
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu) and confirm all upcoming messages.
    #Now, uninstall Firefox by following the steps mentioned in the [[Uninstall Firefox from your computer#w_uninstall-firefox|Uninstall Firefox]] article.
    '''IMPORTANT:''' On Windows, the uninstaller has the option to remove your personal data and settings. Make sure that you do '''not''' check this option; otherwise all of your bookmarks, passwords, extensions, user customizations and other Firefox [[Profiles|user profile data]] will be removed from your computer.
    After uninstalling Firefox on Windows, delete the "Mozilla Firefox" program folder, located by default in one of these locations:
    * '''(On 32-bit Windows)''' ''C:\Program Files\Mozilla Firefox''
    * '''(On 64-bit Windows)''' ''C:\Program Files (x86)\Mozilla Firefox''
    #Go to the Windows Start menu and click on "Computer".
    #In the Explorer window that opens, double click Local Disk (C:) to open the C:\ drive.
    #Find the "Program Files (x86)" folder or "Program Files" folder.
    #* On 32-bit Windows, double-click the '''Program Files''' folder to open it.
    #* On 64-bit Windows, you will see a "Program Files (x86)" folder AND a "Program Files" folder. Open the '''Program Files (x86)''' folder.
    #Look for a '''Mozilla Firefox''' folder. If you find one, right-click it and select ''Delete'' and confirm that you want to move the folder to the Recycle Bin.
    Now, go ahead and reinstall Firefox:
    #Double-click the downloaded installation file and go through the steps of the installation wizard.
    #Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

  • Using a script to call named destinations causes blank pages

    My first post in the Adobe forums. I realize that this may not be exactly the right location for this question, but this forum seemed to be the closest to what I need.
    We are trying to use the following script to call named destinations in an Acrobat X PDF file. Note that this script is just a sample for testing. The actual function would be embedded in the product GUI.
    <style>
    BODY
        COLOR: #003774;
        FONT-SIZE: 80%;
        FONT-FAMILY: arial, verdana, trebuchet MS, Tahoma, sans-serif;
    background: #ffffff;
    </style>
    <script>
    function users()
    document.open("/product/Documentation/SystemAdmin.pdf#NamedDestUsers", "PageHelp", "copyhistory=0,directories=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolb ar=0");
    function trunks()
    document.open("/product/Documentation/SystemAdmin.pdf#NamedDestTrunks", "PageHelp", "copyhistory=0,directories=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolb ar=0");
    </script>
    <p>
    <a href=# onclick="users()"> Click to show user config pdf </a>
    <p>
    <a href=# onclick="trunks()"> Click to show trunk config pdf </a>
    When we click the link to call the first destination, Users, for example, the file opens fine at the appropriate location. However, when we click a subsequent link, it tries to open in the same window and just freezes. All we see is a blank page. We realize that we could force it to open in new window each time, but since this is a fairly large file, we'd rather not do that. All these destinations are in the same file and we just want it to display a different destination in that file.
    If you have any suggestions for either changes to the PDF or changes to the script, I would very much appreciate hearing about them. By the way, we're using the TimeSaver untility to standardize the named destinations.

    This is not how you open a PDF at a specific named destination. You need to read this file:
    http://www.adobe.com/devnet/acrobat/pdfs/pdf_open_parameters.pdf

  • How to eliminate (delete) the last blank page in the script?

    Does anyone of you know how to eliminate (delete) the last blank page that appears in the script? My story is 126 pages long but in the screenplay (the document) 127 pages appear because the last one is a blank page, how do I erase this page? Thank you.

    You can try the following:
    - pressing delete key at the end of the text at page 126
    - Check if you have the option to 'Unlock Pages' in 'Production' Menu.
    If you still face this issue, then can you please save that document to disk (File > Save To Disk) and mail us at DL-AdobeStory-support<at>adobe<dot>com, so that we can suggest a fix?

  • Scripts - blank page

    Hi
      In Scripts, some times we will get blank pages at last.
      What is the reason? And how to eliminate that?

    hi,
    1. By providing the control commands in scripts,u can supress the blank pages.
    2.write the data between protect and end protect.
    3.Enclose the text that you want to prevent page-break in PROTECT... ENDPROTECT
    SAPscript will ensure that each line of this text is printed together on the same page.
    /: PROTECT
    Text
    Within
    The same page
    /: ENDPROTECT
    Regards,
    SHIVA(reward if helpful).

  • Script blank page

    Hi,
    I am working on the Purchase order form(script).
    I am getting a blank page after first page ,but i suppressed using
    no blank lines in paragraph format.But i doubt
    how come blank lines are coming,infact there are no
    blank lines.Can anybody give me some explanation regarding this,is highly appreciable.
    Thanks,
    Seshagiri

    Hi seshagiri,
    1. Just make sure you are putting everything
       under some element
       /E myelement ...
    2. If anything is outisde it,
       it will come in the first page / blank page.
    regards,
    amit m.

  • How to remove blank pages in SAP Script

    Hi All,
    1. Employee we have to issue the certificate and as well as terms & Conditions page. If wife is staying in different address we have to display both certificate and as well as terms and conditions page. For kids we need not shown the terms & conditions, bcz they have stayed with wife. So in my case for employee it is displaying 2 pages one for certificate and terms and conditions page, for wife 2 pages one for certificate and terms and conditions page, as per as children it should show only one page i.e certificate page only, but here it is taking terms and conditions page also but it is displaying blank page. Now my question is how to delete that blank page. Just ask your colegues who know how to delete that page.
    Regards,
    Sathvik

    Hi,
    No i am not using Duplex printer. Let me explain
    There is Employee <b>X</b> His address is 2785 and his Spouse and 3 children are not in this Address.
    When you are executing The Terms and condition is in 3rd & 4th page. if the address is change then there 2 pages has to print othere wise only certificate has to print.
    Now Employee and Spouse adreess are change that's y terms and condition is printing. Children is leaving with mom so now they don't wnt to print 2nd & 3rd page. I put condition now contents is not showing. But here blank pages are showing now i wnt remove those blank pages.
    Thanks & Regards,
    Sathvik

  • Publishing site - get blank pages cos of rogue piece of script

    Hi,
    I've been publishing a site to a folder and ftping to a server for a few years. Every time I update I need to remove a piece of code
    <?xml version="1.0" encoding="UTF-8"?>
    from the beginning of every page. I was hoping that the latest iweb, with ftp-ing facilities (yippee) would have got this sorted... but alas, it is still there. Before I go in and physically cut that line out, it leaves me with a blank page. after I remove it, it all displays fine.
    Any ideas?

    Your problem is cause by a misconfiguration of the particular server you are using, not the code used by iWeb, which conforms to international standards. See this note for possible fixes. It may be easier to change hosts.
    http://homepage.mac.com/thgewecke/parsingerror.html

  • Blank page is getting displayed in SAPScript when using NEW-PAGE option.

    Hello Experts,
    We have created a customized SAPScript and in this separate Script is generated based on the currency(WAERS).
    So if we have 3 different currencies, then 3 pages will be created with there details, but we are using NEW-PAGE option in
    MAIN window to separate the pages and after 3rd page it is displaying 4th page also with footer details.
    So how can we avoid last blank page which is getting displayed?

    Hi isha.walia ,
       This issue can be solved by two ways. Please take the one which suits you better.
    Solution 1: If  you need to generate separate prints for different currencies.
    In the driver program, build an internal table for different currencies which needed to be printed. (Using delete adjacent duplicates, build the internal table with exact number of currencies to be printed). Remove the NEW-PAGE option and call the script/form inside the loop. Do the necessary conditions to manipulate the print.
    Advantages of above solution: Better control on spools if needed.
    Solution 2:  Get the count of the number of pages in a variable. Inside the print loop, increment a flag counter. Check it against the variable which contains the number of pages to be printed at the end of each page. Exit the loop when the number of pages to be printed is reached.
    Advantage of above solution: Simple to write the program.
    Thanks and Regards
    Raghesh R S

  • IIS, Javascript, Signed Applet and ASP Blank Page Problem

    Hi,
    I'm having a problem using a Signed Applet in a site that runs in a IIS (Windows Server 2003).
    My aspx web page uses the applet to read my smart card and get information from it.
    This applet uses an auxiliar dll (stored in a second Signed Jar file) in order to read the information from my smart card.
    The way the solution is design:
    1) Aspx page is asked from server
    2) Internet Explorer recieve the page and asks the server for it content (images, applet, javascripts, etc)
    3) After this the JVM runs (console opens)
    4) After the Aspx page render fully a javascript register onload fires and call an applet method
    5) Applet receive the call and run the logic of the method:
         - reads the smart card;
         - calls Javascript function in order to fill aspx fields with information from smart card
         - calls Javascript function the simulates a click in a botton of aspx page (in order to call server side part sending data readed from smart card to server)
    5) The server makes some logic with the information receive and responds to client registering in aspx page a call to another Javascrit function
    6) The client received the asnwer from server and runs the Javascript function registered on step 5)
         This Javascript calls another method from applet and runs the following logic:
         - reads more information from smart card;
         - call javascript function in order to fill more fields of aspx page with the information readed
         - calls Javascript function the simulates a click in a botton of aspx page (in order to call server side part sending data readed from smart card to server)
    7) The server makes some logic and call another pages with no Applets
    8) Client asks for a second page with the same applet and we start with another logic express on steps 1);2);3),4);5) and then 7).
    This is all ok, until sometimes the server stop responding correcly for requests regarding this two pages with the Applet.
    When this happens the server just responds with a blank page.
         - with fiddler I can seer the request for the aspx page (that uses the applet)
         - but server responds with a blank html page
    The JVM doesn't fire.
    The IIS log don't show errors.
    The eventviewer doesn't show errors.
    The problem is solved with an IIS reset or a Application Pool reset.
    After a while the problem returns.
    This problem occours for other user in another machine, the server just stops responding correcly to request regarding pages with applets, the other pages still continue to work.
    If we disable Java Control Panel->Advanced->Java Plug-in->Enable the next-generation Java Plug-in the problem seend to stop, but we can't force all clients to disable this option right?
    Or there is a way to force the Applet to run with this option disabled?
    As anyone experience similar problem?
    Regards,
    OF

    This is all ok, until sometimes the server stop responding correcly for requests regarding this two pages with the Applet.
    When this happens the server just responds with a blank page.
    - with fiddler I can seer the request for the aspx page (that uses the applet)
    - but server responds with a blank html pageWell, if http requests look identical in case of success and failure (pay attention to cookies, etc) then it has to be something on the server side.
    It could be that server gets into this wrong state because of previous requests made by applet but it is hard to tell.
    I am not clear how old/new plugin can make a difference unless your applets run in the legacy mode (i.e. you are actually trying to reuse SAME instance of the applet when
    it is loaded next time).
    I'd start with
    1) carefully comparing good/bad sessions
    2) checking whether server will serve correct response to another client when it serves "bad" page for current client
    3) add debug statements to aspx - it is scripted page, may be some condition is not met and then it returns blank?
    4) record all http requests in one session until you get to "error" state and then use any http server testing tool to "replay" this set of requests.
    You should be able to get server into the same state without use of applet. Then you can try to tweak set of requests to see what makes a difference.

  • How to remove blank pages

    Dear all,
    How can i remove blank pages in combind pdf in one short, if you have any idea or suggestion for remove blank pages in Acrobat. We need without blank pages counting for final page count purpose.
    We tried to remove blank pages option in acrobat 9.0, but it is not use single short. It is taken more time to taken for maual work.
    If you have any scripting for this? or any option having in acrobat in single short? Please help me in this regard.
    Thanks
    kanaga kumar. k

    This can be done with a script, but a script can only assume a page is
    blank if it has not text in it. It can't know if there are images or other
    graphic elements in a page.

Maybe you are looking for