How do I compile /usr/lib/cups/driver/hplip?

Asked by Tae-Young Kwon

I am using ubuntu 18.04.
I know that in ubuntu, the ppd file for hplip is provided as /usr/lib/cups/driver/hplip.

So I compiled it like this:

$ apt-get source hplip
$ apt-get build-dep hplip
$ cd hplip-3.17.10 + repack0 /
$ debian/rule binary

This will cause hplip to compile.

However, this compiled hplip does not include /usr/lib/cups/driver/hplip.
$ make DESTDIR=/nfs/aaa install
$ find /nfs/aaa -name hplip
/nfs/aaa/usr/share/hplip
/nfs/aaa/usr/share/doc/hplip
/nfs/aaa/usr/share/ppd/hplip

But debian/hplip/usr/lib/cups/driver/hplip file exists in the debian folder.
I am wondering how debian/hplip/usr/lib/cups/driver/hplip files are generated.

How do I know if I know how to create the file?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu hplip Edit question
Assignee:
No assignee Edit question
Solved by:
Tae-Young Kwon
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Why don't you just get the installer for the latest hplip and install it. Just like you would in Windows.

wget https://sourceforge.net/projects/hplip/files/hplip/3.18.6/hplip-3.18.6.run
chmod +x ./hplip-3.18.6.run
./hplip-3.18.6.run

Run as user (important) not prefix with sudo.

Do you specifically need 3.17?

Revision history for this message
Tae-Young Kwon (xoduddk123) said :
#2

No.

It was simply version 3.17.10 that I received as 'apt-get source hplip' from my ubuntu.

I installed hplip with hplip-3.18.6.run.
However, there is no /usr/lib/cups/driver/hplip installed on this hplip.

Revision history for this message
Tae-Young Kwon (xoduddk123) said :
#3

I have confirmed that the file is generated by pyppd.