Changeset 1156

Show
Ignore:
Timestamp:
10/09/03 23:25:26 (21 years ago)
Author:
jalet
Message:

Multiple printer names or wildcards can be passed on the command line
separated with commas.
Beta phase.

Location:
pykota/trunk
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/edpykota

    r1144 r1156  
    2424# 
    2525# $Log$ 
     26# Revision 1.60  2003/10/09 21:25:24  jalet 
     27# Multiple printer names or wildcards can be passed on the command line 
     28# separated with commas. 
     29# Beta phase. 
     30# 
    2631# Revision 1.59  2003/10/07 09:07:27  jalet 
    2732# Character encoding added to please latest version of Python 
     
    255260                       use wildcards characters to select only 
    256261                       some printers. The default value is *, meaning 
    257                        all printers. 
     262                       all printers.  
     263                       You can specify several names or wildcards,  
     264                       by separating them with commas. 
    258265   
    259266  -g | --groups        Edit groups print quotas instead of users. 
  • pykota/trunk/bin/pykotme

    r1144 r1156  
    2424# 
    2525# $Log$ 
     26# Revision 1.5  2003/10/09 21:25:25  jalet 
     27# Multiple printer names or wildcards can be passed on the command line 
     28# separated with commas. 
     29# Beta phase. 
     30# 
    2631# Revision 1.4  2003/10/07 09:07:27  jalet 
    2732# Character encoding added to please latest version of Python 
     
    6772                       some printers. The default value is *, meaning 
    6873                       all printers. 
     74                       You can specify several names or wildcards,  
     75                       by separating them with commas. 
    6976   
    7077examples :                               
     
    7582  the price and size of a job consisting in file1.ps and file2.ps  
    7683  which would be sent to the apple printer. 
     84   
     85  $ pykotme --printer apple,hplaser <file1.ps 
     86   
     87  This will give a print quote to the current user. The quote will show 
     88  the price and size of a job consisting in file1.ps as read from 
     89  standard input, which would be sent to the apple or hplaser 
     90  printer. 
    7791 
    7892  $ pykotme  
  • pykota/trunk/bin/repykota

    r1144 r1156  
    2424# 
    2525# $Log$ 
     26# Revision 1.45  2003/10/09 21:25:25  jalet 
     27# Multiple printer names or wildcards can be passed on the command line 
     28# separated with commas. 
     29# Beta phase. 
     30# 
    2631# Revision 1.44  2003/10/07 09:07:27  jalet 
    2732# Character encoding added to please latest version of Python 
     
    201206                       some printers. The default value is *, meaning 
    202207                       all printers. 
     208                       You can specify several names or wildcards,  
     209                       by separating them with commas. 
    203210   
    204211examples :                               
     
    212219  This will print the quota status for all users on all printers. 
    213220   
    214   $ repykota --printer "laser*" jerome "jo*" 
     221  $ repykota --printer "laser*,*pson" jerome "jo*" 
    215222   
    216223  This will print the quota status for user jerome and all users 
    217   whose name begins with "jo" on all printers which name begin 
    218   with "laser" 
     224  whose name begins with "jo" on all printers which name begins 
     225  with "laser" or ends with "pson". 
    219226   
    220227  If launched by a non-root user, additionnal arguments representing 
  • pykota/trunk/bin/warnpykota

    r1144 r1156  
    2424# 
    2525# $Log$ 
     26# Revision 1.25  2003/10/09 21:25:26  jalet 
     27# Multiple printer names or wildcards can be passed on the command line 
     28# separated with commas. 
     29# Beta phase. 
     30# 
    2631# Revision 1.24  2003/10/07 09:07:28  jalet 
    2732# Character encoding added to please latest version of Python 
     
    131136                       some printers. The default value is *, meaning 
    132137                       all printers. 
     138                       You can specify several names or wildcards,  
     139                       by separating them with commas. 
    133140   
    134141examples :                               
  • pykota/trunk/NEWS

    r1152 r1156  
    2222PyKota NEWS : 
    2323 
     24    - 1.15beta : 
     25     
     26        - Command line tools now accept multiple printer 
     27          names or wildcards, separated with commas. 
     28           
    2429    - 1.15alpha9 : 
    2530     
  • pykota/trunk/pykota/storages/pgstorage.py

    r1149 r1156  
    2222# 
    2323# $Log$ 
     24# Revision 1.20  2003/10/09 21:25:26  jalet 
     25# Multiple printer names or wildcards can be passed on the command line 
     26# separated with commas. 
     27# Beta phase. 
     28# 
    2429# Revision 1.19  2003/10/08 07:01:20  jalet 
    2530# Job history can be disabled. 
     
    303308        if result : 
    304309            for record in result : 
    305                 if self.tool.matchString(record["printername"], [ printerpattern ]) : 
     310                if self.tool.matchString(record["printername"], printerpattern.split(",")) : 
    306311                    printer = StoragePrinter(self, record["printername"]) 
    307312                    printer.ident = record.get("id") 
  • pykota/trunk/pykota/version.py

    r1152 r1156  
    2222# 
    2323 
    24 __version__ = "1.15alpha9_unofficial" 
     24__version__ = "1.15beta_unofficial" 
    2525 
    2626__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""