[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: duplex print command
Pushpa,
In addition to the init-string you have in the declare-printer section, you
also need to specify when to switch printing from the front side to the back
side.
For the front side:
encode '<27>' into $esc
let $frontform = $esc || '&a1G'
print $frontform () code-printer=hp
For the back side:
encode '<27>' into $esc
let $backform = $esc || '&a2G'
print $backform () code-printer=hp
I have used these commands in the begin-heading section and used the
#page_count reserved variable to switch back and forth between the two
commands (when #page_count is odd, use front side, when #page_count is even,
use back side).
If this doesn't work, you can reference other similar commands under the
Simplex/Duplex section of the following HP PCL Command reference page.
http://www.hp.com/cposupport/printers/support_doc/bpl02705.html#P86_2004
Julie
-----Original Message-----
From: Pushparchana Narayana [mailto:pushparchana@YAHOO.COM]
Sent: Friday, July 09, 1999 10:05 AM
To: Multiple recipients of list SQR-USERS
Subject: duplex print command
Hi
I am trying to print the output of the report on either sides of the
paper and used the code as
declare-printer hp_printer
init-string = <27>&l1s
end-declare
but it didn't print the output the way I wanted.
can anyone help me out by correcting me or by letting me know any other
way of doing it.
Thanks in advance
pushpa
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com