gmuth / ipp-client-kotlin

A client implementation of the ipp protocol written in kotlin
MIT License
76 stars 11 forks source link

Printer is unable to print some PDF documents #27

Closed GrupoRomano closed 1 month ago

GrupoRomano commented 1 month ago

Hello! I am having some difficulties sending documents in PDF format... Some PDF documents are sent and printed successfully, while others receive an error code as if the document was in the wrong format

GrupoRomano commented 1 month ago

The question is, is there any way to treat or standardize the PDFs so they can be sent successfully? I'm sure they are correct because I can print them normally through windows

gmuth commented 1 month ago

Sometimes I have similar issues with pdf documents not being supported by the pdf engine of the printer. There are various tools for sure - I personally just use poppler utils pdftocairo with -pdf option. https://manpages.debian.org/testing/poppler-utils/pdftocairo.1.en.html#pdf

gmuth commented 1 month ago

Sometimes printers support various pdf formats and show this in the printer attributes. I suggest you run the Inspection workflow from IppInspector and provide log and ipp messages.