Although I’m using Tumbleweed, it may not be specific to the release as all OS versions seem to be using the same version of CUPS-PDF
And it may not even be CUPS-PDF at fault
But it’s been working fine until now and all other printing works fine.
Save to PDF works as expected in Firefox. I recently uninstalled some CUPS packages, here’s what I have:
$ zypper se -i cups
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+---------------------+----------------------------------------------------------+--------
i | cups-config | CUPS library configuration files | package
i | libcups2 | HTTP/IPP communication and printer queue and job library | package
i | python3-cupshelpers | High-level Python Bindings for CUPS | package
i | python38-pycups | Python Bindings for CUPS | package
When one install killed graphics as a side effect, ‘zypper remove --clean-deps’ and reinstalling would fix it. Try that:
**erlangen:~ #** zypper rm --clean-deps --dry-run cups
Reading installed packages...
Resolving package dependencies...
The following 8 packages are going to be REMOVED:
cups cups-filters gutenprint libpoppler-cpp0 libqpdf28 lsb parallel-printer-support poppler-tools
8 packages to remove.
After the operation, 93.9 MiB will be freed.
**Continue? [y/n/v/...? shows all options] (y): **
**erlangen:~ #**
Yes. Experience has shown ‘zypper remove --clean-deps’ and reinstalling in most cases works better than troubleshooting based on trial and error. If it does cause trouble, you are doomed anyway in the long term.
karl@3400G:~> LANG=C lpstat -a
HLL2350DW accepting requests since Thu Jun 10 13:29:20 2021
MFC255CW accepting requests since Fri Jun 4 14:07:25 2021
karl@3400G:~>
Thus reinstalling everything at most takes a few minutes.
[FONT=monospace]**3400G:~ #** zypper remove --clean-deps ghostscript gutenprint
Reading installed packages...
Resolving package dependencies...
The following 17 packages are going to be REMOVED:
cups cups-filters ghostscript ghostscript-x11 graphviz-gnome groff-full gutenprint gxditview libnetpbm11 libpoppler-cpp0 libqpdf28 netpbm paper parallel-printer-support perl-IPC-Run3 poppler-tools psutils
17 packages to remove.
After the operation, 159.8 MiB will be freed.
**Continue? [y/n/v/...? shows all options] (y): **n
**3400G:~ #**[/FONT]
I thought let’s try installing cups-pdf and I get:
(1/1) Installing: cups-pdf-3.0.1-1.16.x86_64 .........................................................................[done]
Additional rpm output:
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
Is maybe the future that lpadmin warning out already passed?
Anyhow tried printing from Firefox and I see have an additional choice, destination: CUPS-PDF. Then had to find out where the document goes and found it looking into “/etc/cups/cups-pdf.conf” in /var/spool/cups-pdf/$USER/
The resulting document is also for me blank. Not needing it I have de-installed it.