Changeset 586 for tea4cups/trunk
- Timestamp:
- 03/14/05 14:16:26 (19 years ago)
- Location:
- tea4cups/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
tea4cups/trunk/README
r576 r586 33 33 message, all of this by printing it a single time. 34 34 35 To help your own commands, Tea4CUPS makes available as part of the 36 environment several variables which can be used as part of the 37 commands you use : 38 39 TEAPRINTERNAME : The print queue name. 40 TEADIRECTORY : Tea4CUPS output directory. 41 TEADATAFILE : Full name of Tea4CUPS work file (in $TEADIRECTORY). 42 TEAJOBSIZE : Job's size in bytes. 43 TEAMD5SUM : MD5 sum of the job's datas. 44 TEACLIENTHOST : Client's hostname or IP address. 45 TEAJOBID : Job's Id. 46 TEAUSERNAME : Name of the user who launched the print job. 47 TEATITLE : Job's title. 48 TEACOPIES : Number of copies requested. 49 TEAOPTIONS : Options of the print job. 50 TEAINPUTFILE : Print job's data file or empty when job read from stdin. 51 35 52 ============================================================================= 36 53 -
tea4cups/trunk/tea4cups.conf
r581 r586 76 76 # These are just some stupid examples. 77 77 #tee_0 : cat $TEADATAFILE >/tmp/$TEAJOBID.prn 78 #tee_pdf : cat $TEADATAFILE | su -c "lp -dPDFGen " $TEAUSERNAME78 #tee_pdf : cat $TEADATAFILE | su -c "lp -dPDFGenerator" $TEAUSERNAME 79 79 80 80 # Sample section for print queue HP2100