Can't install HP Deskjet 2540 in Ubuntu 18.04





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I installed hplip and hplip-data. Then I started HPLIP Toolbox GUI. I click add printer and then I get a message (see pic) that PPD file is not found. When I click browse I find some .gz file and none of them solve the issue if selected.



HP Device Manager Setup dialog



Then



select PPD file dialog



My Ubuntu is Ubuntu 18.04



The output of apt-cache policy hplip hplip-gui:



hplip:
Installed: 3.17.10+repack0-5
Candidate: 3.17.10+repack0-5
Version table:
*** 3.17.10+repack0-5 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
hplip-gui:
Installed: 3.17.10+repack0-5
Candidate: 3.17.10+repack0-5
Version table:
*** 3.17.10+repack0-5 500
500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
100 /var/lib/dpkg/status


Following this post, I did:




  1. sudo apt-get install hplip-gui

  2. hp-setup


I get a GUI for HP Device Manager. My printer is connected by USB. So I select USB then Next. Then I move to another page with title Select from Discovered Device, which shows my printer listed. I click on my printer and Next. Then I get this in the terminal.



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.

Searching... (bus=usb, search=(None), desc=0)
error: No PPD found for model deskjet_2540 using old algorithm.
error: No appropriate print PPD file found for model deskjet_2540_series









share|improve this question

























  • What is your Ubuntu version? Please add output of apt-cache policy hplip hplip-gui to the question. According to HPLIP page you need at least 3.13.8 without proprietary driver/plugin.

    – N0rbert
    Apr 6 at 10:50








  • 2





    Possible duplicate of Installing HP Laser Jet Pro MFP M130nw

    – N0rbert
    Apr 6 at 13:51











  • @N0rbert plz see my edit. Plz provide details on how to solve the issue?

    – user9371654
    Apr 7 at 14:11











  • Make sure you have installed hplip-data package, then run hp-setup and follow the wizard guidance.

    – N0rbert
    Apr 7 at 14:18











  • hplip-data is installed. Plz see EDIT 2 for desription of what I get.

    – user9371654
    Apr 7 at 14:20


















1















I installed hplip and hplip-data. Then I started HPLIP Toolbox GUI. I click add printer and then I get a message (see pic) that PPD file is not found. When I click browse I find some .gz file and none of them solve the issue if selected.



HP Device Manager Setup dialog



Then



select PPD file dialog



My Ubuntu is Ubuntu 18.04



The output of apt-cache policy hplip hplip-gui:



hplip:
Installed: 3.17.10+repack0-5
Candidate: 3.17.10+repack0-5
Version table:
*** 3.17.10+repack0-5 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
hplip-gui:
Installed: 3.17.10+repack0-5
Candidate: 3.17.10+repack0-5
Version table:
*** 3.17.10+repack0-5 500
500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
100 /var/lib/dpkg/status


Following this post, I did:




  1. sudo apt-get install hplip-gui

  2. hp-setup


I get a GUI for HP Device Manager. My printer is connected by USB. So I select USB then Next. Then I move to another page with title Select from Discovered Device, which shows my printer listed. I click on my printer and Next. Then I get this in the terminal.



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.

Searching... (bus=usb, search=(None), desc=0)
error: No PPD found for model deskjet_2540 using old algorithm.
error: No appropriate print PPD file found for model deskjet_2540_series









share|improve this question

























  • What is your Ubuntu version? Please add output of apt-cache policy hplip hplip-gui to the question. According to HPLIP page you need at least 3.13.8 without proprietary driver/plugin.

    – N0rbert
    Apr 6 at 10:50








  • 2





    Possible duplicate of Installing HP Laser Jet Pro MFP M130nw

    – N0rbert
    Apr 6 at 13:51











  • @N0rbert plz see my edit. Plz provide details on how to solve the issue?

    – user9371654
    Apr 7 at 14:11











  • Make sure you have installed hplip-data package, then run hp-setup and follow the wizard guidance.

    – N0rbert
    Apr 7 at 14:18











  • hplip-data is installed. Plz see EDIT 2 for desription of what I get.

    – user9371654
    Apr 7 at 14:20














1












1








1








I installed hplip and hplip-data. Then I started HPLIP Toolbox GUI. I click add printer and then I get a message (see pic) that PPD file is not found. When I click browse I find some .gz file and none of them solve the issue if selected.



HP Device Manager Setup dialog



Then



select PPD file dialog



My Ubuntu is Ubuntu 18.04



The output of apt-cache policy hplip hplip-gui:



hplip:
Installed: 3.17.10+repack0-5
Candidate: 3.17.10+repack0-5
Version table:
*** 3.17.10+repack0-5 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
hplip-gui:
Installed: 3.17.10+repack0-5
Candidate: 3.17.10+repack0-5
Version table:
*** 3.17.10+repack0-5 500
500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
100 /var/lib/dpkg/status


Following this post, I did:




  1. sudo apt-get install hplip-gui

  2. hp-setup


I get a GUI for HP Device Manager. My printer is connected by USB. So I select USB then Next. Then I move to another page with title Select from Discovered Device, which shows my printer listed. I click on my printer and Next. Then I get this in the terminal.



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.

Searching... (bus=usb, search=(None), desc=0)
error: No PPD found for model deskjet_2540 using old algorithm.
error: No appropriate print PPD file found for model deskjet_2540_series









share|improve this question
















I installed hplip and hplip-data. Then I started HPLIP Toolbox GUI. I click add printer and then I get a message (see pic) that PPD file is not found. When I click browse I find some .gz file and none of them solve the issue if selected.



HP Device Manager Setup dialog



Then



select PPD file dialog



My Ubuntu is Ubuntu 18.04



The output of apt-cache policy hplip hplip-gui:



hplip:
Installed: 3.17.10+repack0-5
Candidate: 3.17.10+repack0-5
Version table:
*** 3.17.10+repack0-5 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
hplip-gui:
Installed: 3.17.10+repack0-5
Candidate: 3.17.10+repack0-5
Version table:
*** 3.17.10+repack0-5 500
500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
100 /var/lib/dpkg/status


Following this post, I did:




  1. sudo apt-get install hplip-gui

  2. hp-setup


I get a GUI for HP Device Manager. My printer is connected by USB. So I select USB then Next. Then I move to another page with title Select from Discovered Device, which shows my printer listed. I click on my printer and Next. Then I get this in the terminal.



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.

Searching... (bus=usb, search=(None), desc=0)
error: No PPD found for model deskjet_2540 using old algorithm.
error: No appropriate print PPD file found for model deskjet_2540_series






printing hp hplip






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 8 at 1:48









Zanna

51.5k13141244




51.5k13141244










asked Apr 6 at 10:24









user9371654user9371654

203111




203111













  • What is your Ubuntu version? Please add output of apt-cache policy hplip hplip-gui to the question. According to HPLIP page you need at least 3.13.8 without proprietary driver/plugin.

    – N0rbert
    Apr 6 at 10:50








  • 2





    Possible duplicate of Installing HP Laser Jet Pro MFP M130nw

    – N0rbert
    Apr 6 at 13:51











  • @N0rbert plz see my edit. Plz provide details on how to solve the issue?

    – user9371654
    Apr 7 at 14:11











  • Make sure you have installed hplip-data package, then run hp-setup and follow the wizard guidance.

    – N0rbert
    Apr 7 at 14:18











  • hplip-data is installed. Plz see EDIT 2 for desription of what I get.

    – user9371654
    Apr 7 at 14:20



















  • What is your Ubuntu version? Please add output of apt-cache policy hplip hplip-gui to the question. According to HPLIP page you need at least 3.13.8 without proprietary driver/plugin.

    – N0rbert
    Apr 6 at 10:50








  • 2





    Possible duplicate of Installing HP Laser Jet Pro MFP M130nw

    – N0rbert
    Apr 6 at 13:51











  • @N0rbert plz see my edit. Plz provide details on how to solve the issue?

    – user9371654
    Apr 7 at 14:11











  • Make sure you have installed hplip-data package, then run hp-setup and follow the wizard guidance.

    – N0rbert
    Apr 7 at 14:18











  • hplip-data is installed. Plz see EDIT 2 for desription of what I get.

    – user9371654
    Apr 7 at 14:20

















What is your Ubuntu version? Please add output of apt-cache policy hplip hplip-gui to the question. According to HPLIP page you need at least 3.13.8 without proprietary driver/plugin.

– N0rbert
Apr 6 at 10:50







What is your Ubuntu version? Please add output of apt-cache policy hplip hplip-gui to the question. According to HPLIP page you need at least 3.13.8 without proprietary driver/plugin.

– N0rbert
Apr 6 at 10:50






2




2





Possible duplicate of Installing HP Laser Jet Pro MFP M130nw

– N0rbert
Apr 6 at 13:51





Possible duplicate of Installing HP Laser Jet Pro MFP M130nw

– N0rbert
Apr 6 at 13:51













@N0rbert plz see my edit. Plz provide details on how to solve the issue?

– user9371654
Apr 7 at 14:11





@N0rbert plz see my edit. Plz provide details on how to solve the issue?

– user9371654
Apr 7 at 14:11













Make sure you have installed hplip-data package, then run hp-setup and follow the wizard guidance.

– N0rbert
Apr 7 at 14:18





Make sure you have installed hplip-data package, then run hp-setup and follow the wizard guidance.

– N0rbert
Apr 7 at 14:18













hplip-data is installed. Plz see EDIT 2 for desription of what I get.

– user9371654
Apr 7 at 14:20





hplip-data is installed. Plz see EDIT 2 for desription of what I get.

– user9371654
Apr 7 at 14:20










1 Answer
1






active

oldest

votes


















3














It should simply work without PPD file. It is not declared in /usr/share/hplip/data/models/models.dat even in latest HPLIP 3.19.3.



So you need to install all HPLIP stuff with



sudo apt-get install hplip-gui hpijs-ppds


and then follow hp-setup wizard.



If hp-setup fails, then try install all known printer drivers with



sudo apt-get install printer-driver-all


and use system-config-printer.






share|improve this answer


























  • I followed every step. When I run system-config-printer I click "Add" button it asks for authentication to fetch device (it seems for network printers). But my printer is USB.

    – user9371654
    Apr 9 at 18:37












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2faskubuntu.com%2fquestions%2f1131641%2fcant-install-hp-deskjet-2540-in-ubuntu-18-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














It should simply work without PPD file. It is not declared in /usr/share/hplip/data/models/models.dat even in latest HPLIP 3.19.3.



So you need to install all HPLIP stuff with



sudo apt-get install hplip-gui hpijs-ppds


and then follow hp-setup wizard.



If hp-setup fails, then try install all known printer drivers with



sudo apt-get install printer-driver-all


and use system-config-printer.






share|improve this answer


























  • I followed every step. When I run system-config-printer I click "Add" button it asks for authentication to fetch device (it seems for network printers). But my printer is USB.

    – user9371654
    Apr 9 at 18:37
















3














It should simply work without PPD file. It is not declared in /usr/share/hplip/data/models/models.dat even in latest HPLIP 3.19.3.



So you need to install all HPLIP stuff with



sudo apt-get install hplip-gui hpijs-ppds


and then follow hp-setup wizard.



If hp-setup fails, then try install all known printer drivers with



sudo apt-get install printer-driver-all


and use system-config-printer.






share|improve this answer


























  • I followed every step. When I run system-config-printer I click "Add" button it asks for authentication to fetch device (it seems for network printers). But my printer is USB.

    – user9371654
    Apr 9 at 18:37














3












3








3







It should simply work without PPD file. It is not declared in /usr/share/hplip/data/models/models.dat even in latest HPLIP 3.19.3.



So you need to install all HPLIP stuff with



sudo apt-get install hplip-gui hpijs-ppds


and then follow hp-setup wizard.



If hp-setup fails, then try install all known printer drivers with



sudo apt-get install printer-driver-all


and use system-config-printer.






share|improve this answer















It should simply work without PPD file. It is not declared in /usr/share/hplip/data/models/models.dat even in latest HPLIP 3.19.3.



So you need to install all HPLIP stuff with



sudo apt-get install hplip-gui hpijs-ppds


and then follow hp-setup wizard.



If hp-setup fails, then try install all known printer drivers with



sudo apt-get install printer-driver-all


and use system-config-printer.







share|improve this answer














share|improve this answer



share|improve this answer








edited Apr 7 at 15:10

























answered Apr 7 at 15:04









N0rbertN0rbert

26k956123




26k956123













  • I followed every step. When I run system-config-printer I click "Add" button it asks for authentication to fetch device (it seems for network printers). But my printer is USB.

    – user9371654
    Apr 9 at 18:37



















  • I followed every step. When I run system-config-printer I click "Add" button it asks for authentication to fetch device (it seems for network printers). But my printer is USB.

    – user9371654
    Apr 9 at 18:37

















I followed every step. When I run system-config-printer I click "Add" button it asks for authentication to fetch device (it seems for network printers). But my printer is USB.

– user9371654
Apr 9 at 18:37





I followed every step. When I run system-config-printer I click "Add" button it asks for authentication to fetch device (it seems for network printers). But my printer is USB.

– user9371654
Apr 9 at 18:37


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • 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%2faskubuntu.com%2fquestions%2f1131641%2fcant-install-hp-deskjet-2540-in-ubuntu-18-04%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







Popular posts from this blog

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b