Show
Ignore:
Timestamp:
05/23/06 23:28:39 (18 years ago)
Author:
jerome
Message:

Introduced the 'askconfirmation' directive in pykota.conf

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/conf/pykota.conf.sample

    r2884 r2895  
    459459#    CANCEL 
    460460# 
    461 # NB : the output is entirely read, and the latest value 
    462 # seen is used, so you command can output several usernames 
     461# NB : the output of your command is entirely read, and the latest  
     462# value seen is used, so you command can output several usernames 
    463463# or billing codes and only the latest ones will be used. 
    464464# If only USERNAME= lines are printed, the billing code, 
     
    475475# overwrite_jobticket : /usr/bin/pknotify --destination $PYKOTAJOBORIGINATINGHOSTNAME:7654 --timeout 180 --denyafter 3 --checkauth --ask "Username:username:$PYKOTAUSERNAME" "Password:password:" 
    476476# overwrite_jobticket : /path/to/some/script/or/command 
     477 
     478 
     479 
     480# Should we ask the end user for a confirmation about their print job ? 
     481# 
     482# Any script can be launched here. If your script prints CANCEL on 
     483# its standard output, the job is cancelled, else processing of the 
     484# job continues to next step. 
     485# 
     486# NB : the output of your command is read until CANCEL is found 
     487# or all lines have been read. 
     488# 
     489# This value can be set either globally or on a per printer basis 
     490# If both are defined, the printer option has priority. 
     491# 
     492# examples : 
     493# 
     494# askconfirmation : /usr/bin/pknotify --destination $PYKOTAJOBORIGINATINGHOSTNAME:7654 --timeout 120 --confirm "Hello $PYKOTAUSERNAME.\nPrint job $PYKOTAJOBID send to printer $PYKOTAPRINTERNAME is $PYKOTAPRECOMPUTEDJOBSIZE pages long\nand will cost you $PYKOTAPRECOMPUTEDJOBPRICE credits.\n\nYou currently have $PYKOTABALANCE credits.\n\nDo you really want to print ?" 
    477495 
    478496