On 9-01-2018, at 06h 52'16", davidson wrote about "Re: How to create a PDF-Printer from the command line" > > > >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.
Assuming step 1 is reached, step 2 will make a dvi file. That was not what the OP asked for... Ionel