Changeset 645 for tea4cups/trunk/README

Show
Ignore:
Timestamp:
06/12/05 23:07:29 (19 years ago)
Author:
jerome
Message:

Deleted trailing spaces as suggested by Peter

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tea4cups/trunk/README

    r644 r645  
    3030printers at the same time, which is not possible with CUPS. 
    3131 
    32 Another possibility would be for example to send the same document to  
     32Another possibility would be for example to send the same document to 
    3333a printer, a PDF generator, a Fax, and as an attachment to an email 
    3434message, all of this by printing it a single time. 
    3535 
    36 Tea4CUPS allows this by permitting you to easily plug your own  
    37 commands into the very last stage of CUPS' filtering chain.  
     36Tea4CUPS allows this by permitting you to easily plug your own 
     37commands into the very last stage of CUPS' filtering chain. 
    3838 
    3939Tea4CUPS provides two ways to launch commands : 
    4040 
    41         - prehooks : these are guaranteed to be launched before the  
     41        - prehooks : these are guaranteed to be launched before the 
    4242                     print job is sent to the real printer. 
    43                      Any prehook which exits -1 can cancel the  
     43                     Any prehook which exits -1 can cancel the 
    4444                     print job. 
    45                       
     45 
    4646        - posthooks : these are guaranteed to be launched after the 
    4747                      print job has been sent to the real printer, 
    4848                      unless the job was previously cancelled by a 
    4949                      prehook. 
    50                   
     50 
    5151To help your own commands, Tea4CUPS makes available as part of the 
    5252environment several variables which can be used from the 
     
    6767        TEABILLING : Job's billing code (lp -o job-billing=SomeCode file.ps) 
    6868        TEACONTROLFILE : Job's IPP message file (usually /var/spool/cups/c?????) 
    69         TEASTATUS : Original CUPS backend's exit code : ONLY AVAILABLE FROM  
     69        TEASTATUS : Original CUPS backend's exit code : ONLY AVAILABLE FROM 
    7070                    posthooks, obviously. 
    71          
    72 In the case you want to use both Tea4CUPS and PyKota, you MUST install  
     71 
     72In the case you want to use both Tea4CUPS and PyKota, you MUST install 
    7373PyKota v1.22alpha2 or higher to avoid a race condition. 
    7474 
     
    8181 
    8282  0 - Download Tea4CUPS from : 
    83    
     83 
    8484        http://www.librelogiciel.com/software/Tea4CUPS/action_Presentation 
    85          
    86       and extract it :   
    87        
     85 
     86      and extract it : 
     87 
    8888        $ tar -zxf tea4cups-x.yy.tar.gz 
    89          
     89 
    9090        where x.yy is Tea4CUPS' version number. 
    91          
    92   1 - Copy the 'tea4cups' command into CUPS' backend directory,  
     91 
     92  1 - Copy the 'tea4cups' command into CUPS' backend directory, 
    9393      for example : 
    94        
     94 
    9595        $ cp tea4cups /usr/lib/cups/backend 
    96          
     96 
    9797  2 - Restart CUPS in order for this new backend to be detected. 
    9898      NB : For this to work you need CUPS 1.1.15 or higher. 
    9999      You can use Tea4CUPS with older versions if you want, but 
    100100      without autodetection. 
    101    
    102   3 - Either from CUPS' web interface, add new printers with  
     101 
     102  3 - Either from CUPS' web interface, add new printers with 
    103103      'Tea4CUPS managed' in front of the device's name. 
    104            
    105       Or by directly modifying CUPS' printers.conf file, prepend     
     104 
     105      Or by directly modifying CUPS' printers.conf file, prepend 
    106106      each DeviceURI value with 'tea4cups://', and restart CUPS. 
    107107      (Use this last method if autodetection doesn't work because 
    108108      the version of CUPS you use is too old) 
    109        
    110   4 - Copy tea4cups.conf into CUPS' configuration directory (where     
     109 
     110  4 - Copy tea4cups.conf into CUPS' configuration directory (where 
    111111      cupsd.conf resides) : 
    112        
     112 
    113113        $ cp tea4cups.conf /etc/cups/ 
    114          
    115   5 - Modify tea4cups.conf to suit your needs. Several examples       
     114 
     115  5 - Modify tea4cups.conf to suit your needs. Several examples 
    116116      are included. 
    117        
    118   6 - There's no 6 !     
    119    
     117 
     118  6 - There's no 6 ! 
     119 
    120120============================================================================= 
    121121 
    122 Troubleshooting :  
     122Troubleshooting : 
    123123----------------- 
    124124 
    125125  1 - Set "LogLevel debug2" in CUPS' cupsd.conf 
    126    
     126 
    127127  2 - Restart CUPS. 
    128    
     128 
    129129  3 - Set "debug: yes" in the [global] section of tea4cups.conf 
    130    
     130 
    131131  4 - Print something on a print queue managed 
    132132      by Tea4CUPS. 
    133        
     133 
    134134  5 - Look at CUPS' error_log file for diagnostic and error messages. 
    135    
     135 
    136136============================================================================= 
    137137 
    138 CUPS (Common UNIX(r) Printing System) is trademark property of Easy Software  
     138CUPS (Common UNIX(r) Printing System) is trademark property of Easy Software 
    139139Products. 
    140140 
     
    144144 
    145145============================================================================= 
    146      
     146 
    147147Please e-mail bugs to : alet@librelogiciel.com (Jerome Alet)