[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to print duplex when using lpr



On Thu, Dec 11, 2014 at 11:27 AM, Don Armstrong <don@debian.org> wrote:
On Thu, 11 Dec 2014, Kevin O'Gorman wrote:
> I sometimes use lpr in a pipeline getting postscript from groff. My
> printer (HP CP2025dn) has a duplexer and I'd like to use it. I could
> look up the Postscript for that, but I'm wondering if there's a way to
> force either of groff or lpr to do it for me.

If you're using cups, you can do the following:

lp -o sides=two-sided-long-edge filename;

man lp; for details.

Nice.  Works on lpr too, but the man page doesn't show it.
Thanks.

--
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Reply to: