In order to successfully compile Klpq, you need the latest versions of libkdecore and libkfm. All required libraries as well as Klpq itself can be found on ftp://ftp.kde.org/pub/kde/.
In addition to the KDE-libraries you will need a properly configured printcap file in /etc/printcap.