Changeset 576 for tea4cups

Show
Ignore:
Timestamp:
03/12/05 22:29:42 (20 years ago)
Author:
jerome
Message:

Finalized transition to the new name for the project

Location:
tea4cups/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • tea4cups/trunk/README

    r572 r576  
    11# $Id$ 
    22 
    3 CupsOfTee : Tee for CUPS 
     3Tea4CUPS : Tee for CUPS 
    44 
    55This program is free software; you can redistribute it and/or modify 
     
    1919============================================================================= 
    2020 
    21 CupsOfTee is the equivalent of the *nix command 'tee', but as a CUPS 
     21Tea4CUPS is the equivalent of the *nix command 'tee', but as a CUPS 
    2222backend. 
    2323 
    24 CupsOfTee behaves just like any other CUPS backend, but allows you to 
     24Tea4CUPS behaves just like any other CUPS backend, but allows you to 
    2525transparently send print jobs' datas to any number of outputs : other 
    2626CUPS backends, files or pipes. 
     
    3838-------------- 
    3939 
    40   1 - Copy the 'cupsoftee' command into CUPS' backend directory,  
     40  1 - Copy the 'tea4cups' command into CUPS' backend directory,  
    4141      for example : 
    4242       
    43         $ cp cupsoftee /usr/lib/cups/backend 
     43        $ cp tea4cups /usr/lib/cups/backend 
    4444         
    4545  2 - Restart CUPS in order for this new backend to be detected.         
    4646   
    4747  3 - Either from CUPS' web interface, add new printers with  
    48       'CupsOfTee managed' in front of the device's name. 
     48      'Tea4CUPS managed' in front of the device's name. 
    4949           
    5050      Or by directly modifying CUPS' printers.conf file, prepend     
    51       each DeviceURI value with 'cupsoftee://', and restart CUPS. 
     51      each DeviceURI value with 'tea4cups://', and restart CUPS. 
    5252       
    53   4 - Copy cupsoftee.conf into CUPS' configuration directory (where     
     53  4 - Copy tea4cups.conf into CUPS' configuration directory (where     
    5454      cupsd.conf resides) : 
    5555       
    56         $ cp cupsoftee.conf /etc/cups/ 
     56        $ cp tea4cups.conf /etc/cups/ 
    5757         
    58   5 - Modify cupsoftee.conf to suit your needs. Several examples       
     58  5 - Modify tea4cups.conf to suit your needs. Several examples       
    5959      are included. 
    6060       
     
    7070  2 - Restart CUPS. 
    7171   
    72   3 - Set "debug: yes" in the [global] section of cupsoftee.conf 
     72  3 - Set "debug: yes" in the [global] section of tea4cups.conf 
    7373   
    7474  4 - Print something on a print queue managed 
    75       by CupsOfTee. 
     75      by Tea4CUPS. 
    7676       
    7777  5 - Look at CUPS' error_log file for diagnostic and error messages. 
  • tea4cups/trunk/tea4cups

    r575 r576  
    22# -*- coding: ISO-8859-15 -*- 
    33 
    4 # CupsOfTee : Tee for CUPS 
     4# Tea4CUPS : Tee for CUPS 
    55# 
    66# (c) 2005 Jerome Alet <alet@librelogiciel.com> 
     
    3232 
    3333class TeeError(Exception): 
    34     """Base exception for CupsOfTee related stuff.""" 
     34    """Base exception for Tea4CUPS related stuff.""" 
    3535    def __init__(self, message = ""): 
    3636        self.message = message 
     
    5555        """Initializes the CUPS backend wrapper.""" 
    5656        confdir = os.environ.get("CUPS_SERVERROOT", ".")  
    57         self.conffile = os.path.join(confdir, "cupsoftee.conf") 
     57        self.conffile = os.path.join(confdir, "tea4cups.conf") 
    5858        if os.path.isfile(self.conffile) : 
    5959            self.config = ConfigParser.ConfigParser() 
     
    194194                            if fullname.startswith('"') and fullname.endswith('"') : 
    195195                                fullname = fullname[1:-1] 
    196                             available.append('%s cupsoftee:%s "CupsOfTee+%s" "CupsOfTee managed %s"' \ 
     196                            available.append('%s tea4cups:%s "Tea4CUPS+%s" "Tea4CUPS managed %s"' \ 
    197197                                                 % (devicetype, device, name, fullname)) 
    198198            os.remove(lockfilename) 
     
    209209                 
    210210            # check that the DEVICE_URI environment variable's value is  
    211             # prefixed with "cupsoftee:" otherwise don't touch it. 
     211            # prefixed with "tea4cups:" otherwise don't touch it. 
    212212            # If this is the case, we have to remove the prefix from  
    213213            # the environment before launching the real backend in cupspykota 
  • tea4cups/trunk/tea4cups.conf

    r575 r576  
    11# $Id$ 
    22# 
    3 # CupsOfTee : Tee for CUPS 
     3# Tea4CUPS : Tee for CUPS 
    44# 
    55# This program is free software; you can redistribute it and/or modify