The virtual PDF printer is no longer available. It was based on cups-pdf. Since 18.04 it is gone. No error message. Just disappeared in GUI for printer control. Worked fine before the upgrade.
New install of cups-pdf is possible but does not help. It tells:
[...]
Note, selecting 'printer-driver-cups-pdf' instead of 'cups-pdf'
printer-driver-cups-pdf is already the newest version (3.0.1-5).
[...]
But not a trace of PDF printer functionality in the gui printer setup. Applications do no longer show the cups-pdf "printer".
Question: How can I get the (cups-) pdf back in 18.04? Is there a workaround?
The problem is not occuring if the distro-update to Ubuntu 18.n did never have an installation of cups-pdf before. So it is clearly update related.
This process provides a workaround (does not always help):
Purge cups-pdf
Purge the substitute-stuff (since 16.n)
Clean up.
Reboot. (smart guys will find a way to just restart the services ;-) )
Reinstall cups-pdf.
Monitor closely if it provides positive comments.
Out of curiosity: Please watch out if there is a PPD update process mentioned in the last installation step (up to now only traced in totally new installs).
Check.
The result in the GUI menu: In "Printers" PDF should be back.
If PDF doesn't come back in the Printers menu leave a comment here and submit a bug report mentioning bug 1801805 (link in comment above). This workaround is not the solution for the root cause! It may be important for the developer to get more details from different machines.
As of Ubuntu 18.04, the package name is
printer-driver-cups-pdf
, and the default directory of printing is/home/user/PDF/
.At your situation I would try to purge and reinstall it.
I had been avoiding cups-pdf believing that I was responsible for it not behaving on my machine.
When I realised the same thing was happening under Mint 19.1 as well as Ubuntu 18.04 (and found the time), I found your work-around above.
However, when I redirected the 'Out' statement in cups-pdf.conf to:
Out /home//Documents/pdf_files
instead of:
Out {HOME}/PDF
it failed.
When I changed it back, it worked again.