Comment 3 for bug 1796584

Revision history for this message
brian_p (claremont102) wrote :

I expect you just want to print and do not care how you get there?

The URI for the connection is:

hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q84CFMPPR1a

(Check this with 'lpinfo -v'. Look for usb:// in the output).

Now do

lpinfo -m | grep "_p1102.ppd"

to get the PPD (drv:///hpcups.....).

Then:

lpadmin -p test -v <URI> -E -m <PPD>

Print with

lp -d test /etc/nsswitch.conf

--
Brian.