I am reading cups doc ’ Command-Line Printer Administration" and I have a few questions
As said, The
-m option to
lpadmin specifies the driver (“model”) to use for the printer.
In their examples, what mean ‘drv:///sample.drv/’ in
drv:///sample.drv/dymo.ppd Dymo Label Printer
I suppose it is a path but starting from where ?
Once my printer is installed using the proprietary driver installer, the ppd is in /usr/share/ppd
Does it mean that my lpadmin command should look like :
lpadmin -p printername -E -m /usr/share/ppd/my_printer.ppd
lpinfo -v command to list the available backends and printers. If I know that my printer address is ‘192.168.1.103’ can I say that the following is a correct URI to be used in a lpadmin command :
And the command finally should be :
lpadmin -p printername -E -v ipp://192.168.1.103/ipp/print -m /usr/share/ppd/my_printer.ppd
I can install separately the LPR printer driver and the cupswrapper driver.
Is that is sufficient to install the ppd ?
Once my printer is installed using the proprietary driver installer, I remove the printer from cups web admin tools.
I then create a new printer using :
sudo lpadmin -p printername -D "printername laser B/W - USA DRIVER" -L "printername laser B/W my_network lpd://192.168.1.103/BINARY_P1 - USA DRIVER" -P "/usr/share/ppd/printername.ppd" -v lpd://192.168.1.103/BINARY_P1 -E
I can print a test page from cups web admin tool but the output takes 150 seconds before printing.
Is it normal.
Any comments are welcome.