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

Bug#1008210: cups-client: lp (-h) hostname option has to come before destination (-d)



forwarded 1008210 https://github.com/OpenPrinting/cups/issues/357
tags 1008210 upstream
thanks



On Thu 24 Mar 2022 at 12:53:14 +0100, Paul Hutschemaekers wrote:

> Package: cups-client
> Version: 2.3.3op2-3+deb11u1
> Severity: normal
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where
> appropriate ***
> 
>    * What led up to the situation?
> 	I tried to print an file with the lp command    * What exactly did you
> do (or not do) that was effective (or ineffective)?
> 	I tried the command:
> 	lp -d DESTINATION -h HOSTNAME FILENAME    * What was the outcome of
> this action?
> 	An error: lp: Error - The printer or class does not exist.
>    * What outcome did you expect instead?
> 	printing of the file.
> 
> When I print with:
> 	lp -h HOSTNAME -d DESTINATION FILENAME
> everything works ok, I'm sure cups-client on BUSTER did not care about
> the placement of the host parameter. The man-page also reports
>         lp  [  -E  ]  [  -U username ] [ -c ] [ -d
> destination[/instance] ] [ -h host‐name[:port] ]
> with the destination before the host-name

Thank you for your report, Paul. I can repeat your observations. Hence
forwarded upstream.

Regards,

Brian.


Reply to: