SUMMARY: Setting up network printers...

From: Jason Boerner (
Date: Mon Jan 22 1996 - 16:42:17 CST

I recieved MANY responses and they were all great. The consenses seems
to be "pick up a copy of JetAdmin from HP."
The other popular answer was to use admintool. I chose to go the
JetAdmin route.

Some specific responses will placed on the end of this summary.

Here is what I did.
sol_pkgadd.d0037 -- For Solaris 2.3, 2.4


pkgadd -d <filename> all

Commented back in tftp into my inetd.conf

And did a mkdir /tftpboot

>From this point.. Simply run jetadmin and set up a new printer.

Thank you to everyone who responded:

The respondants that I have heard from so far:
David Evans <>
Michael Price <>
Petros Michalis <>
"Sanjiv K. Bhatia" <>
Jim McBride <>
Martin Huber <>
"Marks, Evan R" <
Justin Young <>
Kenneth Simpson <>
Guntram Wolski <>
Sahir Siddiqui <>
John Eliopoulos <>
Brian Desmond <>
"Michael R. Zika" <>
Mike Ellis <>
Michael Sullivan <>
Robert Pasken <>
Tommy Lindqvist <>
Christian Masopust <>
Glenn Satchell - Uniq Professional Services
Martin Achilli <>
Oliver Landsmann <>
ray <>
Mary Verge <>
"Lyle E. Miller" <>
Sameer Vadakke-Kuruppath <>
"S. D. Raffensberger 500622500" <>
From: Keith M Willenson <>
Subject: Re: Setting up network printers...
I had the same problem and am very frustrated with the documentation!!!!
On solaris 2.4
#lpadmin -p printer2 -s system1!printer1
will create printer2 on your local system that goes to printer1 on
See the man page for lpadmin.
On SunOS 4.1.1, edit your /etc/printcap. rm = remote machine, rp =
printer, sd = spool directory
will create printer2 on your local system that goes to printer1 on
Make sure you create the /var/spool/printer1 directory.
K Sr. Systems Analyst
(612) 623-5661 Minnesota Department of Health

From: Nicholas J Brealey <>
You probably need HP's JetDirect software which is available by anonymous
It is very easy to install and setup.
The only problem I have found is that man -t and lp -Ttroff do not work
HP's procedure and Sun's Postscript filters may not be installed.
The following extract from my notes shows how I got man -t and lp -Ttroff
to work on my systems for two ptrinters lj and pj after I had installed
JetDirect Software:
To: log
Subject: INSTALLED HP printers properly
I installed the HP printers properly so that man -t and lp -Ttroff work.
On the server I added all the postscript filters as per the Solaris
# cd /etc/lp/fd
# for f in `ls | sed 's/.fd$//'`
> do
> lpfilter -f $f -F $f.fd
> done
I then changed the lj and pj filters so that they accept postscript,
hpgl2 and pcl input instead of any input:
# lpfilter -f lj -
Input types: postscript simple hpgl2 pcl
# lpfilter -f pj -
Input types: postscript simple hpgl2 pcl
(I could have changed the lj.fd and pj.fd files before installing the
To list the filters do:
# lpfilter -f all -l

From: Ric Anderson <>
Get Solaris Advanced System Administrator's Guide, ISBN 1-56276-131-5
by Janice Windsor (pub: Ziff Davis Press).
Chapter 11 covers printer setup.
I used the admintool printer thing to select a remote printer
with BSD spooling and make it the default. That sets up most of
the junk. Or you can do the following to set up an HP laserjet
4M+ named treekiller on lw1 (most from memory, so salt well)...
        lpsystem -t bsd treekiller
This adds a line to /etc/lp/systems. Note that "treekiller" and
"treekiller.your.domain" aren't the same, so use the proper
notation for your environment.
        lpadmin -p lw1 -s treekiller
Binds lw1 to "treekiller"
        lpadmin -p lw1 -T PS
sets the printer type to "postscript",
        lpadmin -p lw1 -I postscript
says the printer only accepts postscript data (don't ask...).
        cd /etc/lp/fd
        for f in download dpost postio postior postprint postreverse
        lpfilter -f $f -F $f.fd
This sets up filters so ascii files sent to the printer get a
postscript wrapper put on them.
        accept lw1
enables queuing
        enable lw1
enables sending data to the printer
        lpadmin -p lw1 -D "HP LaserJet 4M+"
sets the printer description.
If (and only if) this is to be the default printer, then do
        lpadmin -d lw1
Lastly, check things with
        lpstat -p lw1 -l
and get some output. Mine says..
  printer lw1 faulted. enabled since .... available.
** THIS IS NORMAL FOR JETDIRECT PRINTERS. Its in power save status.
        JetDirect lpd: no entries
        Content types: postscript
        Printer types: PS
        Description: HP LaserJet 4M+
        Users allowed:
        Forms allowed:
        Banner not required
        Character sets:
        Default pitch:
        Default page size: 80 wide 66 long
Then do
        lpstat -t
and check the output of that against what you think you set up.
You can
        lp file
if you made lw1 the default or
        lp -p lw1 file
if you didn't make it the default but still want to print to it.
Good luck,
Ric (<> "Ric Anderson", using RTD's public internet access)


This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:51 CDT