Web lists-archives.com

Re: How to create a PDF-Printer from the command line

On Sat, 6 Jan 2018, Brian wrote:

On Sat 06 Jan 2018 at 05:54:00 +0100, john doe wrote:

On 1/6/2018 4:06 AM, Jason wrote:
On a RasperryPi with Raspbian, I would like to create a PDF Printer to
print files to. I only know how to do this with the GUI program
system-config-printer but I don't want to install that on this
Pi. What shell command do I need to create a PDF printer on the Pi (or
on any Debian, for that matter)?

Why do you want to"print" if you can convert to pdf using the command line?
Based on the original file extension you simply search for a utility that
will convert your original file to pdf.

How does one convert a text file to a PDF using the command line?

Step 1. Make sure the text file is also a latex document.
Step 2. Use latex.