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