How do I set the default value in a PPD. (xerox accounting)
I'm trying to modify a PPD for a xerox machine to set an accounting id into the default printing.
I found the following in the PPD
*XRFeature XRAccountingUserID: "string 0 20 Accounting"
*XRFeature XRAccountingAccountID: "string 0 20 Accounting"
*OpenUI *XRAccountingSystem/Accounting System: PickOne
*OrderDependency: 10 AnySetup *XRAccountingSystem
*DefaultXRAccountingSystem: PickOne
*XRAccountingSystem None/None: ""
*XRAccountingSystem XSA/Xerox Standard Accounting or Auditron: ""
*XRAccountingSystem XNA/Xerox Network Accounting: ""
*CloseUI: *XRAccountingSystem
*OpenUI *XRAccountingPrompt/Accounting Prompt: PickOne
*OrderDependency: 10 AnySetup *XRAccountingPrompt
*DefaultXRAccountingPrompt: Prompt
*XRAccountingPrompt Prompt/Always Prompt: ""
*XRAccountingPrompt DoNotPrompt/Do Not Prompt: ""
*XRAccountingPrompt PromptFax/Only Prompt for Fax: ""
*XRAccountingPrompt PromptColor/Only Prompt for Color: ""
*XRAccountingPrompt PromptColorFax/Only Prompt For Color and Fax: ""
*CloseUI: *XRAccountingPrompt
*OpenUI *XRAccountingAccountType/XRAccountingAccountType: PickOne
*OrderDependency: 10 AnySetup *XRAccountingAccountType
*DefaultXRAccountingAccountType: Default
*XRAccountingAccountType Default/Default Group Account: ""
*XRAccountingAccountType General/General Account: ""
*XRAccountingAccountType Group/Group Account: ""
*CloseUI: *XRAccountingAccountType
*OpenUI *XRAccountingMaskUserID/XRAccountingMaskUserID: PickOne
*OrderDependency: 10 AnySetup *XRAccountingMaskUserID
*DefaultXRAccountingMaskUserID: True
*XRAccountingMaskUserID False/Disabled: ""
*XRAccountingMaskUserID True/Enabled: ""
*CloseUI: *XRAccountingMaskUserID
*OpenUI *XRAccountingMaskAccountID/XRAccountingMaskAccountID: PickOne
*OrderDependency: 10 AnySetup *XRAccountingMaskAccountID
*DefaultXRAccountingMaskAccountID: True
*XRAccountingMaskAccountID False/Disabled: ""
*XRAccountingMaskAccountID True/Enabled: ""
*CloseUI: *XRAccountingMaskAccountID
*OpenUI *XRAccountingAuxInterface/XRAccountingAuxInterface: PickOne
*OrderDependency: 10 AnySetup *XRAccountingAuxInterface
*DefaultXRAccountingAuxInterface: False
*XRAccountingAuxInterface False/Disabled: ""
*XRAccountingAuxInterface True/Enabled: ""
*CloseUI: *XRAccountingAuxInterface
*OpenUI *XRAccountingAuxEnterAtDevice/XRAccountingAuxEnterAtDevice: PickOne
*OrderDependency: 10 AnySetup *XRAccountingAuxEnterAtDevice
*DefaultXRAccountingAuxEnterAtDevice: True
*XRAccountingAuxEnterAtDevice False/Disabled: ""
*XRAccountingAuxEnterAtDevice True/Enabled: ""
*CloseUI: *XRAccountingAuxEnterAtDevice
I've figured out I can change
"*DefaultXRAccountingSystem: PickOne" to "*DefaultXRAccountingSystem: XSA"
enabling accounting.
then I change
"*DefaultXRAccountingPrompt: Prompt" to "*DefaultXRAccountingPrompt: DoNotPrompt"
so I'm not prompted to enter the accounting code on print
what I haven't figure out is how to set the value of the accounting user id.
I suspect that
*XRFeature XRAccountingUserID: "string 0 20 Accounting"
is declaring the accounting user id, and might be a place to set the accounting ID. But i'm not sure how to set it.
or maybe it should be set at
*XRAccountingSystem XSA/Xerox Standard Accounting or Auditron: "" ?
any suggestions? ideas?
MacBook Pro, Mac OS X (10.6.7)