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.5 Print quota<br />

13.5 Print quota<br />

The univention-printquota package allows print quotas to be set for printer groups and printers. The<br />

quota policies can be defined for certain users and user groups either per each user or per user group.<br />

The print quota system switches automatically between CUPS and the respective printer. In doing so<br />

it checks the user’s permissions and print limits. In addition the costs are calculated for each print job<br />

and documented in a print job history. Different reports can be created from this collected data using the<br />

appropriate programs.<br />

When operating a printer with a quota, the print job history in the CUPS web interface loses its validity. To<br />

ensure that CUPS operates correctly, it always receives a report that the print was successful.<br />

A page counter is updated for each user after every print. When a user excesses his soft limit, he receives<br />

an e-mail - in so far as <strong>Univention</strong> Configuration Registry is configured in this way (see Section 13.6.4) -<br />

which informs him that he is nearing his hard limit. If the user’s page counter reaches the hard limit, the<br />

print job which exceeds the limit will not be finished. An e-mail informs the user that he can no longer print<br />

on the printer in question. This e-mail is sent to the user’s primary e-mail address.<br />

Attention:<br />

The possibility to set quotas for users and user groups on printers and printer groups can result in confusing<br />

quota policies. Printer quotas should thus be planned thoroughly in order to avoid later overlaps in the<br />

policies.<br />

The print quota system determines the size of the print job during printing. This is done by analysing the<br />

data sent to the printer after conversion by CUPS. If the data format is not recognised or the quote limits<br />

are exceeded the print job is interrupted. The following data formats are analysed correctly:<br />

• PostScript<br />

• PDF<br />

• PCL1, PCL2, PCL3, PCL4, PCL5<br />

• PCLXL ( PCL6 )<br />

• ESC/P2<br />

The print quota system saves all data in a database. For this it uses a PostgreSQL database, which is<br />

installed with the univention-printquotadb package.<br />

Now when a user prints, the quota set for the user for the printer used is requested firstly. It is then checked<br />

whether the print job exceeds the quota and if necessary the print job cancelled and the user informed by<br />

e-mail.<br />

If a user does not have a quota for a printer in the database, the print quota policies set in <strong>Univention</strong><br />

Directory Manager are requested. When there are entries here for the user, these are entered in the<br />

database and the print job carried out as along as it does not exceed the quota. When the user has no<br />

policy, the print job is cancelled.<br />

271

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

Saved successfully!

Ooh no, something went wrong!