Fun with lp

Peter Barker pbarker at
Tue Aug 21 12:36:48 EST 2001

On Tue, 21 Aug 2001 Antti.Roppola at wrote:

> daria:/etc# echo "foo" > /dev/lp1
> daria:/etc# echo "foo" > /dev/lp0

Errr... are you blasting the word "foo" at the postscript printer? Does it
know what to do with plain-text? i.e. will it look for a postscript
signature and if not found, treat the input as plain text?

IOW, it may be working, and your test is flawed...

If not, you may want to try something like trying to print to it... or
perhaps "cat > /dev/lp0"

> Antti

Peter Barker                          |   N    _--_|\ /---- Barham, Vic 
Programmer,Sysadmin,Geek              | W + E /     /\                
pbarker at         |   S   \_,--?_*<-- Canberra      
You need a bigger hammer.             |             v    [35S, 149E]   
"When used legally and in its intended fashion, the Acrobat eBook Reader
 secures eBooks purchased by locking the eBook to the hardware from which
 it was purchased." -- Adobe press release

More information about the linux mailing list