LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-09-2022, 06:01 AM   #1
keithpeter
Member
 
Registered: Nov 2015
Location: 52:30N 1:55W
Distribution: Slackware 15.0, OpenBSD 7.4
Posts: 310

Rep: Reputation: Disabled
Success: Compiling hplip-3.20.5 on Slackware 14.2 for new printer drivers


I have an HP Laserjet Pro M15w which works fine on Slackware64 15.0. I noticed that it uses one of the hplip drivers. The needed driver is not present on Slackware64 14.2 which has hplip-3.16.5. I made a note of the ppd for the printer,

Code:
/usr/share/ppd/HP/hp-laserjet_m14-m17.ppd.gz
and copied that file over to the 14.2 machine.

hplip-3.20.5 needs the python3 v3.7.2 in SlackBuilds as a dependency. Then I just downloaded the Slackware64 15.0 source directory to the 14.2 machine and ran the SlackBuild and upgraded the resulting package. The HP System Tray Service graphical application does not appear to run on 14.2 so I just used the CUPS Web admin page to set up the printer. CUPS 2.1 would not autodetect the printer's driver so I just added the ppd file that I copied using the CUPS 'add ppd file' option. The only other issue was that the version of xpdf in 14.2 does not 'see' printers. I just installed evince from slackbuilds for printing pdf files.

An earlier attempt to just use the ppd without recompiling hplip failed. The printer could be set up in CUPS but printing generated 'filter failed' errors.

Now, was there an easier way to provide the required drivers?
 
Old 09-11-2022, 10:56 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by keithpeter
Now, was there an easier way to provide the required drivers?
Yes. Upgrade the box running 14.2 to the latest stable release, 15.0.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating hplip.3.16.5 to hplip 3.21.12 TheNutCase Slackware 2 02-02-2022 07:24 PM
Installing HPLIP-GUI on HPLIP 3.17.11 Linux Mint 17.3 laptop anon298 Linux - Software 1 02-26-2018 08:22 PM
[SOLVED] Upgrade hplip-3.9.4b to hplip-3.9.12 (32-bit and 64-bit) tronayne Slackware 8 02-27-2011 11:12 PM
HPlip woes on --current ; Sharing printer gets broken if the hplip gui is launched Old_Fogie Slackware 2 10-28-2010 10:23 AM
HPLIP on Slackware or, getting my printer working Rayston Slackware 5 11-21-2005 01:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration