Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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)

Posted on May 15, 2011 11:39 PM

Reply
4 replies
Sort By: 

May 16, 2011 12:40 PM in response to TeenTitan

You may not be able to set a default value in the PPD. Some printers rely on PDEs for processing such information and may encrypt it for sending with the print job. The line you cite for the UserID is just specifying the acceptable input range. Are there any lines that begin with *Default that mention the UserID? Is there a section that begins *OpenUI and ends *CloseUI that surround mention of the UserID?


As an alternative, have you tried entering you credentials in a print window and saving the settings as a Preset?

Reply

May 17, 2011 8:37 AM in response to TeenTitan

I'm not sure I would call it a declaration of a variable. My guess is that it is setting the parameters such as the UserID must be an alhanumeric string of 0 to 20 characters and to use the Accounting PDE for input/processing.


I don't believe there is any requirement that a user be able to set a UserID in the PPD. As I mentioned in my first reply, sometimes credentials are encrypted before they are transmitted to the printer.


Taking a more practical approach, do you know how to print a job to a file so you can see what is actually being sent to the printer. That may help you. What is the model number of the printer. Perhaps I can take a look at it and see the PPD in its entirerty. If this is a PostScript printer, you can sometimes find alternative PPD files that have all the capabilities but don't use Mac specific PDEs or filters.

Reply

Nov 28, 2012 3:28 AM in response to TeenTitan

Hi TeenTitan


I may have a problem simular to yours with a KM bizhub C451 with accounting turned on from Mac OX 10.6 + 10.7 + 10.8 machines.


On some machines we can go into printer settings just to check that all user/password settings are ok (without changing anything) and then we can print one job. It looks like the system forgets the user name and password unless we go into printer settings each time we want to print.


I was thinking of putting in the user/password in the PPD just like you.


I was wondering if you ever found a solution ?



Link https://discussions.apple.com/thread/2733341?answerId=20371136022#20371136022&ac_cid=tw123456#20371136?ac_cid=t w123456

Reply

How do I set the default value in a PPD. (xerox accounting)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.