Printing to Xerox with Xerox Standard Accountingenabled

franz.pfoertsch.brose franz.pfoertsch at brose.com
Sun Apr 20 05:08:01 PDT 2008


> > On Thu, Apr 17, 2008 at 08:06:23AM -0700, Shawn K. wrote:
> > > At work, I have to print to a Xerox 7345 WorkCenter that has Xerox
> > > Standard Accounting enabled.  Windows users get a prompt when they
> > > print to enter a group number (in my case, 50), so that total
> > > printed pages can be tracked by group.  I get no such prompt with
> > > the Linux/CUPS/xerox ppd file.  I only get a series of beeps and a
> > > 016-757 error (invalid password). I have tried adding things to the
> > > url (ipp://192.168.0.22/ipp/?password=50, etc.).  I have tried
> > > creating a user with the name of the group and printing with that,
> > > but nothing works.  Does anyone have any insight?
> >
> > I can suggest you something that **may** be illegal or not, but that
> > is probably at least not in accordance with your company's IT rules.
> > So decide for yourself if you want to do it this way :
> >
> > Simply install the printer's standard PPD file on your CUPS server,
> > then direct all printing for this queue to socket://192.168.0.22:9100
> >
> > This particular setup worked perfectly the last time I've checked,
> > but it was for a different brand of printers (I won't give more
> > details).
> >
> > NB : It may not work if your print admin has correctly configured the printer
> > to disable unwanted protocols, or if there's some firewalling between
> > your computer and the printer, or if your printer is smarter than the
> > ones I've checked this "feature" on, or for any other reason. As always
> > YMMV, but I certify it worked for me.
> >
> > hth
> >
> > Jerome Alet
> >
>
> If XSA Xerox Standard Accoutning, is turned on on the device, you have to add header at the beginning of the PostScript file. This can be done with a filter. In the PPD you add the name of the filter and into this one you add specific command known by Xerox device.
> To get these commands, the best way is to do an output file from Windows driver or by connecting to Xerox Web site you can get PDL guide.
> http://www.office.xerox.com/support/dctips/dc_print.html
> Hope this will help
> Phil
>
I build something similar to use the additional features of a Canon iR multifuntion devices.

I am using the job jcl features of cups which is available since cups 1.1.23

http://www.pfoertsch.net/wiki/index.php/Main/CuPs

I looked at pdl-description at http://www.office.xerox.com/support/dctips/dc07cc0430.pdf

And you have to to something like the following lines the the ppd of the workcenter

the solution looks very static but there are some specialist available on the net ...

*% === Job Control Language ==

*JCLBegin: "<1B>%-12345X at PJL JOB<0A>"
*JCLToPSInterpreter: "@PJL ENTER LANGUAGE = Postscript <0A>"
*JCLEnd: "<1B>%-12345X at PJL EOJ <0A><1B>%-12345X"

*% Base JCL Job Attribute option
*JCLOpenUI JCLJobAttr: PickOne
*OrderDependency: 10 JCLSetup *JCLJobAttr
*DefaultJCLJobAttr: None
*JCLJobAttr None/No mailbox: ""
*JCLJobAttr Patricia/Patricia:   "@PJL SET JOBATTR=@JOAU=Patricia<OA>@PJL SET JOBATTR=@JOAP=<0A>  @PJL SET JOBATTR=@DAID=<0A>"
*JCLJobAttr Shawn/Shawn:         "@PJL SET JOBATTR=@JOAU=Shawn   <OA>@PJL SET JOBATTR=@JOAP=50<0A>@PJL SET JOBATTR=”@DAID=50”<0A>"
*JCLCloseUI: *JCLJobAttr





More information about the cups mailing list