> From [EMAIL PROTECTED] Fri Jun 23 18:50:27 2000 > Date: Fri, 23 Jun 2000 17:56:50 -0700 (MST) > From: iddwb <[EMAIL PROTECTED]> > Subject: Re: LPRng: in lpd.conf or elsewhere > To: [EMAIL PROTECTED] > > On Sat, 17 Jun 2000 [EMAIL PROTECTED] wrote: > > > There are several ways, depending on what you mean by duplex. > > I mean printing front and back on the paper > > > For command line approach: > > lpr -Zduplex > > Tried both of these, no luck. Any other suggestion? > > Below is my printcap file. The printer is an HP 4500 DN Color. > > > > > For the printcap approach: > > v1:append_z=duplex > > :lp=real@host > > > > # /etc/printcap > # > copphp45d:\ > :append_z=duplex:\ > :lp=/dev/null:\ > :sd=/var/spool/lpd/copphp45d:\ > :sh:\ > :rm=copphp4500c.pp.asu.edu:\ > :rp=copphp4500c:\ First, you need to use the 'ifhp' filter that will put the necessary commands into the output stream. Next you need to avoid the ':lp' and ':rm:rp. And finally you need to have the job sent to the right place. Try the following printcap file: copphp45d:rm=host.name.or.ihp.address.running.lpd copphp45d:server :append_z=duplex: :sd=/var/spool/lpd/%P: :[EMAIL PROTECTED]: :filter=/usr/local/libexec/filters/ifhp :ifhp=model=hp4500 After you have editted the printcap, do: >> checkpc -f >> lpc reread This will check the format of the printcap file for errors and then tell the lpd server to use the new file. (Real Programmers can send a SIGHUP to the lpd server :0, which is all that lpc reread does.) Patrick Powell Astart Technologies, [EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D, Network and System San Diego, CA 92123 Consulting 858-874-6543 FAX 858-279-8424 LPRng - Print Spooler (http://www.astart.com) ----------------------------------------------------------------------------- If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
