Installing HP printer driver for Arch LinuxLexmark S305 scanner / printerSamba 3 on Arch Linux, streams_xattr behaviourInstalling video driver on Arch LinuxInstalling Canon Pixma mg2400-series printer drivers on Manjaro/Arch?How to print from Arch Linux via Wi-Fi to Canon MG6450?Problem installing base and base-devel on Archxrdp fails to work on Arch Linux using i3 window managerLogging in or plugging in a USB device wakes up network printerSetting up hplip on Trisquel 8.0HP LaserJet Pro MFP m26nw won't print as a network printer on Linux Mint 19
Why Were Madagascar and New Zealand Discovered So Late?
Energy of the particles in the particle accelerator
Large drywall patch supports
Method to test if a number is a perfect power?
How do I go from 300 unfinished/half written blog posts, to published posts?
Purchasing a ticket for someone else in another country?
Pre-amplifier input protection
Was a professor correct to chastise me for writing "Dear Prof. X" rather than "Dear Professor X"?
Would a high gravity rocky planet be guaranteed to have an atmosphere?
Pole-zeros of a real-valued causal FIR system
Unreliable Magic - Is it worth it?
Can the discrete variable be a negative number?
Is there a korbon needed for conversion?
How can I get through very long and very dry, but also very useful technical documents when learning a new tool?
How long to clear the 'suck zone' of a turbofan after start is initiated?
Class Action - which options I have?
Two monoidal structures and copowering
What does 算不上 mean in 算不上太美好的日子?
Escape a backup date in a file name
Why not increase contact surface when reentering the atmosphere?
Avoiding estate tax by giving multiple gifts
Shortcut for value of this indefinite integral?
How do scammers retract money, while you can’t?
How easy is it to start Magic from scratch?
Installing HP printer driver for Arch Linux
Lexmark S305 scanner / printerSamba 3 on Arch Linux, streams_xattr behaviourInstalling video driver on Arch LinuxInstalling Canon Pixma mg2400-series printer drivers on Manjaro/Arch?How to print from Arch Linux via Wi-Fi to Canon MG6450?Problem installing base and base-devel on Archxrdp fails to work on Arch Linux using i3 window managerLogging in or plugging in a USB device wakes up network printerSetting up hplip on Trisquel 8.0HP LaserJet Pro MFP m26nw won't print as a network printer on Linux Mint 19
I now use a PC (of the lab where I work now) on which I have successfully installed Arch Linux not long ago. I want to connect to the HP printer there, already connected to the Ethernet of the lab. The printer is a "HP color laserjet m552".
I have installed hplip
(refer to: CUPS/Printer-specific problems); when installing, I recall there were a lot of error messages.
When I tried to print some document, no printer was found. I ran sudo hp-setup
(as advised here: Configure your printer using hp-setup). There was a dialog box appearing, which asked me for "PPD" file, and I don't know where it is and what it is for.
When I was finding material to solve this, unfortunately I find HP seems not to support Arch Linux. (See: Installing HPLIP and HPLIP Manual Install.)
Console error messages are, when I invoke hp-setup
:
HP Linux Imaging and Printing System (ver. 3.16.11)
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.
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
error: No PPD found for model color_laserjet_m552 using old algorithm.
error: No appropriate print PPD file found for model hp_color_laserjet_m552
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33404 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33834 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33922 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33582 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33940 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33514 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33928 bytes
Meanwhile, I was prompted to choose a PPD file. The default folder for me to choose is /usr/share/ppd/hp
, but when I choose anything, the box is still empty, saying I should choose a file. The printer name is shown, so I think connection is fine.
P.S.: I know this sort of thing is difficult to debug without playing around with the computer in person. If there lacks any information, just ask.
arch-linux drivers printer
add a comment |
I now use a PC (of the lab where I work now) on which I have successfully installed Arch Linux not long ago. I want to connect to the HP printer there, already connected to the Ethernet of the lab. The printer is a "HP color laserjet m552".
I have installed hplip
(refer to: CUPS/Printer-specific problems); when installing, I recall there were a lot of error messages.
When I tried to print some document, no printer was found. I ran sudo hp-setup
(as advised here: Configure your printer using hp-setup). There was a dialog box appearing, which asked me for "PPD" file, and I don't know where it is and what it is for.
When I was finding material to solve this, unfortunately I find HP seems not to support Arch Linux. (See: Installing HPLIP and HPLIP Manual Install.)
Console error messages are, when I invoke hp-setup
:
HP Linux Imaging and Printing System (ver. 3.16.11)
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.
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
error: No PPD found for model color_laserjet_m552 using old algorithm.
error: No appropriate print PPD file found for model hp_color_laserjet_m552
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33404 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33834 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33922 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33582 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33940 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33514 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33928 bytes
Meanwhile, I was prompted to choose a PPD file. The default folder for me to choose is /usr/share/ppd/hp
, but when I choose anything, the box is still empty, saying I should choose a file. The printer name is shown, so I think connection is fine.
P.S.: I know this sort of thing is difficult to debug without playing around with the computer in person. If there lacks any information, just ask.
arch-linux drivers printer
Paste the errors and details of how you installed hplip.
– jasonwryan
Apr 17 '17 at 18:03
add a comment |
I now use a PC (of the lab where I work now) on which I have successfully installed Arch Linux not long ago. I want to connect to the HP printer there, already connected to the Ethernet of the lab. The printer is a "HP color laserjet m552".
I have installed hplip
(refer to: CUPS/Printer-specific problems); when installing, I recall there were a lot of error messages.
When I tried to print some document, no printer was found. I ran sudo hp-setup
(as advised here: Configure your printer using hp-setup). There was a dialog box appearing, which asked me for "PPD" file, and I don't know where it is and what it is for.
When I was finding material to solve this, unfortunately I find HP seems not to support Arch Linux. (See: Installing HPLIP and HPLIP Manual Install.)
Console error messages are, when I invoke hp-setup
:
HP Linux Imaging and Printing System (ver. 3.16.11)
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.
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
error: No PPD found for model color_laserjet_m552 using old algorithm.
error: No appropriate print PPD file found for model hp_color_laserjet_m552
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33404 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33834 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33922 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33582 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33940 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33514 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33928 bytes
Meanwhile, I was prompted to choose a PPD file. The default folder for me to choose is /usr/share/ppd/hp
, but when I choose anything, the box is still empty, saying I should choose a file. The printer name is shown, so I think connection is fine.
P.S.: I know this sort of thing is difficult to debug without playing around with the computer in person. If there lacks any information, just ask.
arch-linux drivers printer
I now use a PC (of the lab where I work now) on which I have successfully installed Arch Linux not long ago. I want to connect to the HP printer there, already connected to the Ethernet of the lab. The printer is a "HP color laserjet m552".
I have installed hplip
(refer to: CUPS/Printer-specific problems); when installing, I recall there were a lot of error messages.
When I tried to print some document, no printer was found. I ran sudo hp-setup
(as advised here: Configure your printer using hp-setup). There was a dialog box appearing, which asked me for "PPD" file, and I don't know where it is and what it is for.
When I was finding material to solve this, unfortunately I find HP seems not to support Arch Linux. (See: Installing HPLIP and HPLIP Manual Install.)
Console error messages are, when I invoke hp-setup
:
HP Linux Imaging and Printing System (ver. 3.16.11)
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.
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
error: No PPD found for model color_laserjet_m552 using old algorithm.
error: No appropriate print PPD file found for model hp_color_laserjet_m552
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33404 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33834 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33922 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33582 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33940 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33514 bytes
kf5.kio.core: KLocalSocket(0x129ca60) Jumbo packet of 33928 bytes
Meanwhile, I was prompted to choose a PPD file. The default folder for me to choose is /usr/share/ppd/hp
, but when I choose anything, the box is still empty, saying I should choose a file. The printer name is shown, so I think connection is fine.
P.S.: I know this sort of thing is difficult to debug without playing around with the computer in person. If there lacks any information, just ask.
arch-linux drivers printer
arch-linux drivers printer
edited Sep 16 '17 at 15:38
roaima
45.9k758124
45.9k758124
asked Apr 17 '17 at 17:29
AminopterinAminopterin
131116
131116
Paste the errors and details of how you installed hplip.
– jasonwryan
Apr 17 '17 at 18:03
add a comment |
Paste the errors and details of how you installed hplip.
– jasonwryan
Apr 17 '17 at 18:03
Paste the errors and details of how you installed hplip.
– jasonwryan
Apr 17 '17 at 18:03
Paste the errors and details of how you installed hplip.
– jasonwryan
Apr 17 '17 at 18:03
add a comment |
2 Answers
2
active
oldest
votes
Initially I installed KDE on Arch linux. After many hours of trying to configure my HP laserjet professional, I reinstalled Arch linux wth the xfce desktop. Pacman install hplip and wget. Check with the Arch wiki to make sure all the dependancies are installed. Update the system frequently. Make sure your printer is visible to your system. I rebooted three or four times. Finally, I was able to print. Final thought. It seems that Arch needed wget to communicate with HP, while "hp-setup" did it's job. Finale suggestion. Never buy an HP laserjet profession that needs an hplip-plugin. I'll never do that again. Good luck.
Thank you for answering this post 2 months ago. Afterwards, I installed Linux Mint, and I now am happy with it: in Mint, run officially downloaded driver package and the printer object appears. I suppose this is how it should be like in the 21th century. Apart from printer issue, I don't find Arch Linux problematic, but I don't see its merit so far either.
– Aminopterin
Jun 9 '17 at 8:27
add a comment |
With system-config-printer
Following these steps, I can now print documents using Evince on Arch Linux 4.16.9 with an HP LaserJet P1102 connected via USB:
- Install CUPS:
sudo pacman -Sy cups
- Install HP Linux Imaging and Printing:
sudo pacman -S hplip
- Install a driver plug-in via
sudo hp-setup -i
. Root privileges are important here, otherwise it says "error: No device selected/specified or that supports this functionality." when selecting a connection method. During installation of the plug-in, I selected the default option each time. - Install
system-config-printer
, a GUI tool to configure printers. - Start
system-config-printer
and click the button to add a printer. Select your printer and choose HPLIP as the connection method (see screenshot). system-config-printer
should now allow you to print a test page.- In order for a GTK application like Evince to show your printer in the printing dialog, you need to install
gtk3-print-backends
as well.
With CUPS web interface
Instead of system-config-printer
described above, you can use CUPS' web interface, reachable at localhost:631
.
Before administrating printers, you have to add your user to the group sys
, otherwise you'll run into errors in the web interface like "Unable to modify printer: Forbidden".
gpasswd -a theUser sys
Alternatively, use vigr
to edit /etc/group
.
The web interface will prompt for this user and their password.
/etc/cups/cups-files.conf
defines that members of groups sys
(and root
) can administrate printers:
SystemGroup sys root
After taking care of group membership, you can add printers and perform other administrative tasks:
After selecting a printer in localhost:631/printers
, you can also print a test page via the web interface:
Troubleshooting
Keep lib in sync with driver
The library hplip
from pacman
and the driver plug-in installed via hp-setup -i
have to have the same version, otherwise you'll be unable to print and see this error message in your systemd journal (inspect it with journalctl
):
validate_plugin_version() Plugin version[3.17.7] mismatch with HPLIP version[3.18.4]
To fix this, you can run hp-setup -i
again which will download and install the current driver.
I added the following to ~/.bash_aliases
to prevent the driver and the library getting out of sync:
alias upgrade-ignore-hp="(set -x; sudo pacman -Syu --ignore hplip)"
Serial number changed
Recently, my printer would refuse to print; system-config-printer
as well as the CUPS web interface would show it as paused and lpc status
, yielded that the printer has "printing disabled".
cupsenable Hewlett-Packard-HP-LaserJet-Professional-P1102
didn't help.
I solved this by changing the printer's connection. Using the CUPS web interface mentioned before, I selected my printer and clicked "Modify Printer" in the drop-down list. Here, I changed the connection from
hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q80X0EGPR1a
to
HP LaserJet Professional P1102 USB 000000000Q80X0EGSI1c HPLIP (HP LaserJet Professional P1102)
Note that those two serial numbers differ.
I don't know where this serial number belongs to and why it changed since I didn't get a new printer; it's not the one on the label on the printer's back.
This serial number does show up in the output of hp-info
, though.
"error: No device selected/specified or that supports this functionality."
This occurred when choosing to connect via USB after sudo hp-setup -i
although the USB cable was plugged in.
I reinstalled hplip with sudo pacman -R hplip && sudo pacman -S hplip
. Afterwards the USB connection worked again.
error: HPLIP upgrade is disabled by Archlinux for security reasons, see bugs.archlinux.org/task/38083 - if you like to upgrade HPLIP, use the Archlinux software package manager pacman. We need a way to uninstall HPLIP plugin (downloaded by hp-setup)
– twnaing
Sep 28 '18 at 9:25
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f359531%2finstalling-hp-printer-driver-for-arch-linux%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Initially I installed KDE on Arch linux. After many hours of trying to configure my HP laserjet professional, I reinstalled Arch linux wth the xfce desktop. Pacman install hplip and wget. Check with the Arch wiki to make sure all the dependancies are installed. Update the system frequently. Make sure your printer is visible to your system. I rebooted three or four times. Finally, I was able to print. Final thought. It seems that Arch needed wget to communicate with HP, while "hp-setup" did it's job. Finale suggestion. Never buy an HP laserjet profession that needs an hplip-plugin. I'll never do that again. Good luck.
Thank you for answering this post 2 months ago. Afterwards, I installed Linux Mint, and I now am happy with it: in Mint, run officially downloaded driver package and the printer object appears. I suppose this is how it should be like in the 21th century. Apart from printer issue, I don't find Arch Linux problematic, but I don't see its merit so far either.
– Aminopterin
Jun 9 '17 at 8:27
add a comment |
Initially I installed KDE on Arch linux. After many hours of trying to configure my HP laserjet professional, I reinstalled Arch linux wth the xfce desktop. Pacman install hplip and wget. Check with the Arch wiki to make sure all the dependancies are installed. Update the system frequently. Make sure your printer is visible to your system. I rebooted three or four times. Finally, I was able to print. Final thought. It seems that Arch needed wget to communicate with HP, while "hp-setup" did it's job. Finale suggestion. Never buy an HP laserjet profession that needs an hplip-plugin. I'll never do that again. Good luck.
Thank you for answering this post 2 months ago. Afterwards, I installed Linux Mint, and I now am happy with it: in Mint, run officially downloaded driver package and the printer object appears. I suppose this is how it should be like in the 21th century. Apart from printer issue, I don't find Arch Linux problematic, but I don't see its merit so far either.
– Aminopterin
Jun 9 '17 at 8:27
add a comment |
Initially I installed KDE on Arch linux. After many hours of trying to configure my HP laserjet professional, I reinstalled Arch linux wth the xfce desktop. Pacman install hplip and wget. Check with the Arch wiki to make sure all the dependancies are installed. Update the system frequently. Make sure your printer is visible to your system. I rebooted three or four times. Finally, I was able to print. Final thought. It seems that Arch needed wget to communicate with HP, while "hp-setup" did it's job. Finale suggestion. Never buy an HP laserjet profession that needs an hplip-plugin. I'll never do that again. Good luck.
Initially I installed KDE on Arch linux. After many hours of trying to configure my HP laserjet professional, I reinstalled Arch linux wth the xfce desktop. Pacman install hplip and wget. Check with the Arch wiki to make sure all the dependancies are installed. Update the system frequently. Make sure your printer is visible to your system. I rebooted three or four times. Finally, I was able to print. Final thought. It seems that Arch needed wget to communicate with HP, while "hp-setup" did it's job. Finale suggestion. Never buy an HP laserjet profession that needs an hplip-plugin. I'll never do that again. Good luck.
answered Jun 9 '17 at 2:03
timtim
462
462
Thank you for answering this post 2 months ago. Afterwards, I installed Linux Mint, and I now am happy with it: in Mint, run officially downloaded driver package and the printer object appears. I suppose this is how it should be like in the 21th century. Apart from printer issue, I don't find Arch Linux problematic, but I don't see its merit so far either.
– Aminopterin
Jun 9 '17 at 8:27
add a comment |
Thank you for answering this post 2 months ago. Afterwards, I installed Linux Mint, and I now am happy with it: in Mint, run officially downloaded driver package and the printer object appears. I suppose this is how it should be like in the 21th century. Apart from printer issue, I don't find Arch Linux problematic, but I don't see its merit so far either.
– Aminopterin
Jun 9 '17 at 8:27
Thank you for answering this post 2 months ago. Afterwards, I installed Linux Mint, and I now am happy with it: in Mint, run officially downloaded driver package and the printer object appears. I suppose this is how it should be like in the 21th century. Apart from printer issue, I don't find Arch Linux problematic, but I don't see its merit so far either.
– Aminopterin
Jun 9 '17 at 8:27
Thank you for answering this post 2 months ago. Afterwards, I installed Linux Mint, and I now am happy with it: in Mint, run officially downloaded driver package and the printer object appears. I suppose this is how it should be like in the 21th century. Apart from printer issue, I don't find Arch Linux problematic, but I don't see its merit so far either.
– Aminopterin
Jun 9 '17 at 8:27
add a comment |
With system-config-printer
Following these steps, I can now print documents using Evince on Arch Linux 4.16.9 with an HP LaserJet P1102 connected via USB:
- Install CUPS:
sudo pacman -Sy cups
- Install HP Linux Imaging and Printing:
sudo pacman -S hplip
- Install a driver plug-in via
sudo hp-setup -i
. Root privileges are important here, otherwise it says "error: No device selected/specified or that supports this functionality." when selecting a connection method. During installation of the plug-in, I selected the default option each time. - Install
system-config-printer
, a GUI tool to configure printers. - Start
system-config-printer
and click the button to add a printer. Select your printer and choose HPLIP as the connection method (see screenshot). system-config-printer
should now allow you to print a test page.- In order for a GTK application like Evince to show your printer in the printing dialog, you need to install
gtk3-print-backends
as well.
With CUPS web interface
Instead of system-config-printer
described above, you can use CUPS' web interface, reachable at localhost:631
.
Before administrating printers, you have to add your user to the group sys
, otherwise you'll run into errors in the web interface like "Unable to modify printer: Forbidden".
gpasswd -a theUser sys
Alternatively, use vigr
to edit /etc/group
.
The web interface will prompt for this user and their password.
/etc/cups/cups-files.conf
defines that members of groups sys
(and root
) can administrate printers:
SystemGroup sys root
After taking care of group membership, you can add printers and perform other administrative tasks:
After selecting a printer in localhost:631/printers
, you can also print a test page via the web interface:
Troubleshooting
Keep lib in sync with driver
The library hplip
from pacman
and the driver plug-in installed via hp-setup -i
have to have the same version, otherwise you'll be unable to print and see this error message in your systemd journal (inspect it with journalctl
):
validate_plugin_version() Plugin version[3.17.7] mismatch with HPLIP version[3.18.4]
To fix this, you can run hp-setup -i
again which will download and install the current driver.
I added the following to ~/.bash_aliases
to prevent the driver and the library getting out of sync:
alias upgrade-ignore-hp="(set -x; sudo pacman -Syu --ignore hplip)"
Serial number changed
Recently, my printer would refuse to print; system-config-printer
as well as the CUPS web interface would show it as paused and lpc status
, yielded that the printer has "printing disabled".
cupsenable Hewlett-Packard-HP-LaserJet-Professional-P1102
didn't help.
I solved this by changing the printer's connection. Using the CUPS web interface mentioned before, I selected my printer and clicked "Modify Printer" in the drop-down list. Here, I changed the connection from
hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q80X0EGPR1a
to
HP LaserJet Professional P1102 USB 000000000Q80X0EGSI1c HPLIP (HP LaserJet Professional P1102)
Note that those two serial numbers differ.
I don't know where this serial number belongs to and why it changed since I didn't get a new printer; it's not the one on the label on the printer's back.
This serial number does show up in the output of hp-info
, though.
"error: No device selected/specified or that supports this functionality."
This occurred when choosing to connect via USB after sudo hp-setup -i
although the USB cable was plugged in.
I reinstalled hplip with sudo pacman -R hplip && sudo pacman -S hplip
. Afterwards the USB connection worked again.
error: HPLIP upgrade is disabled by Archlinux for security reasons, see bugs.archlinux.org/task/38083 - if you like to upgrade HPLIP, use the Archlinux software package manager pacman. We need a way to uninstall HPLIP plugin (downloaded by hp-setup)
– twnaing
Sep 28 '18 at 9:25
add a comment |
With system-config-printer
Following these steps, I can now print documents using Evince on Arch Linux 4.16.9 with an HP LaserJet P1102 connected via USB:
- Install CUPS:
sudo pacman -Sy cups
- Install HP Linux Imaging and Printing:
sudo pacman -S hplip
- Install a driver plug-in via
sudo hp-setup -i
. Root privileges are important here, otherwise it says "error: No device selected/specified or that supports this functionality." when selecting a connection method. During installation of the plug-in, I selected the default option each time. - Install
system-config-printer
, a GUI tool to configure printers. - Start
system-config-printer
and click the button to add a printer. Select your printer and choose HPLIP as the connection method (see screenshot). system-config-printer
should now allow you to print a test page.- In order for a GTK application like Evince to show your printer in the printing dialog, you need to install
gtk3-print-backends
as well.
With CUPS web interface
Instead of system-config-printer
described above, you can use CUPS' web interface, reachable at localhost:631
.
Before administrating printers, you have to add your user to the group sys
, otherwise you'll run into errors in the web interface like "Unable to modify printer: Forbidden".
gpasswd -a theUser sys
Alternatively, use vigr
to edit /etc/group
.
The web interface will prompt for this user and their password.
/etc/cups/cups-files.conf
defines that members of groups sys
(and root
) can administrate printers:
SystemGroup sys root
After taking care of group membership, you can add printers and perform other administrative tasks:
After selecting a printer in localhost:631/printers
, you can also print a test page via the web interface:
Troubleshooting
Keep lib in sync with driver
The library hplip
from pacman
and the driver plug-in installed via hp-setup -i
have to have the same version, otherwise you'll be unable to print and see this error message in your systemd journal (inspect it with journalctl
):
validate_plugin_version() Plugin version[3.17.7] mismatch with HPLIP version[3.18.4]
To fix this, you can run hp-setup -i
again which will download and install the current driver.
I added the following to ~/.bash_aliases
to prevent the driver and the library getting out of sync:
alias upgrade-ignore-hp="(set -x; sudo pacman -Syu --ignore hplip)"
Serial number changed
Recently, my printer would refuse to print; system-config-printer
as well as the CUPS web interface would show it as paused and lpc status
, yielded that the printer has "printing disabled".
cupsenable Hewlett-Packard-HP-LaserJet-Professional-P1102
didn't help.
I solved this by changing the printer's connection. Using the CUPS web interface mentioned before, I selected my printer and clicked "Modify Printer" in the drop-down list. Here, I changed the connection from
hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q80X0EGPR1a
to
HP LaserJet Professional P1102 USB 000000000Q80X0EGSI1c HPLIP (HP LaserJet Professional P1102)
Note that those two serial numbers differ.
I don't know where this serial number belongs to and why it changed since I didn't get a new printer; it's not the one on the label on the printer's back.
This serial number does show up in the output of hp-info
, though.
"error: No device selected/specified or that supports this functionality."
This occurred when choosing to connect via USB after sudo hp-setup -i
although the USB cable was plugged in.
I reinstalled hplip with sudo pacman -R hplip && sudo pacman -S hplip
. Afterwards the USB connection worked again.
error: HPLIP upgrade is disabled by Archlinux for security reasons, see bugs.archlinux.org/task/38083 - if you like to upgrade HPLIP, use the Archlinux software package manager pacman. We need a way to uninstall HPLIP plugin (downloaded by hp-setup)
– twnaing
Sep 28 '18 at 9:25
add a comment |
With system-config-printer
Following these steps, I can now print documents using Evince on Arch Linux 4.16.9 with an HP LaserJet P1102 connected via USB:
- Install CUPS:
sudo pacman -Sy cups
- Install HP Linux Imaging and Printing:
sudo pacman -S hplip
- Install a driver plug-in via
sudo hp-setup -i
. Root privileges are important here, otherwise it says "error: No device selected/specified or that supports this functionality." when selecting a connection method. During installation of the plug-in, I selected the default option each time. - Install
system-config-printer
, a GUI tool to configure printers. - Start
system-config-printer
and click the button to add a printer. Select your printer and choose HPLIP as the connection method (see screenshot). system-config-printer
should now allow you to print a test page.- In order for a GTK application like Evince to show your printer in the printing dialog, you need to install
gtk3-print-backends
as well.
With CUPS web interface
Instead of system-config-printer
described above, you can use CUPS' web interface, reachable at localhost:631
.
Before administrating printers, you have to add your user to the group sys
, otherwise you'll run into errors in the web interface like "Unable to modify printer: Forbidden".
gpasswd -a theUser sys
Alternatively, use vigr
to edit /etc/group
.
The web interface will prompt for this user and their password.
/etc/cups/cups-files.conf
defines that members of groups sys
(and root
) can administrate printers:
SystemGroup sys root
After taking care of group membership, you can add printers and perform other administrative tasks:
After selecting a printer in localhost:631/printers
, you can also print a test page via the web interface:
Troubleshooting
Keep lib in sync with driver
The library hplip
from pacman
and the driver plug-in installed via hp-setup -i
have to have the same version, otherwise you'll be unable to print and see this error message in your systemd journal (inspect it with journalctl
):
validate_plugin_version() Plugin version[3.17.7] mismatch with HPLIP version[3.18.4]
To fix this, you can run hp-setup -i
again which will download and install the current driver.
I added the following to ~/.bash_aliases
to prevent the driver and the library getting out of sync:
alias upgrade-ignore-hp="(set -x; sudo pacman -Syu --ignore hplip)"
Serial number changed
Recently, my printer would refuse to print; system-config-printer
as well as the CUPS web interface would show it as paused and lpc status
, yielded that the printer has "printing disabled".
cupsenable Hewlett-Packard-HP-LaserJet-Professional-P1102
didn't help.
I solved this by changing the printer's connection. Using the CUPS web interface mentioned before, I selected my printer and clicked "Modify Printer" in the drop-down list. Here, I changed the connection from
hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q80X0EGPR1a
to
HP LaserJet Professional P1102 USB 000000000Q80X0EGSI1c HPLIP (HP LaserJet Professional P1102)
Note that those two serial numbers differ.
I don't know where this serial number belongs to and why it changed since I didn't get a new printer; it's not the one on the label on the printer's back.
This serial number does show up in the output of hp-info
, though.
"error: No device selected/specified or that supports this functionality."
This occurred when choosing to connect via USB after sudo hp-setup -i
although the USB cable was plugged in.
I reinstalled hplip with sudo pacman -R hplip && sudo pacman -S hplip
. Afterwards the USB connection worked again.
With system-config-printer
Following these steps, I can now print documents using Evince on Arch Linux 4.16.9 with an HP LaserJet P1102 connected via USB:
- Install CUPS:
sudo pacman -Sy cups
- Install HP Linux Imaging and Printing:
sudo pacman -S hplip
- Install a driver plug-in via
sudo hp-setup -i
. Root privileges are important here, otherwise it says "error: No device selected/specified or that supports this functionality." when selecting a connection method. During installation of the plug-in, I selected the default option each time. - Install
system-config-printer
, a GUI tool to configure printers. - Start
system-config-printer
and click the button to add a printer. Select your printer and choose HPLIP as the connection method (see screenshot). system-config-printer
should now allow you to print a test page.- In order for a GTK application like Evince to show your printer in the printing dialog, you need to install
gtk3-print-backends
as well.
With CUPS web interface
Instead of system-config-printer
described above, you can use CUPS' web interface, reachable at localhost:631
.
Before administrating printers, you have to add your user to the group sys
, otherwise you'll run into errors in the web interface like "Unable to modify printer: Forbidden".
gpasswd -a theUser sys
Alternatively, use vigr
to edit /etc/group
.
The web interface will prompt for this user and their password.
/etc/cups/cups-files.conf
defines that members of groups sys
(and root
) can administrate printers:
SystemGroup sys root
After taking care of group membership, you can add printers and perform other administrative tasks:
After selecting a printer in localhost:631/printers
, you can also print a test page via the web interface:
Troubleshooting
Keep lib in sync with driver
The library hplip
from pacman
and the driver plug-in installed via hp-setup -i
have to have the same version, otherwise you'll be unable to print and see this error message in your systemd journal (inspect it with journalctl
):
validate_plugin_version() Plugin version[3.17.7] mismatch with HPLIP version[3.18.4]
To fix this, you can run hp-setup -i
again which will download and install the current driver.
I added the following to ~/.bash_aliases
to prevent the driver and the library getting out of sync:
alias upgrade-ignore-hp="(set -x; sudo pacman -Syu --ignore hplip)"
Serial number changed
Recently, my printer would refuse to print; system-config-printer
as well as the CUPS web interface would show it as paused and lpc status
, yielded that the printer has "printing disabled".
cupsenable Hewlett-Packard-HP-LaserJet-Professional-P1102
didn't help.
I solved this by changing the printer's connection. Using the CUPS web interface mentioned before, I selected my printer and clicked "Modify Printer" in the drop-down list. Here, I changed the connection from
hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q80X0EGPR1a
to
HP LaserJet Professional P1102 USB 000000000Q80X0EGSI1c HPLIP (HP LaserJet Professional P1102)
Note that those two serial numbers differ.
I don't know where this serial number belongs to and why it changed since I didn't get a new printer; it's not the one on the label on the printer's back.
This serial number does show up in the output of hp-info
, though.
"error: No device selected/specified or that supports this functionality."
This occurred when choosing to connect via USB after sudo hp-setup -i
although the USB cable was plugged in.
I reinstalled hplip with sudo pacman -R hplip && sudo pacman -S hplip
. Afterwards the USB connection worked again.
edited yesterday
answered Sep 16 '17 at 15:01
Matthias BraunMatthias Braun
2,13421424
2,13421424
error: HPLIP upgrade is disabled by Archlinux for security reasons, see bugs.archlinux.org/task/38083 - if you like to upgrade HPLIP, use the Archlinux software package manager pacman. We need a way to uninstall HPLIP plugin (downloaded by hp-setup)
– twnaing
Sep 28 '18 at 9:25
add a comment |
error: HPLIP upgrade is disabled by Archlinux for security reasons, see bugs.archlinux.org/task/38083 - if you like to upgrade HPLIP, use the Archlinux software package manager pacman. We need a way to uninstall HPLIP plugin (downloaded by hp-setup)
– twnaing
Sep 28 '18 at 9:25
error: HPLIP upgrade is disabled by Archlinux for security reasons, see bugs.archlinux.org/task/38083 - if you like to upgrade HPLIP, use the Archlinux software package manager pacman. We need a way to uninstall HPLIP plugin (downloaded by hp-setup)
– twnaing
Sep 28 '18 at 9:25
error: HPLIP upgrade is disabled by Archlinux for security reasons, see bugs.archlinux.org/task/38083 - if you like to upgrade HPLIP, use the Archlinux software package manager pacman. We need a way to uninstall HPLIP plugin (downloaded by hp-setup)
– twnaing
Sep 28 '18 at 9:25
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f359531%2finstalling-hp-printer-driver-for-arch-linux%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
-arch-linux, drivers, printer
Paste the errors and details of how you installed hplip.
– jasonwryan
Apr 17 '17 at 18:03