lp behaves differently if you cat a file to it
Helge Blischke
H.Blischke at srz-berlin.de
Fri Oct 8 09:48:59 PDT 2004
james_hurford at yahoo.co.uk wrote:
>
> 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
Please post an URL to a sample file that shows this error
(looking into the source code of CUPS's lp command, this error
seems impossible to me; I rather suspect your expensive application
behaves strangely).
Helge
--
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
tel: +49 30 75301-360
More information about the cups
mailing list