Command line printing to usb printer

Keith Clark keithclark at k-wbookworm.com
Thu Nov 5 02:07:43 UTC 2009


How do I redirect the output of a command to my USB connected laser
printer.  Here is the output of lpinfo for the target printer:

keithclark at HP1211N:/dev$ lpinfo -v
network socket
network beh
direct hal
network
ipp://fe80::213:d4ff:feca:5872:631/printers/hp-color-LaserJet-2550-series
direct hp:/usb/hp_color_LaserJet_2550_series?serial=00XXXXXXXXXX
direct hpfax
network http
network ipp
network lpd
direct parallel:/dev/lp0
direct scsi
serial serial:/dev/ttyS0?baud=115200
serial serial:/dev/ttyS1?baud=115200
serial serial:/dev/ttyS2?baud=115200
serial serial:/dev/ttyS3?baud=115200
network smb

This printer is on the computer that I am trying to print from.





More information about the ubuntu-users mailing list