root / tea4cups / trunk / tea4cups.conf @ 577

Revision 577, 2.3 kB (checked in by jerome, 20 years ago)

Completed the backend initialization code.
Added the list of additionnal environment variables to the sample
configuration file.

  • Property svn:keywords set to Auth Date Id Rev
Line 
1# $Id$
2#
3# Tea4CUPS : Tee for CUPS
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
21# First we set all top-level directives in the [global] section
22[global]
23
24# Should we log debugging information to CUPS' error_log file ?
25# defaults to No if unset.
26debug : yes
27
28# The directory in which we will create our files : it must already exist !
29# This directive MUST be present since there's no sane default value.
30directory : /var/spool/cups/
31
32# Should Tea4CUPS keep the files it creates once all tees have ended ?
33# Defaults to No if unset.
34# BEWARE : this may use huge amounts of disk space !
35keepfiles : yes
36
37#
38# When executing the contents of a tee directive, tea4cups makes
39# the following environment variables available to your own commands :
40#
41# TEAPRINTERNAME : The print queue name
42# TEADIRECTORY : Tea4CUPS output directory
43# TEADATAFILE : Full name of Tea4CUPS work file (in $TEADIRECTORY)
44# TEAJOBSIZE : Job's size in bytes
45# TEAMD5SUM : MD5 sum of the job's datas
46# TEAJOBID : Job's Id
47# TEAUSERNAME : Name of the user who launched the print job
48# TEATITLE : Job's title
49# TEACOPIES : Number of copies requested
50# TEAOPTIONS : Options of the print job
51# TEAINPUTFILE : Print job's data file or empty when job read from stdin
52#
53# Your own commands will mostly be interested in TEADATAFILE which is
54# the name of the file from which your commands may extract the final
55# job's datas.
56       
57# Now defines some default tees which will always be launched
58#tee_0 : blah
59#tee_1 : blah
60#tee_2 : blah
61
62# Sample section for print queue HP2100
63# Uncomment and adapt to your needs.
64#
65[HP2100]
66#tee_2 : zut    # overwrites the [global] value of tee_2
67#tee_4 : gniak
68#
69#
Note: See TracBrowser for help on using the browser.