#StackBounty: #18.04 #hp #scanner #hplip HPLIP 3.19.6 didnt see USB HP LaserJet Pro MFP M125ra on 18.04

Bounty: 100

Problem: MFU works like printer but didn’t work like scanner.

Installed latest HPLIP Version: 3.19.6 from developers.hp.com.

:~$ hp-setup

hp-setup

hp-doctor command output:

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------


HP-LaserJet-Pro-MFP-M125ra
--------------------------
Type: Unknown
Device URI: usb://HP/LaserJet%20Pro%20MFP%20M125ra?serial=CNB7GCJHZQ&interface=1
PPD: /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125ra.ppd
warning: Failed to read /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125ra.ppd ppd file
PPD Description: 
Printer status: printer HP-LaserJet-Pro-MFP-M125ra is idle.  enabled since Чт 06 июн 2019 17:54:40
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


--------------
| PERMISSION |
--------------

error: Unsupported model: HP_LaserJet_Pro_MFP_M125ra


Checking Permissions....


Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/HP-LaserJet-Pro-MFP-M125ra.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125ra.ppd
warning: Could not complete Queue(s) configuration check


Checking for HP Properitery Plugin's....
No plug-in printers are configured.

Diagnose completed...

lsusb command output:

Bus 002 Device 009: ID 03f0:222a Hewlett-Packard

sane-find-scanner command output:

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x222a [HP LaserJet Pro MFP M125ra]) at libusb:002:009
could not open USB device 0x04d9/0x0175 at 002:006: Access denied (insufficient permissions)
could not open USB device 0x2109/0x2812 at 002:004: Access denied (insufficient permissions)
could not open USB device 0x0001/0x0000 at 002:003: Access denied (insufficient permissions)
could not open USB device 0x8087/0x0024 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc52b at 003:003: Access denied (insufficient permissions)
could not open USB device 0x0461/0x0010 at 003:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x8087/0x0024 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

Printer work without hplip setup.. How to make the scanner work?


Get this bounty!!!

#StackBounty: #networking #drivers #printing #scanner #samsung 18.04 and Samsung: Scan to PC not available

Bounty: 500

I’m using Samsung XPress 2070FW over WiFi and I cannot get the printer to scan using the on-the-printer scan to pc function. The error message is “Scan to PC not available”. However, scanning using the PC (sane) works fine. The driver is the unified one for the model, but there’s no interface like the one of windows so I cannot tweak scanning on Ubuntu.

Anyone encountered a similar problem?


Get this bounty!!!

#StackBounty: #18.04 #scanner #ubuntu-mate Change scan resolution for Canon TS 9100

Bounty: 50

I have a Canon TS 9100 printer/scanner. I use scangearmp2 for the scanning.

I would like to be able to change the scan resolution.

I could not find a way using the panel on the printer.

https://support.usa.canon.com/library/ij/Manual/All/TS9100%20series/EN/UG/ug_s_03_07.html

And scangear has no option to change the resolution.

Is there a way to change the scan resolution?

Using gscan2pdf.

gscan2pdf --log=file.log

INFO - Starting gscan2pdf 2.1.0
INFO - Log level DEBUG
INFO - Using en_US.UTF-8 locale
INFO - Startup LC_NUMERIC C
INFO - Reading config from /home/andy/.config/gscan2pdfrc
INFO - Config file version 2
DEBUG - $VAR1 = {};

INFO - Operating system: linux
INFO - DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"
INFO - NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.2 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
INFO - Perl version v5.26.1
INFO - Glib-Perl version 1.326
INFO - Glib::Object::Introspection version 0.044
INFO - Built for Glib 2.53.4
INFO - Running with Glib 2.56.4
INFO - Gtk3-Perl version 0.032
INFO - Built for GTK 3.22.30
INFO - Running with GTK 3.22.30
INFO - Gscan2pdf::Document version 2.1.0
INFO - Using PDF::API2 version 2.033
INFO - Using Sane version 1.0.27
INFO - Using libimage-sane-perl version 0.14
DEBUG - $VAR1 = {
          'Blank threshold' => '0.005',
          'Dark threshold' => '0.12',
          'OCR on scan' => 1,
          'OCR output' => 'replace',
          'Page range' => 'all',
          'Paper' => {
                       'A3' => {
                                 'l' => 0,
                                 't' => 0,
                                 'x' => 297,
                                 'y' => 420
                               },
                       'A4' => {
                                 'l' => 0,
                                 't' => 0,
                                 'x' => 210,
                                 'y' => 297
                               },
                       'US Legal' => {
                                       'l' => 0,
                                       't' => 0,
                                       'x' => 216,
                                       'y' => 356
                                     },
                       'US Letter' => {
                                        'l' => 0,
                                        't' => 0,
                                        'x' => 216,
                                        'y' => 279
                                      }
                     },
          'SANE version' => '1.0.27',
          'TMPDIR' => undef,
          'adf-defaults-scan-all-pages' => 1,
          'allow-batch-flatbed' => '',
          'author' => undef,
          'author-suggestions' => undef,
          'auto-open-scan-dialog' => 1,
          'available-tmp-warning' => 10,
          'brightness tool' => 65,
          'cache' => undef,
          'cache options' => 1,
          'cancel-between-pages' => '',
          'close_dialog_on_save' => 1,
          'contrast tool' => 65,
          'convert whitespace to underscores' => '',
          'current_psh' => undef,
          'current_udt' => undef,
          'cwd' => undef,
          'cycle sane handle' => '',
          'date offset' => 0,
          'default filename' => '%Da %DY-%Dm-%Dd',
          'default profile' => undef,
          'default-scan-options' => undef,
          'device' => undef,
          'device blacklist' => undef,
          'downsample' => '',
          'downsample dpi' => 150,
          'frontend' => 'libimage-sane-perl',
          'image type' => undef,
          'keywords' => undef,
          'keywords-suggestions' => undef,
          'libimage-sane-perl version' => '0.14',
          'message' => undef,
          'ocr engine' => 'tesseract',
          'ocr language' => undef,
          'pdf compression' => 'auto',
          'pdf font' => undef,
          'post_save_hook' => '',
          'profile' => undef,
          'ps_backend' => 'pdftops',
          'quality' => 75,
          'restore window' => 1,
          'rotate facing' => 0,
          'rotate reverse' => 0,
          'scan prefix' => '',
          'scan-reload-triggers' => 'mode',
          'scan_window_height' => undef,
          'scan_window_width' => undef,
          'selection' => undef,
          'set_timestamp' => 1,
          'subject' => undef,
          'subject-suggestions' => undef,
          'threshold tool' => 80,
          'threshold-before-ocr' => '',
          'thumb panel' => 100,
          'tiff compression' => undef,
          'title' => undef,
          'title-suggestions' => undef,
          'udt_on_scan' => '',
          'unpaper on scan' => '',
          'unpaper options' => undef,
          'unsharp amount' => 1,
          'unsharp radius' => 0,
          'unsharp sigma' => 1,
          'unsharp threshold' => '0.05',
          'user_defined_tools' => [
                                    'gimp %i'
                                  ],
          'version' => undef,
          'view files toggle' => 1,
          'visible-scan-options' => {
                                      'Paper size' => 1,
                                      'adf-mode' => 1,
                                      'adf_mode' => 1,
                                      'batch-scan' => 1,
                                      'brightness' => 1,
                                      'button-wait' => 1,
                                      'calibration-cache' => 1,
                                      'compression' => 1,
                                      'contrast' => 1,
                                      'gain' => 1,
                                      'l' => 1,
                                      'mode' => 1,
                                      'overscan-bottom' => 1,
                                      'overscan-top' => 1,
                                      'page-height' => 1,
                                      'page-width' => 1,
                                      'pageheight' => 1,
                                      'pagewidth' => 1,
                                      'resolution' => 1,
                                      'source' => 1,
                                      'speed' => 1,
                                      't' => 1,
                                      'threshold' => 1,
                                      'wait-for-button' => 1,
                                      'x' => 1,
                                      'y' => 1
                                    },
          'window_height' => 600,
          'window_maximize' => 1,
          'window_width' => 800,
          'window_x' => undef,
          'window_y' => undef
        };

Perl exited with active threads:
    2 running and unjoined
    0 finished and unjoined
    0 running and detached


Get this bounty!!!

#StackBounty: #debian #networking #scanner #sane #pureos How can I use my Canon Pixma network scanner?

Bounty: 100

I have successfully configured a Canon Pixma MX494 as a network printer from my laptop (PureOS/Debian) using CUPS. It appears under “Printers” and I can print a test page over the network.

I can successfully scan over the network from my Android device using the Canon app.

I am now trying to configure the same device as a network scanner from my laptop.

Following https://wiki.debian.org/SaneOverNetwork#Client_Configuration I have:

  • Installed libsane and sane-utils (already installed)
  • Uncomment the net backend entry in /etc/sane.d/dll.conf (already uncommented)
  • Added the IP address of the scanner to /etc/sane.d/net.conf (Although, from the link “Note that the net backend is not for accessing arbitrary scanners over a network.”)
  • I can ping the scanner at its IP address from my laptop

But scanimage -L does not detect the scanner. (It seemed to detect it once, but simple-scan then failed, and it has not detected it again since then.)


Get this bounty!!!