This is rather surprising. I thought that this would be something like the solaris lp command where you could issue a -o duplex and it would do the trick.
I know there is the -Z switch to lpr and its suprising that I would have to setup a script to do this surely there is an easier solution ? Thanks and Cheers, Aly. On Thu, 2003-09-04 at 09:32, [EMAIL PROTECTED] wrote: > On Thu, Sep 04, 2003 at 09:10:18AM -0600, Aly Dharshi wrote: > > Hi Folks, > > > > Would anybody know how to print to a duplexer, we have an HP 2300DN > > (jetdirect card) and I tried lpr -Zduplex and zippo, am I missing > > something. > > > > Are there any lp commands, I print using lp -d cs5 for instance and it > > works fine. > > Usually the duplexer on these models is activated by @PJL commands. > If you're using CUPS you might be able to set up the printer in such a > way that it defaults to duplex (@PJL SET DUPLEX=ON and @PJL SET BINDING > =LONGEDGE), otherwise you might think of writing a small wrapper filter > script which takes an input file, prepends some PJL code to the file > contents, and sends it to stdout - where you can pick it up and pipe it to > lp or lpr > > Steffen > -- > Steffen Grunewald * * * Merlin cluster admin (http://pandora.aei.mpg.de) > MPI für Gravitationsphysik (Albert-Einstein-Institut) > Am Mühlenberg 1, 14476 Golm, Germany (http://www.aei.mpg.de) > e-mail: steffen.grunewald(*)aei.mpg.de * +49-331-567-{fon:7233,fax:7298} -- Aly S.P Dharshi [EMAIL PROTECTED] Southern Alberta Digital Library Project "A good speech is like a good dress that's short enough to be interesting and long enough to cover the subject" -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list