Print PDF from any Linux program

On Linux, the CUPS PDF program saves printed PDFs to the ~/PDF directory from any program.

apt install cups-pdf

The PDF output directory can be configured by editing the “Out” directory in /etc/cups/cups-pdf.conf

However, note that higher quality PDF can be obtained by using the PDF print options in the specific program, if available.


Related: convert image stack to PDF