I am trying to set up a network printer (HP OfficeJet 6700 Premium) on a fresh Debian Testing installation.
The issue I am having is a little strange because I have 3 Debian Testing machines on the same network. 2 machines can print and the one I am having trouble with was able to print a day ago, but I rebuilt the machine on a new HDD and simply installed Debian 10 and moved to Testing. So I am not sure why I am having so much trouble having set this up quite a few times on the same and different hardware.
What I have tried:
#1
Installed hplip via APT - installed with no issues.
Ran hp-setup which found the network printer straight away and all looked good. As I proceeded, a message came up saying there was no suitable PPD file. In the terminal there were the following messages:
error: No PPD found for model officejet_6700 using old algorithm.
error: No appropriate print PPD file found for model officejet_6700
I did find the PPD file for this printer from downloading the whole HPLIP tar.gz and extracted it and pointed to it, but the hp-setup UI did not seem to acknowledge me picking it and when I tried going further the app UI just disappeared and I was left with this in the terminal:
Code: Select all
Traceback (most recent call last):
File "/usr/share/hplip/ui5/setupdialog.py", line 1316, in NextButton_clicked
self.addPrinter()
File "/usr/share/hplip/ui5/setupdialog.py", line 1010, in addPrinter
print_sts = self.setupPrinter()
File "/usr/share/hplip/ui5/setupdialog.py", line 1049, in setupPrinter
if not os.path.exists(self.print_ppd[0]): # assume foomatic: or some such
TypeError: 'NoneType' object is not subscriptable
Aborted
I thought I would see what Print Settings might do (via the Cinnamon menu) and I remember doing this on other machines in addition to HPLIP setup. Here it found my network printer again very easily, but on trying to install the printer (or just add it), it waited for a while "Searching for drivers" then gave a dialog saying: "There was an error during the CUPS operation: 'Success'."
#3
I had not tried this before but went to localhost:631 and tried adding a printer via CUPS using the Web interface, but similar success (i.e. none):
Add Printer HP_Officejet_6700 Error
Unable to get list of printer drivers:
Success
Slightly confused by the two CUPS messages giving an error message of "Success", but I am sure there is an explanation.
Any help appreciated - having confidently set this same printer up on 3 Debian machines over the past year or so and never having a major issue, I am feeling like I know nothing now...
I have searched for the various messages online, but not found anything that works or answers to this particular issue.
Thanks