apple / cups

Apple CUPS Sources
https://www.cups.org
Apache License 2.0
1.93k stars 464 forks source link

Returning IPP client-error-document-format-not-supported for Send-Document #6097

Open j1gg3 opened 1 year ago

j1gg3 commented 1 year ago

I have a label printer which I successfully configured within cups. So far the printer is working fine if I am printing from a windows machine. Printing via MAC or AirPrint I get "Returning IPP client-error-document-format-not-supported for Send-Document"

Did I miss something to configure?

jazzi commented 4 months ago

I have the same issue, my label printer is TSC TTP-244 Pro connected with FreeBSD server that CUPS installed, I have added this printer on MacOS but encountered the same error.

I also installed package ghostscript10 on the server but didn't work, can not figure out what's missing.

By the way, I install and enable two services in FreeBSD /etc/rc.conf so MacOS can find this printer:

dbus_enable="YES"
avahi_daemon_enable="YES"
wifiprintguy commented 4 months ago

FYI, an IPP Printer will return 'client-error-document-format-not-supported' if a Client submits an unsupported document format (i.e., one that is not listed by its "document-format-supported" Printer Description attribute (RFC 8011). Your driver chain doesn't seem to be transforming the source content to a format consumable by the Printer, or the attributes in the Send-Document is misrepresenting it to the Printer (e.g., sending "image/pwg-raster" but setting "document-format" to 'application/pdf').