Solved CUPS/Printing/Scanning weirdness

Now this issue is strange....at least to me. My system is running a new installation of FreeBSD 14.3-RELEASE-p5, MATE desktop, CUPS installed, printer/scanner/fax is an HP OfficeJet Pro 9135e, which is connected to my LAN wirelessly. I can ping the printers IP address and it answers promptly. I have provided a wpa_supplicant.conf. CUPS finds and permits me to install the printer, xsane sees and can access the scanner, including its ADF, so everything should be ready to go, right?

Then how come I cannot print to the printer, CUPS returning, "Unable to locate printer "HP28C5CD0995.local".", xsane returning "Scanner not connected", and HP-Device Manager cannot find the entire unit, nor can hplip find it.

It is as though communications with the printer is one-way only, and any "reply" from the printer is being blocked somewhere.

I have no firewall activated at this point.

Searching on this forum and on the web most of today results in nothing helpful at this point.

Might anyone have any ideas?

Ken Gordon
 
I'm going to spam my own page https://srobb.net/cliscanprint.html#FreeBSD I use a Brother printer/scanner, but it should work with HP. Another test, (for printing), assuming your IP for the printer is 192.168.1.50, would be
Code:
 nc 192.168.1.50 9100 < testfile.pdf

with testfile.pdf being any pdf file you have. That's using netcat to print it.
 
Well, covacat's suggestion got printing to work!! Almost instantly, too. My thanks to him for his suggestion. Once I properly entered the necessary info into /etc/hosts, the printer instantly spit out the files that had been waiting. I was amazed.

Now, I'll check scanning.

Ken Gordon
 
Well, the printing function is STILL not totally correct. First, I was able to print directly from anything only once. After that, in order to get something printed, I have to first, choose to "Open with FireFox web browser", and then, after hitting "print" from within FireFox, must choose, "Print using system dialog...", and this is the only way I can get it to work.

I can print directly from LibreOffice Writer, though.

So, I am still researching that issue. So far, no luck either. And neither hp-uiscan, nor HP Device Manager will find the printers.

Scanning seems to work OK, but will not scan multiple pages into one PDF.

Ken Gordon
 
There MAY be some weirdness having to do with the print-buffer, but I have not yet tracked that down. Still working on it...

Ken Gordon
 
Back
Top