Using filters and restrictions

PaperCut NG offers advanced filter options to provide network administrators with the ability to filter or restrict print jobs using a set of rules. Filtering options available include:

Each printer has its own set of restrictions. The rules can either apply to all users or restricted users only (the filter scope). You access these settings by selecting the appropriate printer in the charging list and clicking the Filters tab.

Some of the available printer filters and restrictions

Figure 5.5. Some of the available printer filters and restrictions

The printer restrictions provide network administrators with advanced control over printer usage. Some common examples include:

Reduce printer jams

Many printers expect print jobs to be on single size of paper, or maybe two sizes if the printer has multiple paper trays. A non-standard size will cause the printer to enter a manual load state causing the queue to halt. PaperCut NG Filters section allows Administrators select the allowed sizes. Non-standard sizes are automatically deleted before they're sent to the printer. It's an effective way of reducing one of the most common causes of queue jams.

Controlling documents on slow Inkjets

Inkjet printers have very low throughput rates. A large color document can hold up a queue preventing other users from getting their "fair share" of print time. By setting an upper page count via the printer's Filters section, network administrators can prevent large print jobs. The page count forces users to split up large documents and allows other users access to the printer.

Automatically deleting duplicate jobs

PaperCut NG can also monitor the print queues and automatically delete duplicate print jobs. This option is useful on networks with novice users. New users often "double click" an application's printer icon causing two identical print jobs to be sent to the queue. This wastes paper and users' print quota. Network administrators can enable duplicate job detection via the Filters section. A popup message warns the user and the duplicate job is removed from the queue.

Important

This option can affect multiple prints from Microsoft Excel and some other applications. Users wishing to print multiple prints from Excel may need to reprint the document 30 seconds apart.

Force sensible use

Restrictions can be set to define a maximum cost per job. This will prevent users from accidentally spending all their credit/quota in one print job.

Automatically delete documents based on file extension or name

There are many reasons why users should not print certain files. For example, maybe a report from the accounting application consists of 400 pages. Users may not be aware of this and "accidentally" print the report expecting only a few pages. PaperCut NG can be configured to match this document via its name and automatically deleted it from the queue. Use the Filters keyword filter to implement this functionality.

Additionally it's also possible to filter documents based on file extension by entering a keyword like .htm or .pdf.

To filter a document name based on a regex (regular expression), enclose the keyword in forward slashes. Note that the regex matches the entire document name. For example:

  • To disallow printing of any documents ending in .htm:

        /.*\.htm/
                            

  • To disallow printing documents of the form account-12345.pdf:

        /account-\d*\.pdf/
                            

Important

This is not a security option. It is easy to circumvent the filter by simply renaming the document. Some systems may not even report type information!

Control who can print in color (Advanced)

By combining PaperCut's ability to restrict color printing (allow only grayscale), and standard printer access permissions, it's possible to control which users have access to color printing.

To implement:

  1. On the print server, install the drivers for the printer twice. Call one printer Grayscale Only and the other Color. You will now have two printer icons (logical printers) each connected to the same physical printer.

  2. Share the printers as normal

  3. Set Windows access permissions on each printer as required. Users that require color access should be able to print to the color printer. Other users should only be provided access to the "black and white" only printer.

  4. Add the printers to PaperCut NG and define appropriate costs

  5. Select Restriction for grayscale only printer. Ensure that restrictions only allow black and white (grayscale) printing.

Advanced Setups

PaperCut NG provides printer management features that can be easily extended to more advanced network setups including:

  • Environments with multiple print servers

  • Monitoring of locally attached network printers.

  • Central monitoring over Wide Area Networks (WAN) or VPN.

These topics are an advanced subject and covered in subsequent sections.