lp: Error - add '/version=1.1' to server name.
I'm that error when try send impression to another server.
lp -h 172.20.1.110:631 -dPR04 imp.txt lp: Error - add '/version=1.1' to server name.
Can anyone help me?
I remember this from older times, cf. https://www.suse.com/releasenotes/x86_64/SUSE-SLES/12/index.html#fate-314630 that reads in particular (excerpt)
CUPS >= 1.6 has major incompatible changes
compared to CUPS up to version 1.5.4
in particular when printing via network:
The IPP protocol default version increased from 1.1 to 2.0.
Older IPP servers like CUPS 1.3.x (for example ...)
reject IPP 2.0 requests with "Bad Request" (see ...).
By adding '/version=1.1' to ServerName in client.conf
(e.g., ServerName older.server.example.com/version=1.1)
or to the CUPS_SERVER environment variable value
or by adding it to the server name value of the '-h' option
(e.g., lpstat -h older.server.example.com/version=1.1 -p)
the older IPP protocol version for older servers
must be specified explicitly.
By the way: unless you really have Apple CUPS (e.g. on macOS) current CUPS upstream has moved to https://github.com/OpenPrinting/cups
I remember this from older times, cf. https://www.suse.com/releasenotes/x86_64/SUSE-SLES/12/index.html#fate-314630 that reads in particular (excerpt)
CUPS >= 1.6 has major incompatible changes compared to CUPS up to version 1.5.4 in particular when printing via network: The IPP protocol default version increased from 1.1 to 2.0. Older IPP servers like CUPS 1.3.x (for example ...) reject IPP 2.0 requests with "Bad Request" (see ...). By adding '/version=1.1' to ServerName in client.conf (e.g., ServerName older.server.example.com/version=1.1) or to the CUPS_SERVER environment variable value or by adding it to the server name value of the '-h' option (e.g., lpstat -h older.server.example.com/version=1.1 -p) the older IPP protocol version for older servers must be specified explicitly.By the way: unless you really have Apple CUPS (e.g. on macOS) current CUPS upstream has moved to https://github.com/OpenPrinting/cups
Dear, Very thank you, with this documentation im solved the problem, basically im add that parameter "/version=1.1" in paremeter -h.
lp -h 172.20.1.110/version=1.1 -dPR04 imp.txt
This resolved my problem, thank you so much.