Discussion:
Can't install HP Printer driver (hplip)
(too old to reply)
Junayeed Ahnaf via arch-general
2017-12-06 06:45:08 UTC
Permalink
Hello ,

I can't install HP Printing driver using hplip , this is the error I am getting :

17 ◯ : sudo -R hplip-plugin ⏎
sudo: invalid option -- 'R'
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user] [command]
usage: sudo [-AbEHknPS] [-C num] [-g group] [-h host] [-p prompt] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C num] [-g group] [-h host] [-p prompt] [-T timeout] [-u user] file ...

nirjhor-arch 福 ~
18 ◯ : pacaur -R hplip-plugin ⏎
error: target not found: hplip-plugin

nirjhor-arch 福 ~
19 ◯ : sudo hp-setup -i ⏎

HP Linux Imaging and Printing System (ver. 3.17.10)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 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.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
2 par Parallel Port (LPT:)

Enter number 0...2 for connection type (q=quit, enter=usb*) ?

Using connection type: usb


Setting up device: hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q8CAH6FPR1a


Traceback (most recent call last):
File "/usr/bin/hp-setup", line 409, in <module>
pluginObj = pluginhandler.PluginHandle()
File "/usr/share/hplip/installer/pluginhandler.py", line 61, in __init__
self.__readPluginStatus()
File "/usr/share/hplip/installer/pluginhandler.py", line 162, in __readPluginStatus
copies = self.__getPluginFilesList( home )
File "/usr/share/hplip/installer/pluginhandler.py", line 73, in __getPluginFilesList
products = plugin_spec.keys("products")
File "/usr/share/hplip/base/g.py", line 117, in options
return self.conf.options(section)
File "/usr/lib/python3.6/configparser.py", line 675, in options
raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'products'

I'm sure I did this previously, but now it's failing. What should I do?

Sent from Mailspring<https://link.getmailspring.com/link/local-026a71c5-***@nirjhor-arch/0?redirect=https%3A%2F%2Fgetmailspring.com%3Fref%3Dclient&recipient=arch-general%40archlinux.org
Guus Snijders via arch-general
2017-12-06 10:41:17 UTC
Permalink
Op 6 dec. 2017 07:45 schreef "Junayeed Ahnaf via arch-general" <
arch-***@archlinux.org>:

Hello ,

I can't install HP Printing driver using hplip , this is the error I am
getting :

17 ◯ : sudo -R hplip-plugin


sudo: invalid option -- 'R'

[...]

sudo is not a package manager, you shouldprobably use pacman for that ;).

AFAIK the package is already installed, the next step is to configure CUPS
to use this printer. It's been a while for me, but I remember that it was
very straightforward. You might want to check the ArchWiki for the details.


Mvg,
Guus Snijders
Junayeed Ahnaf via arch-general
2017-12-06 11:50:26 UTC
Permalink
Sorry , I fixed the issue by installing hplip-minimal from AUR

Sent from Mailspring<https://link.getmailspring.com/link/local-c48b37b7-***@nirjhor-arch/0?redirect=https%3A%2F%2Fgetmailspring.com%3Fref%3Dclient&recipient=arch-general%40archlinux.org>, the best free email app for work

On Dec 6 2017, at 4:41 pm, Guus Snijders via arch-general <arch-***@archlinux.org> wrote:
Op 6 dec. 2017 07:45 schreef "Junayeed Ahnaf via arch-general" <
arch-***@archlinux.org>:

Hello ,

I can't install HP Printing driver using hplip , this is the error I am
getting :

17 ◯ : sudo -R hplip-plugin


sudo: invalid option -- 'R'

[...]

sudo is not a package manager, you shouldprobably use pacman for that ;).

AFAIK the package is already installed, the next step is to configure CUPS
to use this printer. It's been a while for me, but I remember that it was
very straightforward. You might want to check the ArchWiki for the details.


M
Junayeed Ahnaf via arch-general
2017-12-06 11:50:39 UTC
Permalink
Sorry , I fixed the issue by installing hplip-minimal from AUR

Sent from Mailspring<https://link.getmailspring.com/link/local-c48b37b7-***@nirjhor-arch/0?redirect=https%3A%2F%2Fgetmailspring.com%3Fref%3Dclient&recipient=gsnijders%40gmail.com>, the best free email app for work

On Dec 6 2017, at 4:41 pm, Guus Snijders via arch-general <arch-***@archlinux.org> wrote:
Op 6 dec. 2017 07:45 schreef "Junayeed Ahnaf via arch-general" <
arch-***@archlinux.org>:

Hello ,

I can't install HP Printing driver using hplip , this is the error I am
getting :

17 ◯ : sudo -R hplip-plugin


sudo: invalid option -- 'R'

[...]

sudo is not a package manager, you shouldprobably use pacman for that ;).

AFAIK the package is already installed, the next step is to configure CUPS
to use this printer. It's been a while for me, but I remember that it was
very straightforward. You might want to check the ArchWiki for the details.


Mvg,
Gu

Loading...