small footprint driver package

Asked by Torsten Klemm

Dear HPLIB team,

I’m working with the HP Imaging & Printing Sales team on sales opportunity at a customer in Germany.

The customer is using openSUSE 11.4 (x86-Architektur), and looking into the following HP products.

HP LaserJet 400 m401dn
HP LaserJet Enterprise 500 MFP m525f
HP LaserJet p3015 Printer
HP Color LaserJet cp4020 Series Printer
HP LaserJet m4555 MFP
HP LaserJet Enterprise 500 Color MFP m575f
HP Color LaserJet cm4540 Multifunction Printer
HP LaserJet Enterprise 700 Color MFP m775z
HP LaserJet m5035xs Multifunction Printer

As per the above list all devices a supported by the current HPLIB version.

For internal reasons, the customer is not able and willing to install the complete HPLIP Library, but looking for a smaller footprint package, that doesn’t depend on all the libraries (i.e. Python).
Also the customer requires the Personal PIN Print functionality.
We tried to use the PPD’s from the extracted HPLIP .tar. files, but the PPD files are using Filters, which then require libraries like Python to be present on the system.

The question I have, is there a way to build a minimum footprint driver package for the above printers, that includes the Personal PIN Print functionality, without the dependencies on any other Linux library ?

Thanks for your feedback and help in advanced.

Kind regards

Torsten Klemm

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#1

Hi,

Since all of the printers mentioned above can support postscript printing therefore HPLIP is not at all needed for normal printing (without Personal PIN printing). However for Personal PIN Printing only either of the two HPLIP filters need to be installed (need to copy this executable to /usr/lib/cups/filter).
1) hplipjs (written in C)
2) hpps (written in python)

CHANGES NEEDED in every PPD. Take Latest PPDs from HPLIP-3.12.11 version only:

==> Add the filter name in the PPD. :
*cupsFilter: "application/vnd.cups-postscript 0 hpps"
                          or
*cupsFilter: "application/vnd.cups-postscript 0 hplipjs"

==> Add following PIN Printing section in the ppd, if not found.

*%==============================================
*% Secure Printing
*% ============================================

*OpenGroup: SecPin/Secure Printing

*OpenUI *HPPinPrnt/Secure Printing: Boolean
*OrderDependency: 50.0 AnySetup *HPPinPrnt
*DefaultHPPinPrnt: False

*HPPinPrnt True/On: "%%"
*HPPinPrnt False/Off: "%%"

*CloseUI: *HPPinPrnt

*OpenUI *HPFIDigit/First Digit: PickOne
*OrderDependency: 50 AnySetup *HPFIDigit
*DefaultHPFIDigit: 0

*HPFIDigit 0/0: "%%"
*HPFIDigit 1/1: "%%"
*HPFIDigit 2/2: "%%"
*HPFIDigit 3/3: "%%"
*HPFIDigit 4/4: "%%"
*HPFIDigit 5/5: "%%"
*HPFIDigit 6/6: "%%"
*HPFIDigit 7/7: "%%"
*HPFIDigit 8/8: "%%"
*HPFIDigit 9/9: "%%"

*CloseUI: *HPFIDigit

*OpenUI *HPSEDigit/Second Digit: PickOne
*OrderDependency: 50 AnySetup *HPSEDigit
*DefaultHPSEDigit: 0

*HPSEDigit 0/0: "%%"
*HPSEDigit 1/1: "%%"
*HPSEDigit 2/2: "%%"
*HPSEDigit 3/3: "%%"
*HPSEDigit 4/4: "%%"
*HPSEDigit 5/5: "%%"
*HPSEDigit 6/6: "%%"
*HPSEDigit 7/7: "%%"
*HPSEDigit 8/8: "%%"
*HPSEDigit 9/9: "%%"

*CloseUI: *HPSEDigit

*OpenUI *HPTHDigit/Third Digit: PickOne
*OrderDependency: 50 AnySetup *HPTHDigit
*DefaultHPTHDigit: 0

*HPTHDigit 0/0: "%%"
*HPTHDigit 1/1: "%%"
*HPTHDigit 2/2: "%%"
*HPTHDigit 3/3: "%%"
*HPTHDigit 4/4: "%%"
*HPTHDigit 5/5: "%%"
*HPTHDigit 6/6: "%%"
*HPTHDigit 7/7: "%%"
*HPTHDigit 8/8: "%%"
*HPTHDigit 9/9: "%%"

*CloseUI: *HPTHDigit

*OpenUI *HPFTDigit/Fourth Digit: PickOne
*OrderDependency: 50 AnySetup *HPFTDigit
*DefaultHPFTDigit: 0

*HPFTDigit 0/0: "%%"
*HPFTDigit 1/1: "%%"
*HPFTDigit 2/2: "%%"
*HPFTDigit 3/3: "%%"
*HPFTDigit 4/4: "%%"
*HPFTDigit 5/5: "%%"
*HPFTDigit 6/6: "%%"
*HPFTDigit 7/7: "%%"
*HPFTDigit 8/8: "%%"
*HPFTDigit 9/9: "%%"

*CloseUI: *HPFTDigit

*CloseGroup: SecPin

==> Add print queue using "system-config-printer" command or cups interface (localhost:631) and provide the modified PPD path when prompted.

==> Try printing

Hope this helps.

Thanks,
Sanjay

Revision history for this message
Torsten Klemm (torsten-klemm) said :
#2

Dear Sahjay,

thanks for the fast response, highly appreciated.
Unfortunately we got pushed back by the customer, that he's not willing to make the PPD modifications himself, but expects HP to deliver a ready made PPD (Cups system) or 'Installer' for the above Printer Models that has the PIN Print functionality.
As nobody in our team working on this deal has any experience with Linux, is there the change you (or your team) could help out with such ?

Many thanks again, and kind regards

Torsten Klemm

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#3

Hello Torsten,

I updated PPDs and filter(hplipjs) in the https://bugs.launchpad.net/hplip/+bug/1085863. Please follow instructions provided there.

Thanks,
Sanjay

Revision history for this message
Torsten Klemm (torsten-klemm) said :
#4

Dear Sanjay,

thank you so much for your fast response and help, the team really appreciates it.
I submitted the files and installation description to the customer, and will get back with the feedback ASAP.

Thanks again

Torsten Klemm :-)

Revision history for this message
Torsten Klemm (torsten-klemm) said :
#5

Dear Sanjay,

quick question.
Will the filter require Python to be installed on the system ?
The customer is running a very stripped down Linux, and doesn't have Python installed.
For space reasons the customer is not willing to install it.

Can you pls. clarify if we need Python ?

Thanks

Torsten Klemm

Revision history for this message
Torsten Klemm (torsten-klemm) said :
#6

Dear Sanjay,

the customer has tested the custom PPD's and all but the ones for the M5035mfp and P3015 work fine.
For those two devices the installation of the Python Library is required, which the customer is not able/willing to do on his Linux System.
So first of all thanks you very much for you help, and second, is there any chance to get the PIN printing functionality into the PPD's for the M5035mfp and P3015 without the need for Python installed ?

Thanks again in advanced for your continuing support.

Torsten Klemm

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#7

Hello Torsten,

There is no need of python for even P3015 and M5035. I have updated the PPDs @ https://bugs.launchpad.net/hplip/+bug/1085863. Please use these PPDs for testing and let me know if there is any other issue.

Sorry for the late reply and inconvenience caused.

Thanks,
Sanjay

Can you help with this problem?

Provide an answer of your own, or ask Torsten Klemm for more information if necessary.

To post a message you must log in.