Unix administration - Re: no lpadmin

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > November 2007 > Re: no lpadmin





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: no lpadmin
Doug Freyburger

2007-11-27, 7:21 pm

jammer <jamesloc...@mail.com> wrote:

Does it have a JetDirect card? If so look for a downloadable
package for "hpnpl". The card uses a specific port and that
package is for JetDirect support.
[vbcol=seagreen]
>
> I don't think any of our Solaris boxes print. :-(
> $ ls /etc/lp
> /etc/lp: No such file or directory


You'll need to install the print packages on all the ones you want
to print from. But first things first - Get the queue running on the
first host then point at the others to it.

> I installed SUNWpcu and SUNWpcr (dependency) but something else must
> must be missing.
> lpadmin works but I get:
>
> $ lpstat
> Printer: hplj@xxx - ERROR: spool queue for 'hplj' does not exist on
> server xxx.xxxx
> check for correct printer name or you may need to run 'checkpc -f' to
> create queue


If xxx is the IP number of the printer then you need to dig out the
man pages for that printer and look for lpr or BSD or Berkeley style
printing. Plenty of printer types support it directly if you know the
queue names they use. The names tend to be like "Text" or
"PostScript" but they also tend to be case sensitive.

If you have admintool and a GUI environment set up you might want
to use it to create the queue on the first host, then a much simpler
lpadmin command on all the other hosts to point them at that new
queue.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com