cancel
Showing results for 
Search instead for 
Did you mean: 
bren1818 New Member
New Member

Printing from Linux with PPD and accounting code WorkCentre 5845/5855

Hi there, I am hoping someone could assist with an issue we're having with our Xerox Work Centres (both 5845 and 5855)

 

Currently our ERP runs on Oracle Linux and is thus using the Linux print drivers. Our issue occurs when we try to print using accounting codes.

 

We downloaded the PPD files off of the Xerox website, and added in the following bit of code to the ppd:

 

*% Generic Accounting
*JCLOpenUI *JCLAccounting/Accounting: PickOne
*OrderDependency: 10.1 JCLSetup *JCLAccounting
*DefaultJCLAccounting: XNAGroup
*JCLAccounting XSADisabled/Disabled: ""
*JCLAccounting XSAUser/XSA User Based Accounting: "@PJL COMMENT OID_ATT_ACCOUNTING_INFORMATION_AVP <22>XRX_USERID,MyUserID<22>;<0A>"
*JCLAccounting XSAGeneral/XSA General Based Accounting: "@PJL COMMENT OID_ATT_ACCOUNTING_INFORMATION_AVP <22>XRX_USERID,MyUserID<22>;<0A>@PJL COMMENT OID_ATT_ACCOUNTING_INFORMATION_AVP <22>XRX_GENERALACCT,MyGeneralAcctID<22>;<0A>"
*JCLAccounting XSAGroup/XSA Group Based Accounting: "@PJL COMMENT OID_ATT_ACCOUNTING_INFORMATION_AVP <22>XRX_USERID,MyUserID<22>;<0A>@PJL COMMENT OID_ATT_ACCOUNTING_INFORMATION_AVP <22>XRX_GROUPACCT,1234<22>;<0A>"
*JCLAccounting XNAGroup/XNA Group Based Accounting: "@PJL COMMENT OID_ATT_ACCOUNTING_INFORMATION_AVP <22>XRX_USERID,{USERID}<22>;<0A>@PJL COMMENT OID_ATT_ACCOUNTING_INFORMATION_AVP <22>XRX_ACCTID,1<22>;<0A>"
*JCLCloseUI: *JCLAccounting

 

(I replace {USERID} with the actual user id) The accuonting is required for us to keep track of who prints out what and the quantity, however, when we have the accounting included in the PPD file, one of two items occur:

1) The document(s) do not print and an error notice page prints out .

2) The documents(s) print out and an error notice page prints out after.

 

The error notice page simply states:

Owner: Raw TCP

Document: Job 1919

Printer: XRX9C934E31....

Date:  ...

 

The print job was deleted because invalid accounting codes were entered or accounting codes were missing.

Contact your local system administrator to obtain codes.

If your computer does not use Xerox print drivers, and job tracking is still desirable, then your system administrator could define exceptions within the web interface to allow jobs to print without requiring accounting codes.

 

The accounting codes we hard code are certainly correct, so I believe the issue is either due to how the linux print driver works with certain versions of the printer firmware, (older firmware versions did not seem to have this issue), or the printer doesn't like the PPD  file.

 

Does anyone have a ppd file which works with accounting on the latest firmware for the WorkCentre 5845 or 5855?

 

Many thanks in advance,

 

Bren

 

 

 

 

 

 

 

 

 

 

 

Tags (2)
0 Kudos
5 Replies
Fabio Valued Advisor
Valued Advisor

Re: Printing from Linux with PPD and accounting code WorkCentre 5845/5855

are you also putting an accounting code? this is also mandatory together with the userid

normally when adding user accounts on the machine, they are stored in an accounting group, that group has a name or a code

that code you need to enter in the ppd

 

also

, you can try to download the global PS print driver, extract it, and take the .ppd file from there

 

should work also

0 Kudos
bren1818 New Member
New Member

Re: Printing from Linux with PPD and accounting code WorkCentre 5845/5855

Hi Fabio, Thank you for replying.

 

Is the Global PS print driver you're referring to this one: http://www.support.xerox.com/support/global-printer-driver/file-download/enus.html?operatingSystem=w...

 

I had a look within it and found only one ppd file named msxpsinc.ppd which doesnt have much in it.

 

The way we do things is our "user ID" is our group/accounting code, and then our "account ID" is set to 1. I'm not sure if that has any implications...

 

0 Kudos
Fabio Valued Advisor
Valued Advisor

Re: Printing from Linux with PPD and accounting code WorkCentre 5845/5855

thats indeed the driver

i extraced it, there is a file with : x2UNIV.ppd in it, you can use that one

 

i think its not enough to send user id and account id; you also need to enable Xerox standard accounting module in the pdd as installable option, not sure though

0 Kudos
Highlighted
Fabio Valued Advisor
Valued Advisor

Re: Printing from Linux with PPD and accounting code WorkCentre 5845/5855

see attached document i have found, thats maybe helpful :)

 

https://www.dropbox.com/s/b04h1s0dl9z50iq/linux%20print%20accounting%20xsa.pdf?dl=0

0 Kudos
bren1818 New Member
New Member

Re: Printing from Linux with PPD and accounting code WorkCentre 5845/5855

Oh that is fantastic! Thank you!

 

I found the ppd file just moments before you sent it. I suppose there are actually two in there, the Univers one was the one I needed.

 

Thanks again, will see if I can get this to go!

0 Kudos