Changeset 3070 for pykota/trunk/bin/cupspykota
- Timestamp:
- 11/24/06 21:41:45 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r3059 r3070 288 288 raise PyKotaToolError, "Invalid DEVICE_URI : %s\n" % device_uri 289 289 else : 290 while destination.startswith("/") : 291 destination = destination[1:] 292 checkauth = destination.split("@", 1) 293 if len(checkauth) == 2 : 294 destination = checkauth[1] 290 if backend == "hp" : 291 printerhostname = destination.split("=")[1] # hp:/net/HP_LaserJet_8000_Series?ip=192.168.100.100 292 else : 293 while destination.startswith("/") : 294 destination = destination[1:] 295 checkauth = destination.split("@", 1) 296 if len(checkauth) == 2 : 297 destination = checkauth[1] 295 298 printerhostname = destination.split("/")[0].split(":")[0] 296 299