lpr: printer: unknown printer

Dotan Cohen dotancohen at gmail.com
Fri May 1 14:49:06 UTC 2009


> How about something even simpler -
>  ls | lpr
> Then
>  ls | lp
> What happens?
>
> Brian
>

jaunty2 at laptop:~$ ls | lpr
jaunty2 at laptop:~$ ls | lp
request id is printer-5 (1 file(s))
jaunty2 at laptop:~$

I don't understand this pipe. Even after reading the lp and lpr
manpages I do not see how piping ls through lp gives the result that
it does. Which of the lovely manuals should I be reading?

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il




More information about the ubuntu-users mailing list