lp and lpr "stdin is empty"

lyamimlgnqfa at spammotel.com lyamimlgnqfa at spammotel.com
Fri Oct 29 19:38:23 UTC 2004


Although I have made blunders like that in the past, in this case the
file is fine.

]$ cat /etc/cups/lpoptions |/usr/bin/lpr -P laserjet
lpr: stdin is empty, so no job has been sent.
]$ /usr/bin/lpr -P laserjet /etc/cups/lpoptions

The second works fine. It's a stdin problem I'm sure.  Moreover rpm
shows all the files are in order:
]$ sudo rpm -Vvf /usr/bin/lp | grep 'bin/lp'
........    /usr/bin/lp.cups
........    /usr/bin/lpq.cups
........    /usr/bin/lpr.cups
... etc

Allan

> Is /etc/cups/lpoptions empty?
> Did you try "cat /etc/cups/lpoptions | /usr/bin/lpr -P laserjet" ?
>
>
> Chris




More information about the fedora-list mailing list