Ubuntu print to pdf; install a PDF printer

Reply to comment

Or, when printing, select the "Print to File" printer and change the Output format from Postscript to PDF.