LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2020, 09:09 AM   #1
Moniquejor
Member
 
Registered: Mar 2020
Posts: 31

Rep: Reputation: Disabled
Printer config nearly fresh Anarchy installation


Hi

My HP printer is not detected when I try to use it

Quote:
Could not start printer
Please check your printer configuration

Code:
dmesg
[    5.096497]usb 2-1.3: Product: Photosmart B109a-m
[    5.096507]usb 2-1.3: Manufacturer: HP
Code:
[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
Code:
[root@archlinux]: /home/xxxxxx># lsusb
bash: lsusb: command not found
[root@archlinux]: /home/xxxxxx># pacman -S lsusb
error: target not found: lsusb
 
Old 04-04-2020, 09:12 AM   #2
Moniquejor
Member
 
Registered: Mar 2020
Posts: 31

Original Poster
Rep: Reputation: Disabled
http://localhost:631/ : unable to connect
 
Old 04-04-2020, 09:23 AM   #3
Moniquejor
Member
 
Registered: Mar 2020
Posts: 31

Original Poster
Rep: Reputation: Disabled
I also installed cups and cups-pdf but then ?
 
Old 04-04-2020, 12:56 PM   #4
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,256

Rep: Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000
Did you enable and start the cups service?
 
Old 04-04-2020, 03:31 PM   #5
Moniquejor
Member
 
Registered: Mar 2020
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sevendogsbsd View Post
Did you enable and start the cups service?
Hello

I found the solution for my device :
Quote:
This could be an old bug that has resurfaced since hplip 3.19: https://bugs.launchpad.net/hplip/+bug/535056

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]








About CUPS :
Code:
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
To enable CUPS :
Code:
sudo systemctl enable org.cups.cupsd.socket
To start CUPS:
Code:
sudo systemctl start org.cups.cupsd.socket

If this still not work for you,

You'll likely require https://aur.archlinux.org/packages/hplip-plugin/
Alternatively you can probably use https://aur.archlinux.org/packages/foo2zjs-nightly/


Also try this :

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
Code:
sudo usermod -aG lp your_username

Thanks to Arch community
 
Old 04-04-2020, 03:33 PM   #6
Moniquejor
Member
 
Registered: Mar 2020
Posts: 31

Original Poster
Rep: Reputation: Disabled
Don't forget to install usbutils
Code:
sudo pacman -S usbutils
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xubuntu Multiple Screens, Nearly working...... Nearly kraziekris Linux - Desktop 2 02-14-2017 05:20 PM
LXer: Answering readers and critics on Linux configuration anarchy LXer Syndicated Linux News 0 08-09-2011 08:51 PM
LXer: How to fix configuration anarchy on the Linux desktop LXer Syndicated Linux News 0 07-24-2011 01:40 PM
Earthquake in the UK? Not anarchy in the UK? Jeebizz General 15 12-23-2010 04:08 AM
LXer: Anarchy in the EULA LXer Syndicated Linux News 0 02-28-2010 03:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration