04.06.2013 Views

UCS 2.4 - Univention

UCS 2.4 - Univention

UCS 2.4 - Univention

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

13 Print services<br />

dumpykota -d upquotas -f csv -o userquota.csv<br />

Output of all user quotas in CSV format in the userquota.csv file<br />

13.5.3.1 pykotme<br />

The program pykotme can be used to determine the page contents of a Postscript file and the costs<br />

incurred through its printing.<br />

pykotme --printer printer01,laser01 < file01.ps<br />

Lists the respective costs for the printing of file01.ps on printer01 and laser01.<br />

pykotme --printer laser01 file01.ps file02.ps<br />

Lists the costs for the printing of file01.ps and file02.ps on laser01.<br />

13.5.4 Modifying the print quotas<br />

13.5.4.1 edpykota<br />

The program edpykota is used to alter the quotas of individual users or groups directly. It also offers<br />

possibilities for storing printers and assigning printers and users to groups.<br />

Attention:<br />

Printers and the assigning of printers and the assignment of printers and users to groups should only be<br />

specified with <strong>Univention</strong> Directory Manager wherever possible. As edpykota only changes the entries<br />

in the quota system, these changes are not passed on to the CUPS print system.<br />

edpykota [options] user1 user2 ... userN<br />

edpykota [options] group1 group2 ... groupN<br />

274<br />

Parameter Description<br />

-v –version Outputs the version number<br />

-h –help Help on command usage with syntax and examples<br />

-a –add Add users and/or printers to the quota database<br />

-d –delete Deletes users/user groups out of the quota database<br />

-c –charge p[,j] Fixes the price per page (p) and per job (j) for a specific printer.<br />

The price per job is optional. Values are separated with commas<br />

when they are set. Floating point number are permitted and<br />

input with a decimal point (e.g., 3.412).<br />

-i –ingroups g1[,g2...] Places a user in each specified user group (e.g., g1). The user<br />

groups must already exist in the quota database.<br />

-u –users Edit user quota (standard)<br />

-P –printer p Only the quota for printer p is edited. Wild cards (e.g., p*) are<br />

permitted. Multiple entries are separated by commas.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!