On Tue, May 8, 2018 at 4:35 PM, Doug <dmcgarrett@optonline.net> wrote:

On 05/08/2018 02:57 PM, home user via users wrote:
I bought a new hp laser jet pro mfp m180nw.  This morning, I installed:
* hplip-gui
* hplip
and all their dependencies.  “dnf upgrade” shows they and cups are up-to-date.

As root, I used cups to try to install my new printer (HP LaserJet Pro MFP M180nw).  The printer was already powered on and connected to my workstation’s tower via USB cable.  But when I try a print test from cups, I get page after page, each having several seemingly random strange characters, but otherwise mostly blank.  I had to power down the printer to cut the waste of paper.

As root, I tried  to launch “HPLIP Graphical Tools”.  Nothing appeared to happen.

Logged in as the non-root administrator, when I launch “HPLIP Graphical Tools”, I get an error GUI saying
“No Installed HP Devices Found”
and a few seconds later, another error GUI saying
“HPLIP Status service”
and
“No system tray detected on this system.  Unable to start, exiting.”
The first GUI suggests running the hp-setup (a button is provided).  I do that.  I get another GUI.  I select as a “Connection (I/O) Type” the USB option.  As advanced options, the search term field is blank, and the type is set to “All devices/printers”.  I click “Next >”.  It says “No devices found.”.
The first error GUI also suggests using the cups web interface.  There, everything looks ok to me, but I’m (obviously) no expert in these things.

What’s wrong?  How to I get my printer working?  I’m in Fedora-27; Gnome.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Have you downloaded and installed the .ppd file for the printer? The .ppd file should go in /usr/share/cups/model/3-distribution/file.ppd
Here is a sample printer install for my LaserJet, hp-laserjet_pro_m201


from su or sudo, whichever you use:

(First open cups and see that there is not an HP printer there. If there is, from a root prompt, delete it, as follows:
lpadmin -x printername, just as shown in cups.)

Then install your printer: (you are still at a root prompt,or use sudo again.)

lpadmin -p hplj-pro-m201 -E -D "yourmachinename" -L yourlocation -v socket://192.168.1.machineipaddress:9100 -P /usr/share/cups/model/3-distribution/HP/hp-laserjet_pro_m201_m202-ps.ppd.gz -E


Obviously, you don't use hp-lj-pro-m201--that's  MY printer
"yourmachinename) = the network name of your computer--mine is linux1
"yourlocation" where you actually are--either the name of your town, or the name of the room the computer is located in, or anything you like. You can abbreviate, but do not use any periods or commas.
"machineaddress" = the static ip you have set the printer to--in my case, 29

I have checked the installation written above, and I believe it's correct--it's easy to leave out a space, or miss upcase, or something. If it doesn't work, check carefully!

..doug


As root try, /usr/bin/hp-setup