Changeset 586 for tea4cups

Show
Ignore:
Timestamp:
03/14/05 14:16:26 (20 years ago)
Author:
jerome
Message:

Added some doc on the available environment variables in the README

Location:
tea4cups/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • tea4cups/trunk/README

    r576 r586  
    3333message, all of this by printing it a single time. 
    3434 
     35To help your own commands, Tea4CUPS makes available as part of the 
     36environment several variables which can be used as part of the 
     37commands 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         
    3552============================================================================= 
    3653 
  • tea4cups/trunk/tea4cups.conf

    r581 r586  
    7676# These are just some stupid examples. 
    7777#tee_0 : cat $TEADATAFILE >/tmp/$TEAJOBID.prn 
    78 #tee_pdf : cat $TEADATAFILE | su -c "lp -dPDFGen" $TEAUSERNAME 
     78#tee_pdf : cat $TEADATAFILE | su -c "lp -dPDFGenerator" $TEAUSERNAME 
    7979 
    8080# Sample section for print queue HP2100