Changeset 1116

Show
Ignore:
Timestamp:
08/18/03 18:20:59 (21 years ago)
Author:
jalet
Message:

Improvement of the printing system detection code.

Location:
pykota/trunk
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pykota

    r1113 r1116  
    2323# 
    2424# $Log$ 
     25# Revision 1.38  2003/08/18 16:20:59  jalet 
     26# Improvement of the printing system detection code. 
     27# 
    2528# Revision 1.37  2003/07/29 20:55:17  jalet 
    2629# 1.14 is out ! 
     
    210213            if Kseen is None :         
    211214                Kseen = 1       # we assume the user wants at least one copy... 
     215            if (rseen is None) and jseen and Pseen and nseen :     
     216                self.logger.log_message(_("Printer hostname undefined, set to 'localhost'"), "warn") 
     217                rseen = "localhost" 
    212218            if jseen and Pseen and nseen and rseen :         
    213219                # job is always in stdin (None) 
    214220                return ("LPRNG", rseen, Pseen, nseen, jseen, None, Kseen) 
     221        self.logger.log_message(_("Printing system unknown, args=%s") % " ".join(sys.argv), "warn") 
    215222        return (None, None, None, None, None, None, None)   # Unknown printing system           
    216223         
  • pykota/trunk/NEWS

    r1115 r1116  
    2222PyKota NEWS : 
    2323 
     24    - 1.15alpha2 : 
     25     
     26        - Better detection of LPRng. 
     27         
     28        - Outputs a warning if printing system is unknown. 
     29         
    2430    - 1.15alpha1 : 
    2531     
  • pykota/trunk/po/en/pykota.po

    r1099 r1116  
    2121# 
    2222# $Log$ 
     23# Revision 1.34  2003/08/18 16:20:59  jalet 
     24# Improvement of the printing system detection code. 
     25# 
    2326# Revision 1.33  2003/07/25 10:41:30  jalet 
    2427# Better documentation. 
     
    417420msgid "Your account balance : %.2f" 
    418421msgstr "" 
     422 
     423msgid "Printer hostname undefined, set to 'localhost'" 
     424msgstr "" 
     425 
     426msgid "Printing system unknown, args=%s" 
     427msgstr "" 
     428 
  • pykota/trunk/po/fr/pykota.po

    r1099 r1116  
    2121# 
    2222# $Log$ 
     23# Revision 1.33  2003/08/18 16:20:59  jalet 
     24# Improvement of the printing system detection code. 
     25# 
    2326# Revision 1.32  2003/07/25 10:41:30  jalet 
    2427# Better documentation. 
     
    428431msgstr "Votre solde : %.2f" 
    429432 
     433msgid "Printer hostname undefined, set to 'localhost'" 
     434msgstr "Nom d'h�de l'imprimante ind�ni, positionn� 'localhost'" 
     435 
     436msgid "Printing system unknown, args=%s" 
     437msgstr "Syst� d'impression inconnu, args=%s" 
     438 
  • pykota/trunk/po/pykota.pot

    r1099 r1116  
    2121# 
    2222# $Log$ 
     23# Revision 1.34  2003/08/18 16:20:59  jalet 
     24# Improvement of the printing system detection code. 
     25# 
    2326# Revision 1.33  2003/07/25 10:41:30  jalet 
    2427# Better documentation. 
     
    417420msgid "Your account balance : %.2f" 
    418421msgstr "" 
     422 
     423msgid "Printer hostname undefined, set to 'localhost'" 
     424msgstr "" 
     425 
     426msgid "Printing system unknown, args=%s" 
     427msgstr "" 
     428 
  • pykota/trunk/pykota/version.py

    r1115 r1116  
    2121# 
    2222 
    23 __version__ = "1.15alpha1_unofficial" 
     23__version__ = "1.15alpha2_unofficial" 
    2424 
    2525__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""