I saw with RHEL8 their decision to drop cups using /etc/cups/interfaces files a short time ago which is a big slap for those who need to manipulate resulting application printer output into files or other interfaces for conversion, filing, emailing etc.
Is there a work around as you can’t use:
or anything similar that I can find. I have to leave Rocky and go back to CentOS 7 to keep this capability which I really don’t want to do if there is something I missed or an additional package that allows this? No use producing a PDF (as in CUPS-PDF) as we need the actual application data produced first.
Went back to CentOS 7 for this issue. Will investigate work-around for this into the future now it has removed this vital feature from application printing by Red Hat.
Wow, you are an absolute legend. Haven’t seen anything like this out there online and will give it a try and see how it all goes. Thank you so much. Will update you when I get it tested.
I have Fedora 33 as my desktop so has the same limitation - worked first time like a charm. This work-around is just what will keep SystemV type apps alive into the future.
Well done indeed.
This is exactly what I need. I’m using Rocky 9 and after creating a printer as described systemctl status cups is giving these issues:
Dec 16 16:24:56 server1 cupsd[51400]: CreateProfile failed: org.freedesktop.DBus
.Error.Disconnected:Connection is closed
Dec 16 16:24:56 server1 cupsd[51400]: CreateDevice failed: org.freedesktop.DBus.
Error.Disconnected:Connection is closed
Dec 16 16:24:56 server1 cupsd[51400]: The PPD file for printer pdf_file contains
no media options and is therefore invalid.
The printer is listed with lpstat -t but enable and accept commands don’t recognize the printer name.