Re: lp and lpr "stdin is empty"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux