on 05-22-2015 3:12 PM
Hi all output gurus,
I've been struggling to print duplex in SAP. But I have succeeded finally. The purchase order (PO) page setup is as follows:
FIRST > TERMS
TERMS <> NEXT ( <> which means NEXT has successor page TERMS again)
So on the backside of each page the terms and conditions are printed. Awesome! But when I have a PO of only one page; the backside is blank; no terms there.
How can I force SAP to print the terms, at all times?
many thanks!
Just make sure, that you always print at least two pages...
You also got the problem, that you never print your terms on the back of the last page.
Easy solution is to add at the very end of your MAIN-processing a condition which force the smarforms to print "TERMS" once.
Got it? If not, you need to share a screen of your SF-tree and I do my best to add the correct place with paint
~Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Florian,
Thanks for your input; this is exactly how I have done it. I'm working with Sap script though..
I made an extra page, with the conditions that is printed at the end of the MAIN processing. So now I even have the terms on the last page, or in my example, have the terms printed on the backside as well, even with only one page print.
Now the next 'problem' rises. On a duplex printer this works like a charm; but I wonder if I get problems with a non-duplex printer. I haven't been able to test that yet; but I do not want to print out the terms as a separate page after each page.
(so, if a normal print would be 3 duplicate pages on a duplex printer, I would rather *not* have 6 single sided pages of which 3 would be the terms, but only 1 times the terms)...
At the moment I have made several pages, FIRST, NEXT, TERMS, ENDTERMS.
FIRST has TERMS as successor
TERMS has NEXT as successor, and vice versa.
(And in the end I call ENDTERMS (which is a copy of TERMS) to print the terms also at one page backside, or at the last page backside in case of a multiple page output).
I guess I will have to go back to a:
FIRST -> NEXT
NEXT -> NEXT page array, and call the TERMS page from within the sapscript as you described in your last reply. (I remember I had tried this though, but it didn't seem to work out).
At the moment I have solved it like this: All pages are defined D(uplex) in Sap script.
Page setup in Sap Script is First -> Next, and Next <-> Next.
At the end of the MAIN routine I call the Terms page once.
Expected output: All pages double sided, and the Terms are printed separate, of double side printed at the last page if the amount of printed pages is un-even.
Ahh.. I see... you just need to do it similar as you have now done it and call your sapscript with the specific layoutset at FM start_form (which need to be included right behind open_form)
First -> NEXT
FIRST_dup -> terms -> NEXT
~Florian
PS: You need to pass the formname also to get the thing running
archive_index just if you need it.
Hi Florian,
Sorry for the late reply. How can I prevent a gazillion (LOL) pages with the terms printed when the print is send to a simplex printer? There's not much I can do to change the sequal of pages?
( First -> Terms -> Next -> Terms -> Next -> End Terms)
On a simplex printer this would give me three single sided papers with the terms...
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.