> From [EMAIL PROTECTED] Sat Aug 5 00:02:49 2000
> Date: Sat, 5 Aug 2000 08:07:21 +0200 (MEST)
> From: Philipp Cain <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: SYSV lp -o option
>
> Hello all,
>
> I'm doing my first steps with LPRng.
> I set up a linux box as LPRng print server to handle
> print jobs from other linux machines as well as from HP SysV
> workstations.
> The linux part seems to work quite well, especially the -Z options
> to choose the tray, duplex printing etc. But using the print options
> on the HPs (lp -o ...) doesn't have any influence on the printout.
> Why do I think it should work ?
You will need to first check to see how the HP SysV print stuff
is forwarding the options.
First, stop the LPRng print queue:
h4: {529} % lpc stop
Printer: t1@h4
[EMAIL PROTECTED]: stopped
Now, on your HP system, print to the print queue and make sure that
the job has been spooled:
hp: # lp -d t1 -o landscape /tmp/one.ps
Now check to see that the job arrived:
h4: {531} % lpq
Printer: t1@h4 'Test Printer : 1' (printing disabled)
Queue: 1 printable job
Server: no server active
Rank Owner/ID Class Job Files Size Time
1 papowell@hp+490 A 490 /tmp/one.ps 145 12:42:59
Now look in the spool queue and check the control file:
h4: {531} % more /var/spool/lpd/t1/cf*
Apapowell@hp+490
CA
D2000-08-05-12:42:59.257
Hhp.private
J/tmp/one.ps
Lpapowell
Ppapowell
Qt1
Slandscape
N/tmp/one.ps
fdfA490h4.private
UdfA490h4.private
(Note that I faked the Slandscape entry)
If the option is being delivered, then you can use the option conversion stuff.
In the next release of LPRng you will be able to do:
:prefix_option_to_option=S,O Z
which will prefix the options as you need.
Patrick Powell Astart Technologies,
[EMAIL PROTECTED] 9475 Chesapeake Drive, Suite D,
Network and System San Diego, CA 92123
Consulting 858-874-6543 FAX 858-279-8424
LPRng - Print Spooler (http://www.astart.com)
-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------