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
Mr. Demaille,
'man lpadmin' should give you the information you need.
--Jeffrey Boulier
--
Sr. Systems Programmer
George Washington University / SCT Inc.
> '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
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
If you have a jet direct card you can get the jetdirect software from hp
website. The software makes it real easy.
chris
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
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!
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.