Web lists-archives.com

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




On Sun, Jan 07, 2018 at 10:10:50AM +0000, 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.

That's what I needed, thanks.

>  
> > 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'.
> 
Also useful information, I saved this for future reference.

The possibilities for file conversion mentioned in this thread were
interesting to me, too. I may use some of the other ideas at some
point in the future.

Thank you Brian, and everyone else.

-- 
Jason