OpenVZ Forum


Home » General » Support » USB printer inside VE
USB printer inside VE [message #27140] Mon, 11 February 2008 03:52 Go to previous message
kierse is currently offline  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

DEVNODES="usb/lp0:rw "


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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: WINS samba server in VE
Next Topic: AFP or CSF on vzID
Goto Forum:
  


Current Time: Fri Jul 25 12:49:24 GMT 2025

Total time taken to generate the page: 0.20979 seconds