# # Installing a USB-printer # ======================== # http://Linux-Consulting.com/LPR/CUPS # # # 10-Jul-05 amo Date-of-Birth # 29-Jul-06 amo Added Comments on lppasswd # # # # Cups Directories # ---------------- # http://www.cups.org/ # # ls -la /etc/cups # ls -la /usr/lib/cups/filter # ls -la /usr/share/cups/model # # # Kernel Options # --------------- # CONFIG_USB_PRINTER # # lppasswd # Enter password: # Your password must be at least 6 characters long, cannot contain # your username, and must contain at least one letter and number. # # --> lppasswd: user "root" and group "lp" do not exist. # --> lppasswd: Password file not updated! # # # # Cups Admin Login and Passwd # --------------------------- # lppasswd -l cupsadmin # # # lpadmin does what # # http://localhost:631/ # requires "access priviledges" ( defined in cupsd.conf ) # # # # # ////// # # passwd that "add printer" asks for is root's UID and passwd # # ////// # # # ============== # if its working: # ============== # http://localhost:631/printers # ... # Printer State: idle, accepting jobs. # # -- click on "Print Test Page" # # # To configure the printer # ------------------------ cupsdconf # # # # ===================================== # Some USB commands # ------------------ lsusb # usbmodules --device/proc/bus/usb/001/002 # usbmouse # hid # # usbmodules --device/proc/bus/usb/001/006 # printer # # ===================================== # # lsmod | sort # modprobe printer # usbcore # usb-uhci # printer # rmmod printer # insmod /lib/modules/`uname -r`/kernel/drivers/usb/printer.o # lsmod | sort # # lpinfo -v # lpstat -v # # /etc/rc.d/rc.cups stop # ps auxw | egrep -i "cpus|lpd" # /etc/rc.d/rc.cups start # # # # #==================================== # # # # Check for the USB printer drivers # # # #==================================== # # # # change the printer in: # # # /etc/cups/printers.conf # ls -la /dev/usb/lp0 # # # End of file