This repository has been archived by the owner on Jun 17, 2022. It is now read-only.
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.
Add secure printing for HP printers #226
Open
Description
openedon May 26, 2016
HPPinPrnt
true/false
HPFIDigit
0-9
HPSEDigit
0-9
HPTHDigit
0-9
HPFTDigit
0-9
From my PPD generated by hplip:
*PPD-Adobe: "4.3"
*% =================================
*% Copyright 1992-2009 Hewlett-Packard Company
*% Permission is hereby granted, free of charge, to any person obtaining
*% a copy of this software and associated documentation files (the
*% "Software"), to deal in the Software without restriction, including
*% without limitation the rights to use, copy, modify, merge, publish,
*% distribute, sublicense, and/or sell copies of the Software, and to
*% permit persons to whom the Software is furnished to do so, subject to
*% the following conditions:
*%
*% The above copyright notice and this permission notice shall be
*% included in all copies or substantial portions of the Software.
*%
*% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
*% EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
*% MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
*% NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
*% LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
*% OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
*% WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*%
*% [this is the MIT open source license -- please see www.opensource.org]
*%
*%%%% Created by the CUPS PPD Compiler CUPS v1.5svn.
*% Copyright (c) 2010-2012 Hewlett-Packard Development Company, L.P.
...
*%==============================================
*% Secure Printing
*% ============================================
*OpenGroup: SecPin/Secure Printing
*OpenUI *HPPinPrnt/Secure Printing: PickOne
*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
Also see https://github.com/twaugh/hplip/blob/master/prnt/filters/hpps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment