run commands before◀ or after▶ printing or modify📝 the data before it reaches the printer🖨!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
3.0 KiB

# $Id$
Tea4CUPS : Tee for CUPS
(c) 2020 dadosch
(c) 2005-2018 Jerome Alet <>
(c) 2005 Peter Stuge <>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Tea4CUPS News:
* 3.15 (2020-03-06):
- Python3 support
* 3.14alpha (2018-08-23) :
- Fixes a problem where the job billing attribute sometimes is an integer.
* 3.13alpha (2006-11-07) :
- Backported locking mechanism from PyKota.
* 3.12 (2006-08-11) :
- Serializes accesses to the same device from different queues
or print servers through file locking facilities (works over
- Improved support for CUPS 1.2.x and higher.
- Allows the administrator to cleanly stop tea4cups with SIGINT.
- Added a configurable retry directive to the configuration file.
- Fixed several minor bugs.
- Improved the installation instructions and the sample configuration
* 3.11 :
- Fixed an incompatibility with Python 2.1, thanks to Frank
* 3.10 :
- Added filters.
- Added the "onfail" directive to tea4cups.conf
* 3.02 :
- Fixed some problems thanks to pychecker.
* 3.01 :
- Fixed an IPP parsing bug in some situations.
* 3.00 :
- Tees don't exist anymore. Only prehooks and posthooks remain.
- Prehooks can now send datas to Posthooks through pipes.
- Major rewrite of the subprocess management code, thanks to Peter Stuge.
* 2.12alpha :
- Greatly improved the IPP parser.
- When printing test pages from CUPS' web interface, the empty username
is now overwritten with the username CUPS is running as.
* 2.11 :
- Now works with old releases of Python (>= 2.1)
- More powerful error handling at startup time.
- Ignores errors in posthooks because the job was probably
successfully printed so no need to stop the print queue.
We log a warning instead in this case.
* 2.10 :
- Makes the IPP message filename and the Job's billing code available.
* 2.00 :
- Introduces the notions of pre and post hooks.
- Prehooks can decide to entirely cancel the print job if needed.
- Original CUPS backend's exit code is available in posthooks.
- prehooks, posthooks and tees are now launched in alphabetical order.
* 1.00 :
- First Official release.