Command line printing to usb printer

Karl F. Larsen klarsen1 at gmail.com
Thu Nov 5 13:04:57 UTC 2009


Keith Clark wrote:
> 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.
> 
> 
	What version of Ubuntu? On the newer versions you need to go 
to "System - Administration - Printing and in the panel make a 
new printer and be sure it finds the USB port, and when done 
select it as default.

	Done. Mine works fine.

73 Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
         Key ID = 3951B48D





More information about the ubuntu-users mailing list