ctalkington / python-ipp

Asynchronous Python client for Internet Printing Protocol (IPP)
MIT License
36 stars 20 forks source link

Bad request #593

Open Anankin opened 3 months ago

Anankin commented 3 months ago

Hi I have problem with Canon imageRUNNER ADVANCE when using methods: SEND_DOCUMENT and PRINT_JOB. Get error 0400 or bad request. Tried other methods such as: VALIDATE_JOB and GET_PRINTER_ATTRIBUTES and i get response. When add ipp printer to mac, printing is working. I checked with wireshark traffic and i recreated same operation-attributes-tag (s) and didnt helped. Instaed of PRINT_JOB I used in this order: VALIDATE_JOB, CREATE_JOB and SEND_DOCUMENT. I treid to change document-format to something else and when type is not suppored than i got error O40A or ERROR_DOCUMENT_FORMAT_NOT_SUPPORTED which mean document type should be ok (application/pdf).

Do you have any cloues what other could be problem.

Anankin commented 3 months ago

it is bug, data are not send to printer.only operation-attributes-tag