Changes in pkipplib/trunk/README [25:19]
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkipplib/trunk/README
r25 r19 109 109 from pkipplib import pkipplib 110 110 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 113 112 cups = pkipplib.CUPS() 114 113 … … 130 129 131 130 # Sends this request to the CUPS server 132 answer = cups.doRequest(request)131 answer = request.doRequest() 133 132 134 133 # Print the answer as a string of text