What is the printer model which you want to install?

In general do the following for command line printer installation:

lpinfo -m | grep -i '<printer model name or part of it>'

You get one or more lines of output, each representing a PPD file/driver
for your printer. The lines consist of

<PPD URI> <make> <model> [<driver>]

Copy the PPD URI (it has never spaces and it ends always before the
first space) for the desired make/model/driver.

To find the device URI, run

lpinfo -v

and copy the desired device URI.

Run the following command line to create the queue:

lpadmin -p <queue name> -E -v <device URI> -m <PPD URI>

Find options via

lpoptions -p <queue name> -l

Set option defaults via

lpadmin -p <queue name> -o <option>=<value>

Set default printer via

lpadmin -d <queue name>

Interactive UI in text mode:

lynx localhost:631


** Changed in: foomatic-db (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/910459

Title:
  missing command line method to install printer with ppd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/foomatic-db/+bug/910459/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to