| Doug Freyburger 2007-11-26, 7:22 pm |
| jammer <jamesloc...@mail.com> wrote:
> "Vakayil Thobias" <vakayil.thob...@alcatel-lucent.com> wrote:
>
>
>
> ls /usr/sbin/lpadmin
> /usr/sbin/lpadmin: No such file or directory
>
> How do I install it or setup a printer without it?
-bash-3.00$ grep /usr/lib/lpadmin /var/sadm/install/contents
/usr/lib/lpadmin=../sbin/lpadmin s none SUNWpcu
-bash-3.00$ grep /usr/sbin/lpadmin /var/sadm/install/contents
/usr/sbin/lpadmin f none 0555 root lp 8953 42052 1106350196 SUNWpcu
It's in package SUNWpcu on my system. You could install that package.
If you want to be very gross, create the queue on a system with
lpadmin,
tar directory /var/spool/lp, copy the tar file to this host, extract
to clone
all of the queues. Likely not what you want to do but sometimes brute
force works fine.
|