Hi George, perhaps your printer problem was finally resolved by removing gutenprint (looking at your comment at http://forum.antergos.com/topic/1622/cups-foomatic-problem-with-new-iso/13), but in case the solution that worked for me can otherwise help others with similar error messages to yours about using an ‘old algorithm’ (e.g. hp-setup command returned ‘No PPD found for model laserjet_2200 using old algorithm’), the solution that worked for me recently when attempting to install my HP LaserJet 2200 D printer is described below. Later, when installing an Epson Stylus CX4800 to the same Antergos installation, instead to using the sudo hp-setup -i command, I had success like others by removing two foomatic files (bash command: yaourt -R foomatic-db foomatic-db-nonfree). Note: I read somewhere that foomatic-db-engine should be kept.
Mind you, even though I was able to attach my HP printer, I still had to click on ‘Connect…’ to the server (if I remember correctly) in the Printer applet and give my username and password to be able to configure the printer settings e.g. double-sided prints, etc. Also, please note that I have had a few hiccups installing Antergos, although I don’t know if these may not be pertinent to this printer problem: (a) Installed as Legacy boot, not UEFI, as I did know how to safely reload secure boot keys - was prompted by the system to use HackTool; (b) Antergos screen goes black after logging in my encryption key if I don’t choose the ‘Antergos fallback’ grub option; © Startup script writes “ignoring bgrt invalid status 0 (expected 1)”; (d) ‘hibernate device not specified’ according to startup script; (e) ‘kvm: disabled by bios’, according to startup script; (f) for some reason, HP Device Manager appears in the Dock but clicking on it does not launch any GUI or terminal - no apparent effect noted.
The solution that worked for me on the HP printer:
- Look for the compressed PPD file (extension .ppd.gz) for your printer first at the /usr/share/cups/model folder, where an arch wiki webpage says it would be if at all; in my Antergos setup, it was actually in subfolder ‘C’ with other compressed PPD files at:
- Then extract the compressed PPD file as root, to be able to save as root. A fairly new Linux user might do that as I would in a terminal:
Then, in Nautilus, right-click on your .ppd.gz file and choose ‘Open with Archive Manager’ and then extract it to that same ‘C’ folder.
- After closing Archive Manager and Nautilus, run the following (using ‘sudo’ as I got an error message otherwise):
sudo hp-setup -i
- Answer questions on the interacteractive setup process that appears similarly to the answers I used below, I would suggest; if there is no answer following a question mark, this means that I hit the ‘Return’ key because this selects the default answer, although for some reason I needed to choose ‘0’ for USB ‘connection type’ at the first question or else the setup failed:
|SELECT CONNECTION (I/O) TYPE
Num Connection Description
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
2 par Parallel Port (LPT:)
Enter number 0…2 for connection type (q=quit, enter=usb*) ? 0
Using connection type: usb
Using device: hp:/usb/HP_LaserJet_2200?serial=00CNBRG18482
Setting up device: hp:/usb/HP_LaserJet_2200?serial=00CNBRG18482
Please enter a name for this print queue (m=use model name:‘HP_LaserJet_2200’*, q=quit) ?
Using queue name: HP_LaserJet_2200
Locating PPD file… Please wait.
error: No PPD found for model laserjet_2200 using old algorithm.
error: Unable to find an appropriate PPD file.
Would you like to specify the path to the correct PPD file to use (y=yes, n=no*, q=quit) ? y
Please enter the full filesystem path to the PPD file to use (q=quit) :/usr/share/cups/model/C/stp-hp-lj_2200.5.2.ppd
Description for the file: HP LaserJet 2200 - CUPS+Gutenprint v5.2.10
Use this file (y=yes*, n=no, q=quit) ? y
Enter a location description for this printer (q=quit) ?
Enter additonal information or notes for this printer (q=quit) ?
Adding print queue to CUPS:
Device URI: hp:/usb/HP_LaserJet_2200?serial=00CNBRG18482
Queue name: HP_LaserJet_2200
PPD file: /usr/share/cups/model/C/stp-hp-lj_2200.5.2.ppd
Would you like to print a test page (y=yes*, n=no, q=quit) ? y
Then, run Settings/Printers applet, unlock with your password, and choose ‘Add’ Printer, if I remember correctly.
Unfortunately, as noted towards the beginning of this post, in the Print Settings applet I am not allowed to access the printer settings unless I clicked on ‘Connect…’ and logged in to the server in the printer applet. I suppose that this might be a matter of adding my username to the printer group or something like that (I can’t remember how I did this back in Ubuntu).
I hope this helps someone.