How to add an HP printer from command line?

Ric Moore wayward4now at gmail.com
Thu Nov 11 09:44:22 UTC 2010


On Thu, 2010-11-11 at 01:09 -0800, Masao Kitamura wrote:
> I'm trying to add printers via Kickstart/Preseed to multiple
> installation clients on Ubuntu Desktop 10.10.
> 
> Kickstart/Preseed works fine and I can run any script at first boot by
> editing rc.local, but I'm not sure how the typical printer setup GUI
> adds printers.
> 
> I've run the GUI like this:
> 
> # system-config-printer --debug
> 
> ...to see what commands it could be calling, but there's a lot of
> output and no obvious system commands.
> 
> I've also tried various forms of lpadmin:
> 
> lpadmin -p hp2055dn -E -v lpd://hp2055dn
> 
> (based on the settings I see when I add the printer via the GUI and
> check the properties)
> 
> ,,,but I have not been able to add a working printer by using lpadmin.
> 
> Printers I'm trying to add:
> 
> HP Laserjet P2055dn
> HP Color Laserjet 3500
Crank open synaptic and search on HP, you want to install the utils
which will setup your HP printer just peachy. Or, goto HP's website and
install their linux Ubuntu version of tools from there. Ric


-- 
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 





More information about the ubuntu-users mailing list