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

Bug#791876: lpr -H parameter ignored if passed as first



Uhm. "-d" option does not exit. "-h" suppresses the banner. I don't understand your request...

$ lpstat -t
scheduler is running
no system default destination
lpstat: No destinations added.
lpstat: No destinations added.
lpstat: No destinations added.
lpstat: No destinations added.

In fact I have no local printers on this machine.

I honestly didn't know order of options matters in this case, maybe this is a feature and not a bug? :)


On Thu, Jul 9, 2015 at 2:28 PM, Brian Potkin <claremont102@gmail.com> wrote:
On Thu 09 Jul 2015 at 08:58:40 +0200, Stefano Rivoir wrote:

> Upgrading CUPS to 2.0.3 on sid it seems I cannot use remote printers anymore. I
> found that if I pass -H parameter as the first one, it is ignored:
>
> $ lpr -H 172.16.5.20 -P lexmark-t652-1
> lpr: The printer or class does not exist.

Not reproducible here with a 2.0.3 client sending to 2.0.3 and Wheezy
servers. I expect your result is the same with

  lpr -h 172.16.5.20 -d lexmark-t652-1

Please post the client's 'lpstat -t' output.

> $ lpr -P lexmark-t652-1 -H 172.16.5.20
> waits for input, works as expected

Upstream has said a few times that the order of options matters.

Regards,

Brian.



--
Stefano

Reply to: