[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Printing both sides
- Subject: Re: Printing both sides
- From: David Smith <david.a.smith@AC.COM>
- Date: Mon, 30 Aug 1999 10:10:27 -0500
Hi Krishna -
I did this using the example that follows for cases of selectively choosing to
print on the back page. This consisted of a PO Report that contained detail
lines (multiple pages on the front only) and printing a vendor address on the
back of the last detail page. You'll want to use a flag to determine when to
print header/footer if this is the case. Also, your PCL will be
printer-dependant:
Hope this helps to get you there!
Dave Smith
!-----------------------------------------------------------------------!
! Procedure: Duplex-Print-Address !
! !
! Descr: SIR_308 -- Print Address on back of Distribution !
! Summary page of PO detail to duplex printer. !
! !
! Called by End-of-PO-Process !
!-----------------------------------------------------------------------!
begin-procedure Duplex-Print-Address
!display 'Duplex-Print-Address'
#debugh do debug-msg('Duplex-Print-Address')
!PCL TO ENABLE DUPLEX PRINTING:
encode '<27>&l1s' into $duplex
print $duplex () code
do Print-New-Page !Print current page containing Summary PO
data
!and go to back of page to print mailing
address.
let $print_heading = 'N' !Suppress heading from printing.
let $print_footing = 'N' !Suppress footing from printing.
!PRINT ON THE BACK SIDE OF THE PAGE
do Print-New-Page !Print address without header/footer.
let $print_heading = 'Y' !Reset heading flag to print on next page.
let $print_footing = 'Y' !Reset footing flag to print on next page.
! RESET PRINTER BACK TO SIMPLEX MODE:
encode '<27>&l0s' into $Simplex
print $Simplex () code
end-procedure Duplex-Print-Address
"Johnson, Joe" <JoeJo@SNELLINGCORP.COM> (Mailed by: "Johnson, Joe"
<JoeJo@SNELLINGCORP.COM>)
08/30/99 02:28 PM GMT
Please respond to SQR-USERS@list.iex.net
To: Multiple recipients of list SQR-USERS <SQR-USERS@list.iex.net>
cc: (bcc: David A. Smith)
Subject: Re: Printing both sides
Krishna,
I've not done this, but I am working on an SQR that someone else wrote that
prints both sides -- it does so by Including the proper SQC:
#Include 'setupdpx.sqc' ! landscape duplex
I'm not sure if anything else is needed.
Hope that helps.
Joe Johnson
Snelling and Snelling Corporation
972-776-1332
-----Original Message-----
From: *Krishna Kishore [mailto:KKishore@SMTPGW.ARMS.OHIO-STATE.EDU]
Sent: Monday, August 30, 1999 9:24 AM
To: Multiple recipients of list SQR-USERS
Subject: Printing both sides
Hi Group, I am printing a .lis file directly from sqr.
What I want to do is to print the lis file on both sides of the paper .
Iam on v3.1/Oracle/HP laser.
Can any body help me with the code to be put in if at all it can be done?
TIA,
Krishna.