LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Xerox ColorQube 9201, CUPS, PPD and printing after entering a PIN (https://www.linuxquestions.org/questions/linux-newbie-8/xerox-colorqube-9201-cups-ppd-and-printing-after-entering-a-pin-4175482105/)

Oceansoul 10-25-2013 05:38 AM

Xerox ColorQube 9201, CUPS, PPD and printing after entering a PIN
 
Here in the office we are using a Xerox ColorQube 9201.
Windows users connect to the printer directly using the DNS name and the PCL 6 driver of that printer for Windows 7.
Linux users set up CUPS on their own machine, using the ipp protocol and an ppd file from the Xerox website that was written for our printer model.
I was asked to configure the printer to only execute print jobs after the job sender enters a PIN on the machine itself. Xerox calls this function secure printing.
It was easy to set this up in Windows, however I do not find the proper steps to use this function in Linux.
I don't know what parameter to use and I don't know where this needs to be set up: in the PPD file or in the cups configuration file?
All our Linux distributions are RPM based: either CentOS or Fedora. Most of them are quite recent versions.
We also have a few Mac users who will need to use this feature but since we have more Linux users than Mac users, I want to get it to work in Linux first.

Any help is appreciated.

tonasc 11-06-2013 08:51 AM

I've just looked into this myself, and done a blog post.

For reference:
In your PPD file, insert after the *JCLCloseUI: *JCLBanner line and before the *% Generic Accounting line)…

Code:

*%      Secure Print

*JCLOpenUI *JCLSecure/Secure Print: Boolean
*OrderDependency: 10.0 JCLSetup *JCLSecure
*DefaultJCLSecure: False
*JCLSecure False/Off: ""
*JCLSecure True/On: "@PJL COMMENT OID_ATT_JOB_TYPE OID_VAL_JOB_TYPE_SECURE_PRINT;<0A>@PJL COMMENT OID_ATT_JOB_PASSWORD "AYWQ";<0A>"
*JCLCloseUI: *JCLSecure

This should now give you a “Secure Print” tick box on your Advanced tab of your print dialogue.

The AYWQ is the encrypted PIN. I’ve no idea what the encryption method is, I obtained it by capturing a print job sent with the Windows driver. In this case the PIN is 1234. I can’t see any method of being able to choose your own PIN at print time (unless anyone else has any ideas?) so its not terribly secure obviously, but its better than nothing – you’ll at least know that someone has printed and walked off with your job!


All times are GMT -5. The time now is 09:03 PM.