HomeTechnical Support

Technical Support Questions

Back Page Printing on 1st page only Messages in this topic - RSS

Brian
Administrator
Posts: 10


13 days ago
Brian
Administrator
Posts: 10
The sample code below is just for Copy 1, meaning that any other copies will be set have the duplexing enabled, but they can have #ElseIf statements that could specify specific behavior for other specific copies as well.
So something like this:

#If [C,1]
#Assign DuplexOn, 'N'
#ElseIf [C,2]
#Assign DuplexOn, 'Y'
#ElseIf [C,3]
#Assign DuplexOn, ‘N’
#EndIf

{DuplexEnabled{DuplexOn}}


That would all be valid as well.

--
Wellspring Software
Support Technician
0 link
PatriciaB
Posts: 3


17 days ago
PatriciaB
Posts: 3
Nancy wrote:
If someone wants to conditionally turn duplexing on or off on a per copy basis, this is how you can do it.

In this example, Copy 0 (Original) will be a printed copy, and Copy 1 will be a PDF File. If the client wants the printed copy to print duplexed, but does NOT want the PDF file to print duplex (which typically results in extraneous or blank pages), this can be done with the following code in the Footer Objects:

-----------------------------------------
#If [C,1]
#Assign DuplexOn, 'N'
#Else
#Assign DuplexOn, 'Y'
#EndIf

{DuplexEnabled{DuplexOn}}

------------------------------------------

This last line is not a typo; there is no # sign in front of the line, because it's not a typical PB command, but it does have the effect of setting the DuplexEnabled variable on a per copy basis, which cannot be done by normal means. Simply assigning the DuplexEnabled variable in PB to Y or N with a copy condition will not have the intended effect.

Example:

#[C,1]Assign DuplexEnabled, 'N' | Does not work



This script works with Copy 1 or else, will it work also if you condition the page number so a PDF file will have Page 1, back of page 1, page 2, page 3, etc?
0 link
Nancy
Administrator
Posts: 660


29 days ago
Nancy
Administrator
Posts: 660
If someone wants to conditionally turn duplexing on or off on a per copy basis, this is how you can do it.

In this example, Copy 0 (Original) will be a printed copy, and Copy 1 will be a PDF File. If the client wants the printed copy to print duplexed, but does NOT want the PDF file to print duplex (which typically results in extraneous or blank pages), this can be done with the following code in the Footer Objects:

-----------------------------------------
#If [C,1]
#Assign DuplexOn, 'N'
#Else
#Assign DuplexOn, 'Y'
#EndIf

{DuplexEnabled{DuplexOn}}

------------------------------------------

This last line is not a typo; there is no # sign in front of the line, because it's not a typical PB command, but it does have the effect of setting the DuplexEnabled variable on a per copy basis, which cannot be done by normal means. Simply assigning the DuplexEnabled variable in PB to Y or N with a copy condition will not have the intended effect.

Example:

#[C,1]Assign DuplexEnabled, 'N' | Does not work
0 link
Shirley Crocker
Posts: 12


11/5/2017
Shirley Crocker
Posts: 12
Is there a command that could be added when printing an order with multiple pages where the back page only prints on the back of Page 1?

TIA

--
Shirley Crocker
Sr. Business Analyst
| Net@Work | 309 W. Washington Ave. Unit 907, Madison, WI 53703
 608-729-5767 | *scrocker@netatwork.com|  www.netatwork.com

 please don't print this e-mail unless you really need to.
0 link






Powered by Jitbit Forum 8.3.8.0 © 2006-2013 Jitbit Software