Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* adressing printer trays with lp??
@ 1998-07-09  4:00 Wolfgang Armbruster
  1998-07-13  4:00 ` Eric Osborne
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Armbruster @ 1998-07-09  4:00 UTC (permalink / raw)


is there a chance to direct a printout to a specific laserjet upper or 
lower tray by using the "lp" command?
-- 
Wolfgang Armbruster | wolffsed@dinx.de



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: adressing printer trays with lp??
  1998-07-09  4:00 adressing printer trays with lp?? Wolfgang Armbruster
@ 1998-07-13  4:00 ` Eric Osborne
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Osborne @ 1998-07-13  4:00 UTC (permalink / raw)


Wolfgang Armbruster wrote:
> 
> is there a chance to direct a printout to a specific laserjet upper or
> lower tray by using the "lp" command?
> --
> Wolfgang Armbruster | wolffsed@dinx.de

Yep. If you're using the System V style lpsched and lp command, you can
build back end output filters out of shell scripts that do essentially
anything you want. LP has a generic hook for passing customized options
via the -o flag - you would do something like '-o tray2' to pass the
option. LP won't interpret the thing at all - it takes all of the -o
flags, bundles them and they end up getting passed to the interface
program for your printer, which can either ignore the flags or do
something with them. You must, of course, know how to send a command
from the interface program to the printer to do the tray selection.

Hope that helps.

Eric D. Osborne
Senior Consultant
Compaq Computer Corporation

-------------------------------------------------------------------
The above comments reflect my own opinions, and should not be construed
to represent any official statement from my employer.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-07-13  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-09  4:00 adressing printer trays with lp?? Wolfgang Armbruster
1998-07-13  4:00 ` Eric Osborne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox