Web lists-archives.com

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

I know this is not directly on point to the OP's question as subsequently 
clarified, but I would point out that a variety of programs like txt2pdf exist 
(and work)--I assume, but don't know that they are available in the various 
Debian distros.

On Sunday, January 07, 2018 05:10:50 AM Brian wrote:
> On Sat 06 Jan 2018 at 20:45:01 -0600, Jason wrote:
> > > lpadmin. The wiki should help.
> > 
> > I had looked into lpadmin and thought that might be what I need but
> > couldn't find in the man page how to add a printer. I don't have web
> > access so am asking here rather than looking on the wiki.
> For a PDF printer: install (or reinstall) printer-driver-cups-pdf.
> lpadmin automatically sets up a print queue.
> > So basically what I'm asking is how to add a printer (this could apply
> > to any printer, not just PDF) without needing to install a printer
> > configuration GUI.
> In general: lpadmin -p queue_name -v device_uri -E -m PPD.
> Obtain device_uri from 'lpinfo -v' and PPD from 'lpinfo -m'.