Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Adding printers on Solaris

0 views
Skip to first unread message

Akim Demaille

unread,
Nov 17, 1998, 3:00:00 AM11/17/98
to

Hi!

I would like to know if somebody knows a way to add a printer to lp on
Solaris 2.5. Yet I know there are files to change in
/etc/lp/printers, but this is not enough to have the printer added.
So I have to run that painful admintool.

What is the missing step? Are there batch alternatives? (The intend
is, of course, to add in a single stroke a printer onto several
machines).

Thanks!

Akim

--
P-mail: Akim Demaille, 107 rue Bobillot, F-75013 Paris, France
E-mail: dema...@inf.enst.fr
V-mail: +33 1 45 81 78 81

Jeffrey Boulier

unread,
Nov 17, 1998, 3:00:00 AM11/17/98
to
In article <qyln25q...@gargantua.enst.fr>,

Akim Demaille <dema...@inf.enst.fr> wrote:
>
>Hi!
>
>I would like to know if somebody knows a way to add a printer to lp on
>Solaris 2.5. [...]
>What is the missing step? Are there batch alternatives? [...]

Mr. Demaille,

'man lpadmin' should give you the information you need.

--Jeffrey Boulier

--
Sr. Systems Programmer
George Washington University / SCT Inc.

Mike Nowak

unread,
Nov 18, 1998, 3:00:00 AM11/18/98
to
In article <72tf7q$d...@gwis2.circ.gwu.edu> , jeff...@gwis2.circ.gwu.edu
(Jeffrey Boulier) wrote:

> 'man lpadmin' should give you the information you need.
>
> --Jeffrey Boulier
>
>--
>Sr. Systems Programmer
>George Washington University / SCT Inc.

Jeffrey, I'm trying to use lpadmin to set up a networked HP 8000. The man
pages seem to refer to using a directly connected printer, but not a
networked printer. Any advice?

............................................................................
Mike Nowak ICQ# 6738626
The University of Michigan mno...@umich.edu
Health Media Research Lab http://www-personal.umich.edu/~mnowak/
............................................................................
"You don't get to choose how you're going to die. Or when.
You can decide how you're going to live now." - Joan Baez


Philippe Houe 0251858173

unread,
Nov 18, 1998, 3:00:00 AM11/18/98
to
with "LASER" known as an IP host ( with lpd protocol )
and "laser" the spool name:

lpadmin -x laser
lpsystem -t bsd LASER
lpadmin -p laser -s LASER -I any
accept laser
enable laser
lpstat -t -l

man lpadmin/lpsystem/accept/enable/lpstat
to ubderstand what you do
--
Philip...@emn.fr Systemes d'Information et de Communication
Ecole des Mines de Nantes Tel: 02 51 85 81 72
4, rue Alfred Kastler, BP 20722 Fax: 02 51 85 81 89
44307 Nantes Cedex 3 France

chris

unread,
Nov 19, 1998, 3:00:00 AM11/19/98
to
Mike Nowak wrote:
>
> In article <72tf7q$d...@gwis2.circ.gwu.edu> , jeff...@gwis2.circ.gwu.edu
> (Jeffrey Boulier) wrote:
>
> > 'man lpadmin' should give you the information you need.
> >
> > --Jeffrey Boulier
> >
> >--
> >Sr. Systems Programmer
> >George Washington University / SCT Inc.
>
> Jeffrey, I'm trying to use lpadmin to set up a networked HP 8000. The man
> pages seem to refer to using a directly connected printer, but not a
> networked printer. Any advice?
>
>

If you have a jet direct card you can get the jetdirect software from hp
website. The software makes it real easy.

chris

ynot...@my-dejanews.com

unread,
Nov 20, 1998, 3:00:00 AM11/20/98
to mno...@umich.edu
In article http://x14.dejanews.com/getdoc.xp?AN=413301943,
"Mike Nowak" <mno...@umich.edu> asked about HP network printer setup.

http://www.hp.com/cposupport/prodhome/hpjetadmin4304.html will get you the
JetAdmin software.

It's very straightforward. I have used it for HP4000N printers.

tony

_________________________________________________________________________
Famous last words:
1) "Don't worry, I can handle it."
2) "You and what army?"
3) "If you were as smart as you think you are, you wouldn't be
a cop."

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own

Jeffrey Boulier

unread,
Nov 24, 1998, 3:00:00 AM11/24/98
to
In article <k7I42.526$CY1.2...@news.itd.umich.edu>,

Mike Nowak <mno...@umich.edu> wrote:
>In article <72tf7q$d...@gwis2.circ.gwu.edu> , jeff...@gwis2.circ.gwu.edu
>(Jeffrey Boulier) wrote:
>
>Jeffrey, I'm trying to use lpadmin to set up a networked HP 8000. The man
>pages seem to refer to using a directly connected printer, but not a
>networked printer. Any advice?
>

Well, Sun's advice is evidently "Don't use lpadmin, use jetadmin".
You can pick it up from http://www.hp.com, or directly from
ftp.hp.com/pub/software/SOL515d.PKG [I think].

Do a pkgadd, and you're all set to run jetadmin. HOWEVER!!!! the install
changes your /etc directory to be group writable. This is a problem if you
are running a copy of Sendmail from sendmail.org, and you haven't set
confDONTBLAMESENDMAIL or some such in your configuration file. Sendmail
will bomb with some useless error message. Just reset your permissions on
/etc to rwxr-xr-x and you're fine. I haven't been able to figure out why
jetadmin wants to change the permissions in the first place...

There's also a web-based version of jetadmin that HP is really trying hard
to push. They claim that updates, added drivers, and suchlike will be more
likely to show up there first. I haven't tried it out because I am a
terminal-based person.

Hope this helps!

Sincerely Yours,
Jeffrey Boulier

--
Senior Systems Programmer
George Washington University / SCT Corp.
-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-=+=-
Needed: Exp. Unix admin (Solaris & AIX) in Washington DC. E-mail resume!

Doug McIntyre

unread,
Nov 24, 1998, 3:00:00 AM11/24/98
to
jeff...@gwis2.circ.gwu.edu (Jeffrey Boulier) writes:
<snip>

> I haven't been able to figure out why
> jetadmin wants to change the permissions in the first place...
<snip>

Its the package format. It stores the attributes of the directories
(and parent directories). It'll reset the attributes back to what they
were when the package was created. I see this from time to time on
Sun's packages/patches as well.
--
Doug McIntyre mer...@visi.com
Network Engineer/Tech Support/Jack of All Trades of Vector Internet
Due to circumstances beyond your control, you are master of your fate
and captain of your soul.

0 new messages