[567] | 1 | # $Id$ |
---|
| 2 | |
---|
[576] | 3 | Tea4CUPS : Tee for CUPS |
---|
[567] | 4 | |
---|
| 5 | This program is free software; you can redistribute it and/or modify |
---|
| 6 | it under the terms of the GNU General Public License as published by |
---|
| 7 | the Free Software Foundation; either version 2 of the License, or |
---|
| 8 | (at your option) any later version. |
---|
| 9 | |
---|
| 10 | This program is distributed in the hope that it will be useful, |
---|
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 13 | GNU General Public License for more details. |
---|
| 14 | |
---|
| 15 | You should have received a copy of the GNU General Public License |
---|
| 16 | along with this program; if not, write to the Free Software |
---|
| 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
---|
| 18 | |
---|
| 19 | ============================================================================= |
---|
| 20 | |
---|
[576] | 21 | Tea4CUPS is the equivalent of the *nix command 'tee', but as a CUPS |
---|
[567] | 22 | backend. |
---|
| 23 | |
---|
[576] | 24 | Tea4CUPS behaves just like any other CUPS backend, but allows you to |
---|
[567] | 25 | transparently send print jobs' datas to any number of outputs : other |
---|
| 26 | CUPS backends, files or pipes. |
---|
| 27 | |
---|
| 28 | This for example allows you to output the same print job on several |
---|
| 29 | printers at the same time, which is not possible with CUPS. |
---|
| 30 | |
---|
| 31 | Another possibility would be for example to send the same document to |
---|
| 32 | a printer, a PDF generator, a Fax, and as an attachment to an email |
---|
| 33 | message, all of this by printing it a single time. |
---|
| 34 | |
---|
| 35 | ============================================================================= |
---|
| 36 | |
---|
| 37 | Installation : |
---|
| 38 | -------------- |
---|
| 39 | |
---|
[576] | 40 | 1 - Copy the 'tea4cups' command into CUPS' backend directory, |
---|
[567] | 41 | for example : |
---|
| 42 | |
---|
[576] | 43 | $ cp tea4cups /usr/lib/cups/backend |
---|
[567] | 44 | |
---|
| 45 | 2 - Restart CUPS in order for this new backend to be detected. |
---|
| 46 | |
---|
| 47 | 3 - Either from CUPS' web interface, add new printers with |
---|
[576] | 48 | 'Tea4CUPS managed' in front of the device's name. |
---|
[567] | 49 | |
---|
| 50 | Or by directly modifying CUPS' printers.conf file, prepend |
---|
[576] | 51 | each DeviceURI value with 'tea4cups://', and restart CUPS. |
---|
[567] | 52 | |
---|
[576] | 53 | 4 - Copy tea4cups.conf into CUPS' configuration directory (where |
---|
[567] | 54 | cupsd.conf resides) : |
---|
| 55 | |
---|
[576] | 56 | $ cp tea4cups.conf /etc/cups/ |
---|
[567] | 57 | |
---|
[576] | 58 | 5 - Modify tea4cups.conf to suit your needs. Several examples |
---|
[567] | 59 | are included. |
---|
| 60 | |
---|
| 61 | 6 - There's no 6 ! |
---|
| 62 | |
---|
| 63 | ============================================================================= |
---|
| 64 | |
---|
| 65 | Troubleshooting : |
---|
| 66 | ----------------- |
---|
| 67 | |
---|
| 68 | 1 - Set "LogLevel debug2" in CUPS' cupsd.conf |
---|
| 69 | |
---|
| 70 | 2 - Restart CUPS. |
---|
| 71 | |
---|
[576] | 72 | 3 - Set "debug: yes" in the [global] section of tea4cups.conf |
---|
[567] | 73 | |
---|
| 74 | 4 - Print something on a print queue managed |
---|
[576] | 75 | by Tea4CUPS. |
---|
[567] | 76 | |
---|
| 77 | 5 - Look at CUPS' error_log file for diagnostic and error messages. |
---|
| 78 | |
---|
| 79 | ============================================================================= |
---|
| 80 | |
---|
| 81 | Please e-mail bugs to : alet@librelogiciel.com (Jerome Alet) |
---|