Double side printing from SAPScript, last page missing

Hello all,
I try to setup double side printing from SAPScript, but have a problem and hope that somebody might help me.
In my form I have two pages with main window (FIRST and NEXT) which have print mode set to 'D' and next page set to 'TANDC'. Page 'TANDC' has only one VAR window which contains terms and conditions text.
Now, everything works fine except that T&C text isn't printed after last page (ie. after last 'NEXT' page). Is there a way to force printing of last (back side) page?
PS: Calling 'WRITE_FORM' from the print program at the end didn't help either.
Thanks in advance.
Grigor

Hi Vinod,
this has a same effect as calling NEW-PAGE from form.
Again, window 'FOOTER' is printed on a new page instead bellow 'MAIN' window and there are no T&C on the last sheet. I also tried to explicitly call text element in window 'FOOTER' before calling 'CONTROL_FORM', like this:
CALL FUNCTION 'WRITE_FORM' "last element in 'MAIN' window
       EXPORTING
            element = 'LAST'
       EXCEPTIONS
            OTHERS  = 01.
  CLEAR sy-subrc.
CALL FUNCTION 'WRITE_FORM'
       EXPORTING
            element = 'FOOTER'
            window = 'FOOTER'
       EXCEPTIONS
            OTHERS  = 01.
  CLEAR sy-subrc.
CALL FUNCTION 'CONTROL_FORM'
       EXPORTING
             COMMAND = 'NEW-PAGE'
       EXCEPTIONS
             UNOPENED = 01
             UNSTARTED = 02.
It looks like the 'FOOTER' window is under control of SAPScript, not of print program.
Note: 'CONTROL_FORM' call is placed immediatelly before 'CLOSE_FORM', so at the last possible place.
Kind regards,
Grigor

Similar Messages

  • Mac Microsoft Word 2008 double side printing

    Hi.
    I recently purchased Macbook Pro 15, and installed Microsoft Office 2008.
    I have a SamSung Express 282 series laser printer.
    When I use my window pc or window labtop, it double-side prints all right.
    But when I try to double-side print with Mac Pro Microsoft word 2008, it doesn't work.
    From the Print menu, I go to 'printer feature' and click on 'reverse two-sided printing', but it keeps saying
    "Changing the setting of Reverse Two-Sided Printing to On would cause a conflict that cannot be resolved. No change will be made,"
    and does not let me click on it.
    Does anyone know what's going on?
    I really want to save some trees and do only double-sided printing, but it doesn't let me.
    Any help would be greatly appreciated.
    Thanks, guys.

    http://www.usa.canon.com/cusa/support/consumer/printers_multifunction/pixma_ip_s eries/pixma_ip4200#DriversAndSoftware
    Be sure to pick the OS X Lion 10.7 driver from the pulldown menu before selecting the driver category below it.
    If that doesn't work, contact Canon.   There are some Lion supporting double sided printers for sure.
    Mind you,when manufacturers rely on the CUPS drivers as they did in this instance they may have
    taken the easy way out, and that might avoid having the double sided printing.
    http://support.apple.com/kb/dl899 may be able to patch those drivers to give you double sided printing if the Canon ones do not.
    There are a few other open source alternatives*.
    When double sided printing doesn't work, the trick is to rotate the pages upside down and feed face down switching odd and even page numbers.
    Test with single sheets first, and then once you get the hang of it, do multiple.
    I don't know where your printer feeds, so you'll have to try a couple times to figure out the correct direction.

  • PhotoSmart Premium C309a driver problem in Win10 at double side printing

    My problem is as follows: I created a catalog in MS Publisher 2013 for A4 paper format with 2 page per paper. I selected booklet side-fold type and double side printing. MS Publisher prepared all pages in correct way. I even created PDF versuions of such pages. But each time when I print pages, the printer keeps make them smaller (I think it scale them for Letter format) despuite the fact I changes in printer preferences A4as default paper source, all documents are in A4 format etc. As result, the printed pages are shifter from the center page on the left side, which is ok for one side printing but cannot work for doyuble side printing as shift is in different directions for result paper. Additionally, I cannot any more print on DVD or CD surfaces as the driver doesn't support sauch a feature. Please let me know how I can replace the native Windows 10 driver with the one for Windows 8.1? Or is there any other solutions except using another OS? Thx, Vlad.

    Hi , Welcome to the HP Forums! I noticed that your HP PhotoSmart Premium C309a is having a driver problem in Windows 10 when printing double sided. I am happy to help!  According to this guide, How to Use the 2-Sided Feature, it looks to me as if the double sided printing feature is only available to use with regular plain white paper. (Letter sized), which could be why the printer is scaling the size to letter.  You could possibly try using an alternate driver, by going to this post, How to Assign Alternate Print Drivers in Different Versions of Windows, by , and follow the steps for Windows 8, as they will work on Windows 10. Then you could attempt a custom size print. But as mentioned previously, I am positive that the 2-sided feature for this printer is for Letter sized paper only, and cannot guarantee this will work.  Hope this answers your question, and thank you for posting!  “Please click the Thumbs up icon below to thank me for responding.”

  • How to stop double side printing on HP ENVY 4500!!!!! HELP ME PLEASE!!!!!

    i am going CRAZY!!!! I can't stop with the damm double side printing !!! And it's only using the blank ink cartiage and not the color one!!!!! PLEASE HELP ME!!!!!!!

    Hi stressedteacher,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    Sorry to hear that you are having an issue with the printer doing double sided print out's.  So I can better assist you,  Please respond with which Operating System you are running.
    Which Windows Operating System am I running?
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    I look forward to hearing from you and I am always happy to help.
    Thanks for your time.
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Black ink only & double side printing

    This is regarding a printing issue using my newly bought printer. I wish to print double sided using the option black ink cartrige only under grayscale printing. However, when I select double side printing, there were only 2 options under the grey scale printing (off which means color or high quality). Is there a way to select both double side and black ink cartrige? Furthermore, does grayscale printing using high quality option uses ink from the black ink cartrige or also from the color cartriges? thanks in advance

    What printer model? What operating system?
    Generally there are two options for grayscale printing, either "use black cartridge only" or not.  If the "use black cartridge only" box is not checked color ink will be used as it provides better print quality.
    Some printers and some drivers do not support "black cartridge only" when printing in duplex mode.  In duplex printing a small amount of color ink may be used to underprint the black print to make it dry faster to prevent smearing in duplex printing.  (Not intuitive, but it is correct....)
    See here for some information on how ink is used.  Some ink will be used for servicing even when printing with black ink only.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Recently, when I try to Print from a web page the printer will only print 1/2 a page.

    Recently when I try to print from a web page or e-mail, it will only print the left side of the page.  My printer is a Photosmart Plus B209a.

    This article should help resolve your partial pages:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01892627&cc=us&dlc=en&lc=en
    Give the steps listed under your operating system a try and let us know if it helps.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Double side print

    I can't double side print because the pdf size is always changing & my printer only will do the double side print if the document is standard size 8x11. How can I change the size of my adobe so it defaults to the required 8x11?

    That is specified when the document is created.
    But in your case, can't you get it to print when changing Page Size & Handling, e.g. Fit, or Shrink oversized pages?

  • Print total in last page,

    Hello Everyone
    In PLD i have a requirement whereby if the layout goes into more than a page says 2 pages,then the total should display "Continued in next page" in the 1st page and in the last page(in our case 2nd page) total should print the document total in the same area. How can this be done? How to achieve this if...then...else statement in PLD
    if CurrentPage()!=TotalPages()
    then "Continued in Next page"
    else Doctotal
    Thanks and Regards
    Raghu
    Edited by: Raghu Ram on Apr 7, 2009 12:38 PM

    Dear Raghu,
    If you would like to print certain fields on the last page only,
    'TotalPages()' cannot be used in formula, therefore, please follow the
    Workaround below.
    As a Workaround create the following field:
       Field_Formula
       General Tab
       Untick visible
       Left = 0 / Width = 0 / Top = 0 / Height = 0
       Content Tab
       Source Type: Formula
       SystemString(ContinueNextPageNotice) ==''
    And enter the ID of this field as the "Link to" for the Fields you
    like to print on the last page only.
    For more information please refer to the NOTE 1058584.
    Hope this helps.
    Regards,
    Gagan Thareja
    SAP Business One Forums Team

  • How to print in the last page of the script..?

    Hi,
    I am working on a script. I have a header window and one main window. In the main window, I am printing the line items of the Invoice. Once the line items finish, I have to print the sub totals there. and also to print the company agreement details(around 10 lines of text) in the last page of the script.
    So, <b>how to print the agreement details in the last page of the script..?</b>
    Can anyone provide me a sample code to find the last page of the Script layout..?
    And regarding writing the agreement details, is it better to hard code the text or use the standard texts..? which one is better..?
    Regards,
    Paddu.

    HI,
      Just create a Standard text, if you are going to use this standard text in other layouts also... and use it otherwise you can hard code it as this its of only 10 lines.
    declare one more element in the  main window itselft and call it atlast it would print in the last page..
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'FOOTER'<b><- This element should contain the agreement details</b>
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'
    EXCEPTIONS
    ELEMENT = 1.
    Thanks
    Mahesh

  • Suddenly, system produces a "microsoft image writer," freezes, then crashes when I try to print from a web page. This is new, just past week or so.

    For the past week or two, when I desire to print from a web page or email and hit the "print" command, instead of my printer name the printer window displays 'microsoft document image writer." Then it asks me to save (in which case it appears in my documents) or print to file. Then, if it works, it produces a window with an image of the page. And once or twice, I can then print. But usually, it produces a blank screen, an endless hourglass, a "not responding" message, and then the blue screen of death.

    -> Problems printing web pages
    * http://kb.mozillazine.org/Problems_printing_web_pages
    -> [Firefox hangs]]
    * http://kb.mozillazine.org/Firefox_hangs
    Check and tell if its working.

  • Double Side printing in Lion?

    Ever since I upgraded to Lion I've noticed that I cannot double side print in Reader. Other apps are set to double side print without issues, but I can't get Reader to DSP. I have Adobe Reader X (10.1.0), Mac OS 10.7.1 and a Lexmark Prevail Pro705. I've even gone to the Lexmark site and updated my driver. Any thoughts? I checked the sticky on the Forum Homepage about Lion compatability, but I was unsure how to translate the work around to my situation.

    I ran into the same issue - Adobe Reader does not print double sided on my Lexmark Genesis S815. Did you find a solution in the meantime?

  • How do I make a page marker so the module will resume from tha last page, including quiz slides.

    How do I make a page marker so the module will resume from tha last page, including quiz slides.

    Whow that is a long time ago. If I remember well, even then bookmarking was enabled by default, Resume Data were sent. Did you try it out on the LMS? Because even though all claim to be SCORM compliant, they don't always have all the functionality

  • Anybody here have try the double-side printing?

    It doesn't work when I try to do the double-side printing. And in the schedule info, it is Single-side --!!. Of course our printer support the double-side printing.So,any idea about this?
    And I add the filter to transform the pdf to ps,is this the possible reason that the tray selection and double-side printing do not work?

    To print on both sides (Duplex Mode), you have to
    1.Have a Postscript ready printer.
    2.Install Pasta
    3.Install and Setup third party software like xpdf or Ghostscript to convert the PDF to PS file
    4.Setup Printer Style and Pasta Config file
    a.Define custom print style like 'Duplex PDF Publisher'
    b. Assign this print style to Printer Type with with standard PASTA driver 'PASTA_PDF'
    c.Then query printer driver 'PASTA_PDF' and on the arguments field, enter following -pn$PROFILES$.PRINTER -f$PROFILES$.FILENAME -c$PROFILES$.CONC_COPIES -Fpasta_pdf.cfg
    d. Verify that the file $FND_TOP/resource/pasta_pdf.cfg is present and that it contains only one "uncommented" entry corresponding to the installed third party tool, as follows:
    preprocess=pdftops -duplex {infile} {outfile}
    pdf2ps (Ghostscript) by itself does not support the duplex option. You will need to use XPDF software (pdftops).

  • My iMac is networked to a brother printer with automatic duplexing capability.  It will double-side documents from all sources except from Word.  I can't find anywhere in Word to change the settings.  Any advice?

    My iMac is networked to a Brother Printer that is capable of duplex printing.  I can print duplexed documents from every source so far except Word.  Nothing in the pre-print dialogue boxes gives me the choice to double side.  In the same place that I am given the choice to double-side when printing from other sources, Word only offers 'collated'.  Any advice?

    Thanks.  It worked!  It sure seems like a complicated way to go about duplexing that takes only one step with every other source but Word, though, doesn't it?  Anyway, that's not your problem and you solved mine.  Much appreciated.

  • Print on the last page of a Sapscript form

    Hi,
    Is it possible (and how) to print something (a filed of an internal table) only to the last page of a sapscript form?
    Thanks

    Hi
    if you want to print something at the end of a page....
    You can write it as this...
    in the main window...
    in the data element write it...
    /E END_DATA
    /: IF &PAGE&  EQ  &SAPSCRIPT-FORMPAGES&.
    &W_VALUE&.
    /: ENDIF.
    SAPSCRIPT-FORMPAGES variable is a system variable which stores the total pages.
    PAGE variable stores the current variable accordingly it will check for last page and print it.
    Now call it in the driver program .
    Regards.

Maybe you are looking for