Changeset 21 for pkipplib/trunk/tests
- Timestamp:
- 06/02/06 21:10:02 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkipplib/trunk/tests/test.py
r13 r21 26 26 import pkipplib 27 27 28 cups = pkipplib.CUPS() 29 answer = cups.getPPD("HL6050DN") 30 #answer = cups.getJobAttributes(566) 28 # cups = pkipplib.CUPS() 29 cups = pkipplib.CUPS(url="http://localhost:631", \ 30 username="jerome", \ 31 password="9!kijd.7") 32 # answer = cups.getPPD("HP2100") 33 answer = cups.getJobAttributes(150) 34 31 35 print answer 36 32 37 #print answer.operation["attributes-charset"] 33 38