Hello all,

My question concerns duplex printing using lpr. I thought this is a FAQ but
searching the mailing list did not give any results.

Basically, I don't understand on which stage it (duplex=on) should be done. My
guess was: to do it in a filter like this:

in file /etc/filters/filter_laser_duples.ps:
----------------
#!/bin/sh
/usr/bin/gs -q -r1200 -dSAFER -sPAPERSIZE=a4 -sDEVICE=lj5gray -dDuplex=true \
   -dNOPAUSE -sOUTPUTFILE=- - 
-------------------

and /etc/printcap has an entry:

--------------------
lp2:\
    :rm=111.111.111.111:\ #IP address here
    :ppd=/etc/filters/hpijs.ppd:\
    :lf=/var/log/lp-errs:\
    :sd=/var/spool/lpd/lp2:\
    :if=/etc/filters/filter_laser_duplex.ps:\
    :sh:\
    :mx#0:
--------------------

Unfortunately, it does not work. I get normal printouts. So, the question is:
how to switch the duplex printing on?

Thanks in advance for any help,

Roman

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to