Re: How to create a PDF-Printer from the command line
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'.
--
Brian.
Reply to: