Show
Ignore:
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkipplib/trunk/README

    r25 r19  
    109109from pkipplib import pkipplib 
    110110 
    111 # Create a CUPS client instance 
    112 # cups = pkipplib.CUPS(url="http://server:631", username="john", password="blah!") 
     111# By default, connects to http://localhost:631 
    113112cups = pkipplib.CUPS() 
    114113 
     
    130129     
    131130# Sends this request to the CUPS server     
    132 answer = cups.doRequest(request) 
     131answer = request.doRequest()     
    133132 
    134133# Print the answer as a string of text