lp and lpr "stdin is empty"
lyamimlgnqfa at spammotel.com
lyamimlgnqfa at spammotel.com
Fri Oct 29 19:06:21 UTC 2004
I tried most all those permutations (although I omitted to say as
much).
lp: stdin is empty, so no job has been sent.
[allan at array14 bin]$ cat /etc/cups/lpoptions | /usr/bin/lpr -P
laserjet --stdin
lpr: Unknown option '-'!
[allan at array14 bin]$ cat /etc/cups/lpoptions | /usr/bin/lpr -Plaserjet
--stdin
lpr: Unknown option '-'!
[allan at array14 bin]$ cat /etc/cups/lpoptions | /usr/bin/lpr
lpr: stdin is empty, so no job has been sent.
[allan at array14 bin]$ cat /etc/cups/lpoptions | /usr/bin/lpr --
lpr: Unknown option '-'!
[allan at array14 bin]$ cat /etc/cups/lpoptions | /usr/bin/lpr -
lpr: Unknown option ''!
[allan at array14 bin]$ cat /etc/cups/lpoptions | /usr/bin/lp -
lp: stdin is empty, so no job has been sent.
[allan at array14 bin]$
Thanks for the suggestions, but still NG
Allan
On Fri, 29 Oct 2004, James Mckenzie wrote:
>
> --from James Mckenzie <jjmckenzie51 at earthlink.net>--
> --reply jjmckenzie51 at earthlink.net--
>
>
>
>
> --------------------------------------------------
>
> I just upgraded to Fedora core 2 from core 1, and now lp and lpr
> cannot read from standard input.
>
> [allan at mybox bin]$ /usr/bin/lp < /etc/hosts
> lp: stdin is empty, so no job has been sent.
> [allan at mybox bin]$ /usr/bin/lp /etc/hosts
> request id is laserjet-977 (1 file(s))
>
> It does work if the output of a device is to standard input. I used the lpr -P (printerid) --stdin with Mozilla's print to send printer output to a specific printer and has since I 'discovered' this fix when using RH9.
>
> How about trying the following and see if it works cat <file> | lp
>
> James Mckenzie
>
>
> James McKenzie
> A Proud User of Linux!
>
>
More information about the fedora-list
mailing list