Changeset 648 for tea4cups/trunk/tea4cups.conf
- Timestamp:
- 06/18/05 00:03:56 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
tea4cups/trunk/tea4cups.conf
r645 r648 83 83 # since the first one may be empty depending on your printer driver. 84 84 85 # Some hooks :prehooks and posthooks85 # Some prehooks and posthooks 86 86 # 87 87 # Prehooks are guaranteed to be launched … … 95 95 # An additionnal environment variable is made available to posthooks, 96 96 # named TEASTATUS which contains the exitcode of the real CUPS backend. 97 # The normal value is 0, meaning that the real CUPS backend exited97 # If defined, the normal value is 0, meaning that the real CUPS backend exited 98 98 # successfully. Any other value indicates that a problem occured 99 99 # in the CUPS backend which handles the transmission of the job … … 134 134 # The prehook will use the history file to filter out duplicate jobs 135 135 # checkdupes is an hypothetical command which exits -1 if the current print 136 # job is a duplicate (same MD5 sum already found in history) 136 # job is a duplicate (same MD5 sum already found in history). 137 # 138 # NB : Beware of some software which embed the job printing time into the 139 # PostScript job : two identical jobs may have different MD5 checksums 140 # if they differ only by the value of the '%%CreationDate:' PostScript 141 # comment ! 137 142 #prehook_to_filter_duplicates : /usr/local/bin/checkdupes $TEAMD5SUM /tmp/jobmd5sums 138 143 #posthook_to_filter_duplicates : echo "$TEAJOBID : $TEAMD5SUM" >>/tmp/jobmd5sums 144 145 # A particular prehook can send datas to the posthook 146 # of the same name automatically through pipes : 147 # The file /tmp/result1 will contain the output of prehook_dialog1 148 # prehook_dialog1 : echo "This is pipe #1" 149 # posthook_dialog1 : cat >/tmp/result1 150 # The file /tmp/result2 will contain the output of prehook_dialog2 151 # prehook_dialog2 : echo "This is pipe #2" 152 # posthook_dialog2 : cat >/tmp/result2