I tried using lp
to print to our HPLazerJet P1102w from the command line. Items were added to the queue, as returned by lpq
:
macbookpro1:~ mikekilmer$ lpq
HP_LaserJet_Professional_P_1102w is ready
Rank Owner Job File(s) Total Size
1st mikekil 26 (stdin) 0 bytes
But the OS seems to think the printer is set on manual feed. Now the printer utility returns: "unable to communicate with the printer at this time."
lpstat
returns:
HP_LaserJet_Professional_P_1102w-26 mikekilmer 0 Wed Nov 12 10:05:13 2014
And it seems maybe I need to add a user to the ip and sys groups.
hp-toolbox
and hp-setup
both return command not found and I'm not even sure what I would do with them if they worked.
Based on macbookpro1:~ mikekilmer$ cat /etc/group | grep lp
, thinking the relevant groups would be:
_lp:*:26:
_lpadmin:*:98:
_lpoperator:*:100:
Also read that:
"This can also be caused by printers such as the P1102 that provide a virtual CD-ROM drive for MS Windows drivers. The lp dev appears and then disappears. In that case, try the usb-modeswitch and usb-modeswitch-data packages, that lets one switch off the "Smart Drive" (udev rules included in said packages).
This can also occur with network attached printers if the avahi-daemon is not running. Another possibility is the specification of the printer's IP address in hp-setup fails to locate the printer because the IP address of the the printer changed due to DHCP. If this is the case, consider adding a DHCP reservation for the printer in the DHCP server's configuration. "
But I'm not really sure what any of that means. I could, of course delete and reinstall the printer, but would like to get more of an idea about being able to configure it properly so that command line printing can work along with GUI methods.