SUMMARY: passing lp options from clients to printserver

John Stoffel (jfs@fluent.com)
Thu, 23 Oct 1997 12:00:07 -0400 (EDT)

The quick, dirty and undocumented answer is to add to the 8th field of
the /etc/lp/Systems file on each client the test 'SVR4-Extensions'
like below:

printhost:x:-:bsd:-:n:10:SVR4-Extensions:-:

I've now got a solution that works great among my Solaris and SGI
clients printing to a central Solaris box. HP clients are still being
worked on, though I'm thinking of installing the JetAdmin software as
was suggested, though I'd really like to keep away from it if
possible.

I'd like to thank all who replied for their quick replies. First
message is my original post, I've edited the replies to delete that.

John

--Boundary_(ID_5YOlfoK6qqmz3KXyxLAHpA)

MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
I've looked through the archives for sun-managers and various FAQs,
but I haven't come up with an answer.

My setup is a Solaris 2.5.1 machine acting as printserver for out
building. It talks to various HP LaserJet 4 & 5 printers, a Tektronix
and Canon color printers. I'm using the JetAdmin software from HP to
control the HP printers and it works fine. I'm setup to use the SYSV
lp print system on the server and most clients. I've got patch
103959-05 but I haven't applied it to the server yet, though it is
applied to one Solaris 2.5.1 client.

My clients are a whole grab bag of systems, alot of Solaris 2.5.1
boxes, SGIs, HPs, Windows NT 4.0, DECs, IBMs and some odd-ball
systems. All can print (with some minor problems from time to time)
through the printserver. The Windows NT systems work great, since
they can set print options themselves and they get sent through
without problems.

What I can't do is pass options to the printers from the clients. For
example, if I'm on the server I can do:

lp -dbonham -olandscape <file>

and it will print landscape. But if I try this from a Solaris 2.5.1
client (patched with 103959-05), it silently ignores the option,
though the file prints in portrait mode. Note, none of the clients
is running the jetadmin software.

I know I can get around this by just defining a bunch of new print
queues on the printhost for each type of printing I want to do, and
then point a queue on the client to there. I'd really like to get
away from this if I can, if only to cut down the number of queues we
have to keep around.

Does anyone have any suggestions? Thanks.

John

John Stoffel - Senior Unix Systems Administrator - Fluent, Inc.
jfs@fluent.com - http://www.fluent.com - 603-643-2600 x341
Honk if you love peace and quiet!

--Boundary_(ID_5YOlfoK6qqmz3KXyxLAHpA)

Date: Thu, 23 Oct 1997 08:29:03 -0400
From: Matthew Stier <Matthew.Stier@tddny.fujitsu.com>
Subject: Re: passing lp options from clients to printserver
Sender: "Matthew Stier" <Matthew.Stier@tddny.fujitsu.com>
To: John Stoffel <jfs@fluent.com>
Content-type: TEXT/PLAIN; CHARSET=US-ASCII

As long as BSD is used as the transport mechanism, on the clients, you
can replace the eight field in the /etc/lp/Systems file with
'SVR4-Extensions'.

printhost:x:-:bsd:-:n:10:SVR4-Extensions:-:

--
Matthew Lee Stier                    *  Fujitsu Network Communications
Unix Systems Administrator           |  Two Blue Hill Plaza
Ph: 914-731-2097 Fx: 914-731-2011    |  PO Box 1609
Matthew.Stier@tddny.fujitsu.com      *  Pearl River, NY 10965

--Boundary_(ID_5YOlfoK6qqmz3KXyxLAHpA)--