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













5















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.










share|improve this question
























  • Paste the errors and details of how you installed hplip.

    – jasonwryan
    Apr 17 '17 at 18:03















5















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.










share|improve this question
























  • Paste the errors and details of how you installed hplip.

    – jasonwryan
    Apr 17 '17 at 18:03













5












5








5


3






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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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










2 Answers
2






active

oldest

votes


















3














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.






share|improve this answer























  • 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


















7














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:



  1. Install CUPS: sudo pacman -Sy cups

  2. Install HP Linux Imaging and Printing: sudo pacman -S hplip

  3. 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.

  4. Install system-config-printer, a GUI tool to configure printers.

  5. Start system-config-printer and click the button to add a printer. Select your printer and choose HPLIP as the connection method (see screenshot).


  6. system-config-printer should now allow you to print a test page.

  7. 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.

system-config-printer screenshot



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:



add printer via web interface



After selecting a printer in localhost:631/printers, you can also print a test page via the web interface:



print test page via 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.






share|improve this answer

























  • 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










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
);



);













draft saved

draft discarded


















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









3














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.






share|improve this answer























  • 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















3














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.






share|improve this answer























  • 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













3












3








3







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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










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

















  • 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













7














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:



  1. Install CUPS: sudo pacman -Sy cups

  2. Install HP Linux Imaging and Printing: sudo pacman -S hplip

  3. 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.

  4. Install system-config-printer, a GUI tool to configure printers.

  5. Start system-config-printer and click the button to add a printer. Select your printer and choose HPLIP as the connection method (see screenshot).


  6. system-config-printer should now allow you to print a test page.

  7. 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.

system-config-printer screenshot



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:



add printer via web interface



After selecting a printer in localhost:631/printers, you can also print a test page via the web interface:



print test page via 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.






share|improve this answer

























  • 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















7














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:



  1. Install CUPS: sudo pacman -Sy cups

  2. Install HP Linux Imaging and Printing: sudo pacman -S hplip

  3. 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.

  4. Install system-config-printer, a GUI tool to configure printers.

  5. Start system-config-printer and click the button to add a printer. Select your printer and choose HPLIP as the connection method (see screenshot).


  6. system-config-printer should now allow you to print a test page.

  7. 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.

system-config-printer screenshot



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:



add printer via web interface



After selecting a printer in localhost:631/printers, you can also print a test page via the web interface:



print test page via 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.






share|improve this answer

























  • 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













7












7








7







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:



  1. Install CUPS: sudo pacman -Sy cups

  2. Install HP Linux Imaging and Printing: sudo pacman -S hplip

  3. 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.

  4. Install system-config-printer, a GUI tool to configure printers.

  5. Start system-config-printer and click the button to add a printer. Select your printer and choose HPLIP as the connection method (see screenshot).


  6. system-config-printer should now allow you to print a test page.

  7. 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.

system-config-printer screenshot



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:



add printer via web interface



After selecting a printer in localhost:631/printers, you can also print a test page via the web interface:



print test page via 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.






share|improve this answer















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:



  1. Install CUPS: sudo pacman -Sy cups

  2. Install HP Linux Imaging and Printing: sudo pacman -S hplip

  3. 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.

  4. Install system-config-printer, a GUI tool to configure printers.

  5. Start system-config-printer and click the button to add a printer. Select your printer and choose HPLIP as the connection method (see screenshot).


  6. system-config-printer should now allow you to print a test page.

  7. 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.

system-config-printer screenshot



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:



add printer via web interface



After selecting a printer in localhost:631/printers, you can also print a test page via the web interface:



print test page via 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.







share|improve this answer














share|improve this answer



share|improve this answer








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

















  • 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

















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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

Popular posts from this blog

Mobil Contents History Mobil brands Former Mobil brands Lukoil transaction Mobil UK Mobil Australia Mobil New Zealand Mobil Greece Mobil in Japan Mobil in Canada Mobil Egypt See also References External links Navigation menuwww.mobil.com"Mobil Corporation"the original"Our Houston campus""Business & Finance: Socony-Vacuum Corp.""Popular Mechanics""Lubrite Technologies""Exxon Mobil campus 'clearly happening'""Toledo Blade - Google News Archive Search""The Lion and the Moose - How 2 Executives Pulled off the Biggest Merger Ever""ExxonMobil Press Release""Lubricants""Archived copy"the original"Mobil 1™ and Mobil Super™ motor oil and synthetic motor oil - Mobil™ Motor Oils""Mobil Delvac""Mobil Industrial website""The State of Competition in Gasoline Marketing: The Effects of Refiner Operations at Retail""Mobil Travel Guide to become Forbes Travel Guide""Hotel Rankings: Forbes Merges with Mobil"the original"Jamieson oil industry history""Mobil news""Caltex pumps for control""Watchdog blocks Caltex bid""Exxon Mobil sells service station network""Mobil Oil New Zealand Limited is New Zealand's oldest oil company, with predecessor companies having first established a presence in the country in 1896""ExxonMobil subsidiaries have a business history in New Zealand stretching back more than 120 years. We are involved in petroleum refining and distribution and the marketing of fuels, lubricants and chemical products""Archived copy"the original"Exxon Mobil to Sell Its Japanese Arm for $3.9 Billion""Gas station merger will end Esso and Mobil's long run in Japan""Esso moves to affiliate itself with PC Optimum, no longer Aeroplan, in loyalty point switch""Mobil brand of gas stations to launch in Canada after deal for 213 Loblaws-owned locations""Mobil Nears Completion of Rebranding 200 Loblaw Gas Stations""Learn about ExxonMobil's operations in Egypt""Petrol and Diesel Service Stations in Egypt - Mobil"Official websiteExxon Mobil corporate websiteMobil Industrial official websiteeeeeeeeDA04275022275790-40000 0001 0860 5061n82045453134887257134887257

Frič See also Navigation menuinternal link

Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant