printer setup for linux

Crossing Kyocera TaskAlpha 400ci:

gksu gedit /etc/cups/ppd/Kyocera-Mita-TASKalfa-400ci-KPDL.ppd

this goes in:

*% Management Code Definitions
*OpenUI *KmManagment/Job Accounting: PickOne
*OrderDependency: 60 AnySetup *KmManagment
*DefaultKmManagment: MG1753
*KmManagment Default/Off: “”
*KmManagment MG1234/1234: “(1234) statusdict /setmanagementnumber get exec”
*KmManagment MG1234/1234: “(1234) statusdict /setmanagementnumber get exec”
*KmManagment MG1234/1234: “(1234) statusdict /setmanagementnumber get exec”
*KmManagment MG1234/1234: “(1234) statusdict /setmanagementnumber get exec”

the specific ppd for this printer must be placed at /etc/cups/ppd/

for accessing the machine job accounting, edit the ppd as suggested here:



Recently I came across a problem that was bothering me a lot in Ubuntu 4.10, the new printing company printer, a multifunction Kyocera KM-2820. The first problem was the drivers that did not exist in my Desktop, solved by doing a search on the installation CD that came with the MFP. The second problem annoyed me for some time, how to send the account ID, since the printer is set to print only with a valid account ID? The solution was simple, but I believe in the new driver should fix that, here’s the steps:

First, before installing the printer driver CD, copy the driver to your Desktop and open it in your favorite text editor, look for the lines below and change the number for your account ID, I know it is On Windows the account ID is required when printing, but as I could not enable this option with the driver supplied by the manufacturer, I had to set it directly in the PPD file, this can be a problem on a machine that is used by several people but it was not my case.

# Vim-Kyocera_KM 2820.PPD

% * Management Code Definitions
* OpenUI * KmManagment / Control of work: PickOne
OrderDependency *: 60 * AnySetup KmManagment
* DefaultKmManagment: Default
* Default KmManagment / Off: “”
* KmManagment MG00000000/00000000 “(00000000) statusdict / setmanagementnumber get exec”

In line KmManagment MG00000000/00000000 “(00000000) statusdict / setmanagementnumber get exec” 00000000 change the values ​​for the number of your account ID, eg.: KmManagment MG123456/123456 “(123456) statusdict / setmanagementnumber get exec”, save the file and install the printer using the PPD file.

Update: Open the Print Manager in Ubuntu, right-click the printer and choose Properties, then “Printer Options”, go to the “job control” and choose your ID.

Ready! When printing is sent as the ID number on your account!

OBS.: This link was an Italian forum created a script to request the account ID of the user, but I did not test!

0 thoughts on “printer setup for linux

  1. anky

    Wow…thanks for this post.
    Have spent the last couple of hours trying to hook up my ubuntu laptop to a kyocera printer that required a user ID.