From: Eric Osborne <Eric.D.Osborne@digital.com>
Subject: Re: adressing printer trays with lp??
Date: 1998/07/13 [thread overview]
Message-ID: <35A9AC40.79E1@digital.com> (raw)
In-Reply-To: MPG.100f2c9c12009ecc989681@news.dinx.de
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.
prev parent reply other threads:[~1998-07-13 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-09 4:00 adressing printer trays with lp?? Wolfgang Armbruster
1998-07-13 4:00 ` Eric Osborne [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox