install laserjet 2200 printer from the command line using lpadmin
0
votes
1
answer
491
views
I am using arch linux kernel 5.7.2-arch1-1.
All software is up to date.
I am attempting to set-up a Laserjet 2200 printer from the command line using the utility
lpadmin
.
While I am able to use the system-config-printer
GUI utility to set up the printer so it works, I prefer to be able to do this from the command line as it is much more portable. When I set-up using the GUI method the working printer gives some information about the working driver. The make and model
field is filled as HP LaserJet 2200 - CUPS+Gutenprint v5.3.3
.
Being able to replicate this set-up on the command line would be ideal.
I've had a brief look at the Gutenprint web site and the pdf document they have and there apprears to have no set-up information in there, that I can see.
The below printer set-up command is accepted by the terminal, but the newly set-up printer accepts the print job but fails to print:
lpadmin -p "hp_laserjet_2200" -d "hp_laserjet_2200" -o printer-is-shared=false -e -i ~/script_PRINTER_CUPS_config_file/hp-laserjet-2200.ppd -v socket://192.168.1.240:9100
I think this command should work and that the problem is the .ppd
file, though I am sure that I used this same .ppd
file many years ago for a same model printer.
What is the GUI app accessing that I can't see?
Do I need more than a once upon a time working ppd file?
Where can I get a newer ppd file (a search revealed nothing)?
What is the method to set-up this laserjet printer from the command line?
I feel certian this is simply a driver problem. I have done much googling but the answer is not so far clear. I have installed hplip
which I think has a gui, but as I say I want to do this entireley on the command line.
Asked by Kes
(909 rep)
Jun 16, 2020, 02:54 PM
Last activity: Jun 16, 2020, 05:52 PM
Last activity: Jun 16, 2020, 05:52 PM