Detect hp ink tank 315 detected by system
# dmesg
...
[ 66.017856] usb 3-2: new high-speed USB device number 2 using xhci_hcd
[ 66.170313] usb 3-2: New USB device found, idVendor=03f0, idProduct=1053, bcdDevice= 1.00
[ 66.170319] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 66.170322] usb 3-2: Product: Ink Tank 310 series
[ 66.170324] usb 3-2: Manufacturer: HP
[ 66.170326] usb 3-2: SerialNumber: CN83B2G1YK06PH
[ 66.198225] usblp 3-2:1.1: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x03F0 pid 0x1053
[ 66.198300] usbcore: registered new interface driver usblp
Install CUPS and hplip
# apt-get install system-config-printer hplip cups hplip-ppds
If CUPS error
# tail /var/log/cups/error_log
X [09/Jun/2021:13:20:46 +0700] No valid Listen or Port lines were found in the configuration file.
Edit /etc/cups/cupsd.conf
# vi /etc/cups/cupsd.conf
Listen 127.0.0.1:631
Configure printer via Browser http://localhost:631/
- Administration -> Add Printer
- HP Ink Tank 310 series USB CN83B2G1YK06PH HPLIP (HP Ink Tank 310 series), Next
- Continue
- Model: HP Ink Tank 310 Series hpijs, 318.12 (en), Add Printer
- Filled User Name with root and its password, Ok
Install XSane for scanner
# apt-get install xsane sane-utils
Detect hp ink tank 315 scanner
# lsusb
Bus 004 Device 002: ID 03f0:1053 HP, Inc
# sane-find-scanner
# 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 [HP], product=0x1053 [Ink Tank 310 series]) at libusb:004:002
# 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.
Try your scanner
# scanimage -L
device `hpaio:/usb/Ink_Tank_310_series?serial=CN83B2G1YK06PH' is a Hewlett-Packard Ink_Tank_310_series all-in-one
or
$ scanimage > image.pnm
To install driver print to pdf
# apt-get install printer-driver-cups-pdf
No comments:
Post a Comment