Show
Ignore:
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkipplib/trunk/README

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