HP LaserJet 4050 help

SteVe Cook yorvik.ubunto at googlemail.com
Sun Jul 15 20:41:09 UTC 2007


Wade Smart wrote:
> 
> Ok. Stupid me. I got it.
> wadesmart at wadesmart:~$ echo "Printer Test" /dev/lp0
> Printer Test /dev/lp0
> 
> Did that tell us anything? It just echoed to the screen.
> 
That will just echo it to the screen. We're trying to send it to the 
printer.

Sorry, I forgot you had to be 'root' to do it.

So

# sudo su

then

# echo "Printer test" > /dev/lp0
# echo "^L" > /dev/lp0

This should print 'Printer test' and feed a sheet of paper.

You could just do the last line which will just feed a sheet of paper if 
you don't want to waste any.

SteVe




More information about the ubuntu-users mailing list