0

I am running Ubuntu 16.04 on my PC, and am unable to get my printer to work. (My printer is a LaserJet Pro MFP M127fn, if that matters.) Hopefully the following is enough for someone to help me out.

I tried going through this page to help: https://wiki.ubuntu.com/DebuggingPrintingProblems, with the following results (I have also tried other stuff, but only include this here so I don't have a giant wall of useless text):

for part 2:

$ lsmod | grep usb usbhid 49152 0 hid 118784 3 i2c_hid,hid_generic,usbhid

Parts 3 and 4:

With printer unplugged: $ tail -f /var/log/syslog Feb 5 17:30:44 pc AptDaemon: INFO: Quitting was requested Feb 5 17:30:44 pc org.freedesktop.PackageKit[841]: 17:30:44 AptDaemon [INFO]: Quitting due to inactivity Feb 5 17:30:44 pc org.freedesktop.PackageKit[841]: 17:30:44 AptDaemon [INFO]: Quitting was requested Feb 5 17:31:13 pc /hpfax: [6392]: error: Failed to create /var/spool/cups/tmp/.hplip Feb 5 17:32:51 pc org.gnome.evolution.dataserver.Sources5[31580]: ** (evolution-source-registry:31804): WARNING **: secret_service_search_sync: must specify at least one attribute to match Feb 5 18:17:02 pc CRON[6875]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Feb 5 18:47:20 pc avahi-daemon[779]: Registering new address record for fd00:9050:ca39:91a2:9ccb:a669:64dd:d3dd on enp0s31f6.*. Feb 5 18:47:21 pc kernel: [344063.354207] audit: type=1400 audit(1517885241.895:4954): apparmor="DENIED" operation="open" profile="/usr/lib/lightdm/lightdm-guest-session" name="/proc/2144/net/arp" pid=2144 comm=4C696E6B204D6F6E69746F72 requested_mask="r" denied_mask="r" fsuid=983 ouid=0 Feb 5 18:47:22 pc avahi-daemon[779]: Withdrawing address record for fd00:9050:ca39:91a2:fccd:806b:e158:6630 on enp0s31f6. Feb 5 18:47:23 pc kernel: [344064.636528] audit: type=1400 audit(1517885243.177:4955): apparmor="DENIED" operation="open" profile="/usr/lib/lightdm/lightdm-guest-session" name="/proc/2144/net/arp" pid=2144 comm=4C696E6B204D6F6E69746F72 requested_mask="r" denied_mask="r" fsuid=983 ouid=0

When I plug in my printer, nothing else happens.

Part 6:

$ lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 093a:2521 Pixart Imaging, Inc. Optical Mouse Bus 001 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

which to me seems like my computer isn't finding the printer, but I don't really know.

Part 7:

$ sudo ls -l /dev/usb/lp* /dev/bus/usb/*/* ls: cannot access '/dev/usb/lp*': No such file or directory crw-rw-r-- 1 root root 189, 0 Feb 1 19:13 /dev/bus/usb/001/001 crw-rw-r-- 1 root root 189, 1 Feb 1 19:13 /dev/bus/usb/001/002 crw-rw-r-- 1 root root 189, 2 Feb 1 19:13 /dev/bus/usb/001/003 crw-rw-r-- 1 root root 189, 128 Feb 1 19:13 /dev/bus/usb/002/001 crw-rw-r-- 1 root root 189, 256 Feb 1 19:13 /dev/bus/usb/003/001 crw-rw-r-- 1 root root 189, 384 Feb 1 19:13 /dev/bus/usb/004/001

Part 8 also tells me there is no such file or directory (when I try to run usb_printerid ...).

$ hp-info -i HP Linux Imaging and Printing System (ver. 3.16.3) Device Information Utility ver. 5.2 Copyright (c) 2001-15 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. error: No device found that support this feature.

Part 10:

$ lpinfo -v serial serial:/dev/ttyS0?baud=115200 direct hp network ipps network beh network ipp14 network ipp network https network http network socket network lpd direct hpfax network dnssd://NameOfOldPrinterThatDoesntWork._ipp._tcp.local/cups?uuid=da4399a3-5b79-3cc8-5ac9-011902fc20ed

The rest of the stuff suggested there is not applicable because it depends on stuff from earlier parts, so I am unable to do it.

  • "stuff shows up" What stuff? – Ignacio Vazquez-Abrams Feb 6 '18 at 2:59
  • I have edited the post to include the "stuff" @IgnacioVazquez-Abrams – CoffeeTableEspresso Feb 6 '18 at 3:05
  • Are you sure the cable and printer work? Did you turn the printer on? – Ignacio Vazquez-Abrams Feb 6 '18 at 3:10
  • @IgnacioVazquez-Abrams the cable and printer worked with my old computer, and I have not made any changes to the printer and cable since then. trying lsusb on another computer gives me the device as Hewlett-Packard, so that suggests the printer and cable are working. The printer is turned on, yes. – CoffeeTableEspresso Feb 6 '18 at 3:39
  • I have got it connected, but it is now stopping all my jobs. @IgnacioVazquez-Abrams – CoffeeTableEspresso Feb 6 '18 at 3:55
0

I have managed to fix this by installing the proprietary software from the HP site.

  • 1
    That doesn't really explain why it didn't show up as an USB device under lsusb - have you done something else? – dirkt Feb 6 '18 at 4:27
  • @dirkt I turned everything off and on, and unplugged and replugged-in everything to do with the printer. My guess is that one of the connections was bad. What's weird is that my laptop could see the printer before I tried that. – CoffeeTableEspresso Feb 7 '18 at 7:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.