- Timestamp:
- Apr 26, 2011, 8:03:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/winspool/winspool.cpp
r21627 r21629 3252 3252 DRIVER_INFO_3A di3 = {0}; 3253 3253 di3.cVersion = 0x400; 3254 3254 #ifdef USE_OS2_DRIVERNAME 3255 3255 char *pszDot = strchr(paQueues[i].pszDriverName, '.'); 3256 3256 if (pszDot && pszDot != paQueues[i].pszDriverName) /* we're very careful :-) */ … … 3265 3265 di3.pDriverPath = "WINSPOOL"; /* This is important! */ 3266 3266 } 3267 3267 #else 3268 3268 di3.pName = paQueues[i].pszName; /* printer driver == queue name */ 3269 3269 di3.pDriverPath = "WINSPOOL"; /* This is important! */ 3270 3270 #endif 3271 3271 di3.pEnvironment = NULL; /* NULL means auto */ 3272 3272 di3.pDataFile = "<datafile?>"; … … 3285 3285 papi2[i].pDatatype = "RAW"; 3286 3286 papi2[i].pPrintProcessor = "WinPrint"; 3287 3287 #ifdef USE_OS2_DRIVERNAME 3288 3288 papi2[i].pComment = paQueues[i].pszName; /* Queue name. Don't allow any changes of the comment! */ 3289 3289 #else 3290 3290 papi2[i].pComment = paQueues[i].pszComment; /* WPS printer name */ 3291 3291 #endif 3292 3292 papi2[i].pDriverName = di3.pName; 3293 3293 papi2[i].pParameters = "<parameters?>"; 3294 3294 papi2[i].pShareName = "<share name?>"; 3295 3295 papi2[i].pSepFile = "<sep file?>"; 3296 3296 #if 0 /* only 'local', remember */ 3297 3297 if (paPrinters[i].pszComputerName) /* this is currnetly not used as we only enum locals. */ 3298 3298 { … … 3300 3300 papi2[i].pServerName = paPrinters[i].pszComputerName; /** @todo: format!! */ 3301 3301 } 3302 3302 #endif 3303 3303 3304 3304 /*
Note:
See TracChangeset
for help on using the changeset viewer.