2

Good Morning,

I am trying to add a Xerox 7125 printer to Ubuntu 16.04 LTS.

I have downloaded and extracted the PPD from Xerox's Website, which is just a generic PPD, I added the printer by IP and added the PPD, but it just prints 1 page with ghostscript error then continues to print blank pages indefinitely until the job is cancelled from the printer. This happens regardless of what i print, Google homepage from firefox, pdf, text file... anything.

Even if i add a printer shared from a windows machine it still asks for a driver.

Are there any suggestions I could try to see if i can get it working?

Thanks

Niles
  • 135

2 Answers2

4

I was able to install one Xerox Workcentre 7120 on Ubuntu 16.04 without any downloads from Xerox. Xerox’s PPD does not support XSA User Based Accounting. I need it to print to a shared printer, where each user has is own code.

These instructions works for users with XSA or not, since XSA can be disabled in the printer’s options.

I’ve downloaded the PPD from: https://bitbucket.org/josebagar/xerox_workcentre_7120/raw/0e6c0d7788f3aa11f8bcc58ab224a259dbf0e8f2/printer.ppd

I’ve changed XXXXYOURPASSWORDHEREXXXX to my personal code and stored the ppd on /etc/cups/ppd/ folder.

To configure the printer, I added a new printer, let it discover network printers, and selected the Xerox Workcentre 7120. The URI used was: socket://192.168.0.20:9100 (my printer has the IP 192.168.0.20).

I’ve choosed a custom PPD and selected the one just saved in /etc/cups/ppd/.

Xerox Workcentre 7120 on Ubuntu 16.04

The printer works perfect! The XSA accounting appears as an option.

enter image description here

estibordo
  • 1,419
0

This solution by @estibordo worked for me too, with the Xerox WorkCentre 7845 and Ubuntu 18.04. When I first set up the printer, I had the default ppd file at /etc/cups/ppd/WorkCentre-7845.ppd. I edited this file between the following two lines

*CloseGroup: PrintoutMode


*% Generic boilerplate PPD stuff as standard PostScript fonts and so on

adding the following block from the ppd file @estibordo linked to:

*% Generic Accounting
*JCLOpenUI *JCLAccounting/Accounting: PickOne
*OrderDependency: 10.1 JCLSetup *JCLAccounting
*DefaultJCLAccounting: XSAUser
*JCLAccounting XSADisabled/Disabled: ""
*JCLAccounting XSAUser/XSA User Based Accounting: "@PJL XCPT <3C>?xml version=<22>1.0<22> encoding=<22>UTF-8<22>?<3E>
@PJL XCPT <3C>!DOCTYPE xpif SYSTEM <22>xpif-v02074.dtd<22><3E>
@PJL XCPT <3C>xpif version=<22>1.0<22> cpss-version=<22>2.07<22> xml:lang=<22>en-US<22><3E>
@PJL XCPT          <3C>job-template-attributes<3E>
@PJL XCPT              <3C>client-default-attributes-col syntax=<22>collection<22><3E>
@PJL XCPT                  <3C>job-accounting-user-id syntax=<22>name<22> xml:space=<22>preserve<22><3E>XXXXYOURPASSWORDHEREXXXX<3C>/job-accounting-user-id<3E>
@PJL XCPT                  <3C>job-accounting-user-passcode syntax=<22>octetString<22><3E><3C>/job-accounting-user-passcode<3E>
@PJL XCPT                  <3C>job-accounting-user-passcode-encryption syntax=<22>keyword<22><3E>xerox-simple-1<3C>/job-accounting-user-passcode-encryption<3E>
@PJL XCPT                  <3C>job-billing-passcode-encryption syntax=<22>keyword<22><3E>xerox-simple-1<3C>/job-billing-passcode-encryption<3E>
@PJL XCPT              <3C>/client-default-attributes-col<3E>
@PJL XCPT          <3C>/job-template-attributes<3E>
@PJL XCPT <3C>/xpif<3E>
"
*JCLCloseUI: *JCLAccounting

And, as he says, I replaced XXXXYOURPASSWORDHEREXXXX with my accounting code. Worked like a charm!!

Niles
  • 135