non jamais eu besoin.
la seule chose dont j'ai eu besoin c'est ce tableau
Internet Printing Protocol (IPP)
IPP is the only protocol that CUPS supports natively and is supported by some network printers and print servers. However, since many printers do not implement IPP properly, only use IPP when the vendor actually documents official support for it. IPP printing normally happens over port 631 and uses the http, ipp, and ipps URI schemes:
http://ip-address-or-hostname:port-number/resource
http://ip-address-or-hostname:port-number/resource?option=value
http://ip-address-or-hostname:port-number/resource?option=value&option=value
ipp://ip-address-or-hostname/resource
ipp://ip-address-or-hostname/resource?option=value
ipp://ip-address-or-hostname/resource?option=value&option=value
ipp://ip-address-or-hostname
ort-number/resource
ipp://ip-address-or-hostname
ort-number/resource?option=value
ipp://ip-address-or-hostname
ort-number/resource?option=value&option=value
ipps://ip-address-or-hostname/resource
ipps://ip-address-or-hostname/resource?option=value
ipps://ip-address-or-hostname/resource?option=value&option=value
ipps://ip-address-or-hostname
ort-number/resource
ipps://ip-address-or-hostname
ort-number/resource?option=value
ipps://ip-address-or-hostname
ort-number/resource?option=value&option=value
The ipp backend supports many options, which are summarized in Table 2.
Table 2: IPP URI Options
Option Description
compression=gzip Specifies that print data should be compressed before sending.
encryption=always Specifies that the connection to the IPP server should be encrypted using SSL.
encryption=ifrequested Specifies that the connection to the IPP server should only be encrypted if the server requests it.
encryption=never Specifies that the connection to the IPP server should not be encrypted.
encryption=required Specifies that the connection to the IPP server should be encrypted using TLS.
snmp=false Specifies that SNMP supply and page count queries should not be performed.
version=1.0 Specifies that version 1.0 of the IPP protocol should be used instead of the default version 2.0.
version=1.1 Specifies that version 1.1 of the IPP protocol should be used instead of the default version 2.0.
version=2.1 Specifies that version 2.1 of the IPP protocol should be used instead of the default version 2.0.
waitjob=false Specifies that the IPP backend should not wait for the job to complete.
waitprinter=false Specifies that the IPP backend should not wait for the printer to become idle before sending the print job.
https://www.cups.org/documentation.php/doc-1.7/network.html
Je pense que tu n'as pas besoin de taper du code mais vois plutôt une version d'ipp différente de celle par défaut.
C'est ce que je ferais en premier.
C'est pas cool les collègues qui rigolent...