[cups-devel] lpmove -U username src dest?
Michael Sweet
msweet at apple.com
Wed May 25 13:08:57 PDT 2016
Mario,
Currently lpmove does not support the -U option, despite what the man page says. This is being tracked as Pull Request #4822:
https://github.com/apple/cups/pull/4822
What you *can* do, however, is:
CUPS_USER=foo lpmove ...
to override the default username in CUPS 1.6 or later.
> On May 25, 2016, at 3:40 PM, Mario Goppold <ml at goppold.net> wrote:
>
> Hi list,
>
> the "man lpmove" offers an Option "-U username" but from cups-1.5.4
> (maybe earlier) up to cups-2.1.3 quit this with:
>
> lpmove: Unknown option "U".
>
>
> man lpmove:
> ...
> The lpmove command supports the following options:
>
> ...
> -U username
> Specifies an alternate username.
>
>
>
> Steps to reproduce:
>
> lpadmin -p TEST -v file:///tmp/TEST -E
> cupsdisable TEST
> lp -d TEST /etc/hosts
> request id is TEST-3 (1 file(s))
> lpstat -o
> TEST-1 mario 2048 Wed May 25 21:14:48 2016
> lpmove -U tester TEST-1 TEST
> lpmove: Unknown option "U".
>
>
> Is the man page incorrect? I hope not, I need today exactly this.
>
> best regards
> Mario
> _______________________________________________
> cups-devel mailing list
> cups-devel at cups.org
> https://www.cups.org/mailman/listinfo/cups-devel
_________________________________________________________
Michael Sweet, Senior Printing System Engineer
More information about the cups
mailing list