Closed dkosovic closed 1 month ago
This is an issue for us as well.
Unfortunately, this problem needs to be fixed at the macOS client side since they are sending number-up and other options.
If you don't use Mac-specific PPD files on the print server then the Apple client won't need any Mac drivers to be installed. At least that is a workaround until Apple fixes AirPrint -> CUPS support.
Unfortunately, when the
_cups
mDNS subtype is used, no AirPrint queues get automatically generated for macOS clients, which then requires the print driver to be installed automatically through Apple Updates if available or they have to be preinstalled or manually installed.Consequently, many sites with Macs drop advertising the
_cups
mDNS subtype to take advantage of automatically generated AirPrint queues, unfortunatelynumber-up
gets applied twice when the_cups
mDNS subtype is not used.I'm hoping something like the following patch could be applied to prevent
number-up
getting applied twice, I've tested it with macOS and iOS clients. I used thecom.apple.print.totalPages..n.
option just to determine it was an Apple client and only then exclude the listed options if_cups
mDNS subtype is not being advertised. The excluded options are based on what cups-filters' pdftops excludes (not sure if all of the options should be excluded or not):