[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cups / Samba: force print options / policy



hi,

Am 10.02.2014 um 15:22 schrieb Jerry Stuckle <jstuckle@attglobal.net>:

> There is nothing in Debian you can do to stop Windows users from accessing the printer directly if the printer is on the network.

sorry, the printer is behind a special network (+ ACL) and only available through Cups. Only Cups can reach the printer. The users have to use the Cupsserver.

Some lines from the PPD:

*DefaultJobType: Normal
*JobType Normal/Normal: "%% FoomaticRIPOptionSetting: JobType=Normal"
*FoomaticRIPOptionSetting JobType=Normal: "mark\n&&
() () (20`date +%y%m%d%R | sed 's/://'`) {setuserinfo} stopped\n&&
cleartomark\n"
*End

...
*OpenUI *DocServerPassword/Document Server Password (4-8 digits): PickOne
*FoomaticRIPOption DocServerPassword: password CmdLine D
*FoomaticRIPOptionMaxLength DocServerPassword:8
*FoomaticRIPOptionAllowedChars DocServerPassword: "0-9"
*OrderDependency: 255 AnySetup *DocServerPassword
*FoomaticRIPOptionPrototype DocServerPassword: "mark\n&&
(&user;) (20`date +%y%m%d%R | sed 's/://'`) (%s) (&title;) {storedprint} stopped\n&&
cleart
...

maybe it helps to understand :-)

but these PPD options are not used, if you print via the Windows printdriver -> application/vnd.cups-raw .... :-/ For our thinclients I can force the Docserver "(JobType=DocServer) ...

cu denny

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


Reply to: