Changeset 597 for tea4cups/trunk/tea4cups.conf
- Timestamp:
- 03/16/05 21:16:13 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
tea4cups/trunk/tea4cups.conf
r586 r597 49 49 # The value defined in a print queue section takes precedence over the 50 50 # value defined in the [global] section. 51 # This value also applies to prehooks and posthooks (see below) 51 52 # serialize : yes 52 53 53 # When executing the contents of a tee directive, tea4cups makes 54 # the following environment variables available to your own commands : 54 # When executing the contents of a tee, prehook or posthook directive, 55 # tea4cups makes the following environment variables available to your 56 # own commands : 55 57 # 56 58 # TEAPRINTERNAME : The print queue name. … … 72 74 73 75 # Now defines some default tees which will always be launched 76 # at the same time that the job's datas are being sent to the 77 # printer. 74 78 # The tee names are completely free BUT THEY MUST BEGIN WITH 'tee_' 75 79 # … … 77 81 #tee_0 : cat $TEADATAFILE >/tmp/$TEAJOBID.prn 78 82 #tee_pdf : cat $TEADATAFILE | su -c "lp -dPDFGenerator" $TEAUSERNAME 83 84 # Some hooks : prehooks and posthooks 85 # 86 # Contrary to tees, prehooks are guaranteed to be launched 87 # BEFORE the job's datas are sent to the printer, and 88 # posthooks are guaranteed to be launched AFTER the job's 89 # datas have been sent to the printer. 90 # 91 # prehook names are completely free BUT THEY MUST BEGIN WITH 'prehook_' 92 # posthook names are completely free BUT THEY MUST BEGIN WITH 'posthook_' 93 # 94 # An additionnal environment variable is made available to posthooks, 95 # named TEASTATUS which contains the exitcode of the real CUPS backend. 96 # The normal value is 0, meaning that the real CUPS backend exited 97 # successfully. Any other value indicates that a problem occured 98 # in the CUPS backend which handles the transmission of the job 99 # to the printer. 100 # 101 # prehook_0 : echo "Your print job has been accepted" | smbclient -M $TEAUSERNAME 102 # posthook_0 : echo "Your print job has been printed" | smbclient -M $TEAUSERNAME 103 79 104 80 105 # Sample section for print queue HP2100