Quote:
Originally posted by okeyla
It seems it's complicated for activating USB printer in linux.
I just follow the guide book said:
(1)make sure the USB printer module is on.
printer
usb-uhci
usbcore
(2)command
cat document.txt > /etc/lp
|
A printer is a device and the drivers will be in /dev not /etc . The device lp in "nix" refers to Line Printer which would normally be associated with a parallel device so with the foregoing explanation the correct command would be;
cat document.txt > /dev/usb/lp0 or slightly easier way of testing a printer is to tell it to send the date i.e. date > /dev/usb/lp0 (note that a paper pickup error on the printer may occur requiring a page forward on the printer panel)
explanation for the above is send the contents of date or document.txt to /device/usb/LinePrinter0
If this does not work check that the system is actually seeing the printer - cat /proc/bus/usb/devices
you should see the printer listed if not then you have not installed the correct drivers.
If the printer is being seen as above and is working fine I also recommend using cups-system for good quality printing and control.