USB printer inside VE [message #27140] |
Mon, 11 February 2008 03:52  |
kierse
Messages: 5 Registered: February 2008 Location: Canada
|
Junior Member |
|
|
Hi everyone,
I'd like to setup a print server (using CUPS) inside of a VE to access a USB printer thats connected to the HN. I've added the printers device node (/dev/usb/lp0) to the VE with the following comand:
vzct set 777 --devnodes usb/lp0:rw
and verified that it does appear in the VE's config file
When setting up the printer from within the CUPS web interface, the printer is correctly identified and listed in the list of supported/available devices. Unfortunately, after completing the setup, I am unable to print to the device. I don't see any errors on screen nor in any of the CUPS log files. What I do see is the following alert:
"Printer not connected; will retry in 30 seconds..."
The device node appears in the VE as /dev/usb/lp0 (same as the HN) and I seem to have both read and write permission as I can cat and echo the device without error. I've checked that the usb printing module (usblp) is compiled and loaded before attempting to use the printer.
I've come across a wiki posting (http://wiki.openvz.org/Printing_in_VE_with_Debian_stable) and a forum posting ( http://forum.openvz.org/index.php?t=msg&th=1350&#msg _7649) indicating that printing from within a VE is supported. Is there something I need to know or do in order to get USB printing working? Is running a CUPS server supported?
Thank,
Kierse
|
|
|