lpr: printer: unknown printer
Dotan Cohen
dotancohen at gmail.com
Sat May 2 10:08:54 UTC 2009
>> 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?
>
> So it worked?
>
What is "it" specifically? I still cannot print, if that was the question.
> I'll be darned how I know that you can pipe into lp and lpr.
>
But didn't you suggest that I try that?
> Note that you can descend into confusing swamp if you start reviewing
> docs on line.
Yes, I know! But as a mechanical engineer and not a computer
scientist, this is the only information that I have available to me.
> Both lp and lpr in CUPS using linuxes are 'recreations' of the
> original commands. All the older print systems like LPRNG etc had
> their own similar commands and CUPS for maximum compatibility tried to
> recreate the actions of them. eg see the notes about Solaris and SysV
> under lpstat? but lpinfo is CUPS only?
>
I am aware of thwat, which is common to most of the GNU tools, even ls
and the other terminal commands are rewrites of the original *nix
programs.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
More information about the ubuntu-users
mailing list