You are not logged in.
Hi
My HP printer is not detected when I try to use it
Could not start printer
Please check your printer configuration
dmesg
[ 5.096497]usb 2-1.3: Product: Photosmart B109a-m
[ 5.096507]usb 2-1.3: Manufacturer: HP
[root@archlinux]: /home/xxxxxx># hp-setup
HP Linux Imaging and Printing System (ver. 3.20.3)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-18 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.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Searching... (bus=usb, search=(None), desc=0)
error: Failed to find the lsusb command
error: No devices found on bus: usb
[root@archlinux]: /home/xxxxxx># lsusb
bash: lsusb: command not found
[root@archlinux]: /home/xxxxxx># pacman -S lsusb
error: target not found: lsusb
Last edited by Momoleraclo (2020-04-04 16:46:08)
Offline
I installed cups and cups-pdf but can't access localhost631
Offline
Did you enable the services? https://wiki.archlinux.org/index.php/CUPS
lsusb is part of usbutils
Offline
I think I tried earlier but it gave me an error even with root privileges
Can please re-write me the command please?
Thanks for help
Offline
Systemd#Using_units covers checking the status of a service as well as enabling and disabling one.
Offline
ok I intalled usbutils
sudo pacman -S usbutils
lsusb said:
[xxxx@archlinux]: ~>$ lsusb
Bus 001 Device 004: ID 03f0:7a11 HP, Inc
Offline
I think I tried earlier but it gave me an error even with root privileges
What was the command you tried. What output did it produce? https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
[windows@archlinux]: ~>$ hp-setup
HP Linux Imaging and Printing System (ver. 3.20.3)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-18 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.
Searching... (bus=usb, search=Bus 001 Device 004: ID 03f0:7a11 HP, Inc, desc=0)
error: No devices found on bus: usb
Offline
Systemd#Using_units covers checking the status of a service as well as enabling and disabling one.
I don't know what to do with this
Momoleraclo wrote:I think I tried earlier but it gave me an error even with root privileges
What was the command you tried. What output did it produce? https://bbs.archlinux.org/viewtopic.php?id=57855
I don't remenber
Offline
This isn't right. This isn't even wrong.
-- Wolfgang Pauli --
Offline
Wild guess: add your user to the lp group (you'll have to re-login to apply this or run a new login shell), then re-run hp-setup
sudo usermod -aG lp your_username
Offline
Wild guess: add your user to the lp group (you'll have to re-login to apply this or run a new login shell), then re-run hp-setup
sudo usermod -aG lp your_username
I rebooted, nothing changed
Offline
BTW, printer work fine when I use (for example) PureOs as live/test without I do nothing
In Anarchy lshw gave me :
*-usb:3
description: Printer
product: Photosmart B109a-m
vendor: HP
physical id: 4
bus info: usb@1:1.5.4
logical name: scsi8
version: 1.00
serial: CN9AS964SQ05C7
capabilities: usb-2.00 bidirectional emulated scsi-host
configuration: driver=usb-storage maxpower=2mA speed=480Mbit/s
I just did in my term and download :
sudo pacman -S cups cups-filters cups-pdf ghostscript gsfonts foomatic-db-engine foomatic-db foomatic-db-ppds foomatic-db-nonfree foomatic-db-nonfree-ppds gutenprint foomatic-db-gutenprint-ppds system-config-printer
then
[xxxxxx@archlinux]: ~>$ sudo systemctl enable org.cups.cupsd.socket
Created symlink /etc/systemd/system/sockets.target.wants/org.cups.cupsd.socket → /usr/lib/systemd/system/org.cups.cupsd.socket.
[windows@archlinux]: ~>$ sudo systemctl start org.cups.cupsd.socket
Offline
This could be an old bug that has resurfaced since hplip 3.19: https://bugs.launchpad.net/hplip/+bug/535056
Try to edit /usr/share/hplip/data/models/models.dat: create a copy of the section [photosmart_b109a_series] and rename the copy to [photosmart_b109a-m]
Last edited by progandy (2020-04-04 16:02:26)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Online
I dl a pdf from firefox, then open with libreoffice, it gave me a message "read only mode", I try to print : only generic printer available. If I try to print the message is still "could not start printer, please check your printer configuration"
When I try to detect printer with command hp-setup or using graphical hp device manager, still not working.
Offline
This could be an old bug that has resurfaced since hplip 3.19: https://bugs.launchpad.net/hplip/+bug/535056
Try to edit /usr/share/hplip/data/models/models.dat: create a copy of the section [photosmart_b109a_series] and rename the copy to [photosmart_b109a-m]
It worked on my previous installation of Anarchy (less than a week)
Last edited by Momoleraclo (2020-04-04 16:10:52)
Offline
Oh, and at some point you'll likely require https://aur.archlinux.org/packages/hplip-plugin/
Alternatively you can probably use https://aur.archlinux.org/packages/foo2zjs-nightly/
Offline
I'm trying your solutions guys, I'm still there
thanks for your help
Last edited by Momoleraclo (2020-04-04 16:15:03)
Offline
[root@archlinux]: ~># git clone https://aur.archlinux.org/hplip-plugin.git
Cloning into 'hplip-plugin'...
remote: Enumerating objects: 168, done.
remote: Counting objects: 100% (168/168), done.
remote: Compressing objects: 100% (132/132), done.
remote: Total 168 (delta 36), reused 168 (delta 36), pack-reused 0
Receiving objects: 100% (168/168), 32.43 KiB | 3.60 MiB/s, done.
Resolving deltas: 100% (36/36), done.
[root@archlinux]: ~># git clone https://aur.archlinux.org/foo2zjs-nightly.git
Cloning into 'foo2zjs-nightly'...
remote: Enumerating objects: 238, done.
remote: Counting objects: 100% (238/238), done.
remote: Compressing objects: 100% (96/96), done.
remote: Total 238 (delta 142), reused 238 (delta 142), pack-reused 0
Receiving objects: 100% (238/238), 88.59 KiB | 1.28 MiB/s, done.
Resolving deltas: 100% (142/142), done.
Offline
This could be an old bug that has resurfaced since hplip 3.19: https://bugs.launchpad.net/hplip/+bug/535056
Try to edit /usr/share/hplip/data/models/models.dat: create a copy of the section [photosmart_b109a_series] and rename the copy to [photosmart_b109a-m]
I found the section [photosmart_b010_series] but then how to create a copy of and rename it ?
Offline
Do I just copy past next this section ?
Offline
This could be an old bug that has resurfaced since hplip 3.19: https://bugs.launchpad.net/hplip/+bug/535056
Try to edit /usr/share/hplip/data/models/models.dat: create a copy of the section [photosmart_b109a_series] and rename the copy to [photosmart_b109a-m]
Do I need to relog ? still not working ;(
Last edited by Momoleraclo (2020-04-04 16:23:05)
Offline
You have to open the file with root privileges in a text editor, edit it and save it again to copy the section.
[SECTION]
parameter=value
parameter=value
[SECTION_X]
...
[SECTION]
parameter=value
parameter=value
[SECTION_COPY]
parameter=value
parameter=value
[SECTION_X]
...
What is the debug output of hp-setup?
hp-setup -g 001:004
And please use code-tags for the output of commands:
[code] -> CODE GOES HERE <- [/code]
Edit: As for installing packages from the AUR, please read this: https://wiki.archlinux.org/index.php/Ar … Repository
Last edited by progandy (2020-04-04 16:31:38)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Online
[user@archlinux]: ~>$ hp-setup -g 001:004
HP Linux Imaging and Printing System (ver. 3.20.3)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-18 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.
hp-setup[1645]: debug: param=001:004
hp-setup[1645]: debug: selected_device_name=None
hp-setup[1645]: debug: Using PyQt5
hp-setup[1645]: debug: Sys.argv=['/usr/bin/hp-setup', '-g', '001:004'] printer_name=None param=001:004 jd_port=1 device_uri=None remove=False
Searching for device...
hp-setup[1645]: debug: Cache miss: photosmart_b109a-m
hp-setup[1645]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-setup[1645]: debug: Searching for section [photosmart_b109a-m] in file /usr/share/hplip/data/models/models.dat
hp-setup[1645]: debug: Found section [photosmart_b109a-m] in file /usr/share/hplip/data/models/models.dat
error: Device not found. Please make sure your printer is properly connected and powered-on.
Offline
You have to open the file with root privileges in a text editor, edit it and save it again to copy the section.
I did it without root privileges, after reboot it still look edited as u asked, that's fine ?
edit: maybe I was root actually
Last edited by Momoleraclo (2020-04-04 16:35:48)
Offline