lp behaves differently if you cat a file to it
james_hurford at yahoo.co.uk
james_hurford at yahoo.co.uk
Fri Oct 8 00:10:03 PDT 2004
One of my users has notcied the following behaviour
The CUPS lp command behaves differently for these two commands:
lp -d myprinter filename
cat filename | lp -d myprinter
In the top command the file prints just fine on A4 paper to the printer (HP laser 4100).
When the second command is used the printer tries to print from a different tray and asks for letter size paper to be used.
How can I stop this from happening ?
It needs to work the same both ways as some very expensive EDA software (Cadence) prints using the second command
More information about the cups
mailing list