Making an LPR device printable from command line

Antony Gelberg antony at wayforth.co.uk
Tue Apr 25 16:20:10 UTC 2006


Steve Kratz wrote:
> Excuse me for my ignorance of some of the basics (grin) - but how do you
> get an LPR device created under Ubuntu?
> 
> I have a LaserJet 5si on a network print server box (port 9100 or 515 -
> both work), but I'm a little in the dark as to how to "map" it so I can
> do things like cat /var/log/sys > /dev/lpr (or whatever…)

You don't.  cat /var/log/syslog | lpr

This assumes that your printer is properly setup under CUPS.  Both the
ubuntu and kubuntu printer tools should handle this.




More information about the ubuntu-users mailing list