Re: How to print duplex when using lpr

2014-12-15 Thread Kevin O'Gorman
On Thu, Dec 11, 2014 at 11:27 AM, Don Armstrong d...@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.


How to print duplex when using lpr

2014-12-11 Thread Kevin O'Gorman
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.

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

Please consider the environment before printing this email.


Re: How to print duplex when using lpr

2014-12-11 Thread Brian
On Thu 11 Dec 2014 at 11:14:23 -0800, 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.

Is

  http://localhost:631/help/options.html?TOPIC=Getting+StartedQUERY=

any help?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/11122014192240.74723994e...@desktop.copernicus.demon.co.uk



Re: How to print duplex when using lpr

2014-12-11 Thread Don Armstrong
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.

-- 
Don Armstrong  http://www.donarmstrong.com

The attackers hadn't simply robbed the bank. They had carried off
everything portable, including the security cameras, the carpets, the
chairs, and the light and plumbing fixtures. The conspirators had
deliberately punished the bank, for reasons best known to themselves,
or to their unknown controllers. They had superglued doors and
shattered windows, severed power and communications cables, poured
stinking toxins into the wallspaces, and concreted all of the sinks
and drains. In eight minutes, sixty people had ruined the building so
thoroughly that it had to be condemned and later demolished.
 -- Bruce Sterling, _Distraction_ p4


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141211192713.gm31...@rzlab.ucr.edu