[K12OSN]Centos+USB+local printer... and sharing it

mumbler9 ssh at tranquility.net
Thu Jun 12 05:17:21 UTC 2008

Here's the current stage... the dhcpd.conf file is working, it is 
assigning it an IP (and it is PCE boot)

     host ws099 {
     hardware ethernet 00:30:18:a6:97:a9;
     filename      "/lts/pxe/pxelinux.0";

In lts.conf I have the terminal stated like this:

PRINTER_0_DEVICE        =/dev/usb/lp0
PRINTER_0_TYPE          = U
MODULE_01          = usblp

In CUPS I added it like this, choosing HP and Laserjet 1200:


CUPS shows it as started, and it looks all happy:

Jun 12 00:00:11 ws099 lp_server: Started with: -n 9100 -w -d /dev/usb/lp0
Jun 12 00:00:11 ws099 last message repeated 8 times
Jun 12 00:00:11 ws099 init: Id "p0" respawning too fast: disabled for 5 
Jun 12 00:02:08 bofh2 kernel: ppdev: user-space parallel port driver
Jun 12 00:05:12 ws099 lp_server: Started with: -n 9100 -w -d /dev/usb/lp0
Jun 12 00:05:32 ws099 ltspinfod: Connection from port 40283
Jun 12 00:06:31 ws099 ltspinfod: Connection from port 40319
Jun 12 00:12:38 ws099 lp_server: Started with: -n 9100 -w -d /dev/usb/lp0

CUPS gives an error of:
"/usr/lib/cups/backend/socket failed"

and the printer goes into:
Printer State: stopped, accepting jobs, published.

While it is in this stopped state, lpstat -l -a shows this:
lpstat -l -a
HP accepting requests since Thu 12 Jun 2008 12:13:54 AM CDT

So, I am hitting all around it. Probably. Suggestions?

Scott S.

mumbler9 wrote:
> I've been following the USB printer discussion with interest, I am
> preparing to work on my first local printer. Here is it's situation.
> It's an HP 1200 laser, currently the only printer on the system. It's
> working fine attached to the terminal, but it's use would be better
> served as a client's local printer.  Reading through the comments on
> using a static setting in dhcpd makes sense, except the 'main user' will
> not be always logging in at that terminal. I don't want to specify this
> terminal (or it's printer) to always be one user. Specifying the printer
> by MAC in lts.conf seems like it would solve this problem.
> How can I use CUPS to point to a MAC address? A static IP would be fine
> for this terminal, if that would help CUPS always find it.
> Other users in other locations need to use this printer as well.
> thx,
> Scott S.
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>

More information about the K12OSN mailing list