Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] system-config-printer non existant module cupshelp

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
rafa_99
n00b
n00b
Posts: 18
Joined: Mon Feb 10, 2020 7:26 pm

[SOLVED] system-config-printer non existant module cupshelp

  • Quote

Post by rafa_99 » Fri Feb 11, 2022 3:19 am

Hi, I'm new to gentoo and I was now ready to setup my HP printer. Back when I was using artix linux I used to use system-config-printer gtk interface to set it up.

And thats exactly what I did in gentoo, managed to install cups(already active with rc-service cupsd start) and system-config-printer, and now when I type in the command:

Code: Select all

system-config-printer
I get this error:

Code: Select all

$ system-config-printer
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 76, in <module>
    import cupshelpers
ModuleNotFoundError: No module named 'cupshelpers'
I've then tried to install system-config-printer with all of the USE flags enabled but still get the same error...
Also tried to install net-print/cups-pk-helper as a try of using it has a helper, but got no luck...

Can anyone give me some pointers/help/alternative regarding my problem?

Thanks in advance :)

PS: Tried looking for that python module, but no sucess
Last edited by rafa_99 on Fri Feb 11, 2022 12:32 pm, edited 1 time in total.
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Fri Feb 11, 2022 4:38 am

In your web browser, go to:

Code: Select all

https://localhost:631/
Added: I'd never heard of app-admin/system-config-printer
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
rafa_99
n00b
n00b
Posts: 18
Joined: Mon Feb 10, 2020 7:26 pm

  • Quote

Post by rafa_99 » Fri Feb 11, 2022 12:29 pm

figueroa wrote:In your web browser, go to:

Code: Select all

https://localhost:631/
Added: I'd never heard of app-admin/system-config-printer
Thanks alot, it worked like a charm
Top
madyogi
n00b
n00b
Posts: 13
Joined: Fri Jun 10, 2016 7:49 am

CUPS issues

  • Quote

Post by madyogi » Fri Feb 18, 2022 8:40 pm

Hello,

I just spent a day trying to work out, why is my (a year ago installed USB printer) missing.

For anyone with USB printer not being listed under [ Find new printers ], make sure:

1. net-print/cups has 'usb' use flag set to OFF!
With the 'usb' flag enabled my Lexmark B2338dw disappears, though usb backend lists it fine (net-print/cups-2.3.3_p2-r3)

Code: Select all

$ /usr/libexec/cups/backends/usb
direct usb://Lexmark/B2300%20Series "Lexmark B2300 Series"  \
 "Lexmark B2300 Series" "MANUFACTURER:Lexmark;COMMAND \
SET:PCL 6 Emulation, PostScript Level 3 Emulation, PDF, URF, PWG, NPAP,  \
PJL;MODEL:Lexmark B2300 Series;CLS:PRINTER;DES:Lexmark  \
B2338dw;CID:LexmarkPrinterMonoA;COMMENT:ECP1.0, LV_043D, LP_029B, LF_00B3;" ""
// backslashes added to make it more readable...
but

Code: Select all

$ lpinfo -v
network beh
network ipp
network lpd
network http
network ipps
network https
file cups-brf:/
so no USB printer here... Weird logic, must say.

2. Make sure /var/spool/cups and underlying tmp dir have correct permissions.

Code: Select all

$ ls -ld /var/spool/cups /var/spool/cups/tmp
drwx--x--- 3 root lp 72 02-18 21:17 /var/spool/cups
drwxrwxrwt 2 root lp 88 02-18 21:17 /var/spool/cups/tmp
Without the permissions, I was able to click-through the [ Add Printer ] wizard, but in final the printer wasn't there...
I added the printer from CLI:

Code: Select all

$ lpadmin -i my_lexmark_ppd_file.ppd -p B2338dw -E -u allow:all -v usb://Lexmark/B2300%20Series
the printer was finally there, but prints were not going out.

Code: Select all

lpstat -v
gave me the clue about file permissions mentioned above.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Fri Feb 18, 2022 8:55 pm

Just for information I opened a bug about it.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
figueroa
Advocate
Advocate
User avatar
Posts: 3032
Joined: Sun Aug 14, 2005 8:15 pm
Location: Edge of marsh USA
Contact:
Contact figueroa
Website

  • Quote

Post by figueroa » Sun Feb 20, 2022 4:46 am

madyogi
Did you really mean:

Code: Select all

/usr/libexec/cups/backends/usb
Mine is as follows:

Code: Select all

$ ls -l /usr/libexec/cups/backend/usb
-rwxr-xr-x 1 root root 35520 Feb 19 23:26 /usr/libexec/cups/backend/usb
There is NO "s" in backend.
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi -wayland
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic