Hello. I do not know if you are the correct person to reach, but I hope you
can help me.

I have recently encountered a new issue with CUPS after a recent package
update on my raspberry pi 5.

I am working on a project which involves a thermal printer and custom UI
which can print pdf files. I am handling custom print options
programmatically in python, but they suddenly stopped working.

I made the mistake of updating the packages on my raspberry pi, and now any
custom options which are sent programmatically are no longer registered.
For example, I have python code which imports cups (pycups), and in the
cups.Connection().printFiles() method, there is a parameter for options
where I could override certain settings specific to the printer, like
Darkness, media size, or margins.

Setting these options used to work, but now they do nothing at all. I am
not an experienced programmer, and I have put many hours into this project.

Looking through the logs I found a reference to this website, but I don't
understand what most of it means or if it is relevant. Here are a couple
lines from the log:

"Queue -PM-241-BT uses a printer driver, which is deprecated."
"Printer drivers are deprecated and will stop working in a future version
of CUPS. See https://github.com/OpenPrinting/cups/issues/103";

If you are able to help me resolve this issue, I would greatly appreciate
it!

Thank you.


Alexander

Reply via email to