Changeset 29 for trunk/gui/util/prntobj/prntobj.c
- Timestamp:
- Apr 8, 2013, 9:15:42 PM (13 years ago)
- Author:
- Alex Taylor
- Message:
-
Add more informative output.
- File:
-
- 1 edited
- trunk/gui/util/prntobj/prntobj.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/util/prntobj/prntobj.c
r28 r29 97 97 printf(" <driver.model> The printer driver/model, e.g. \"PSCRIPT.HP Laserjet 4L\"\n"); 98 98 printf(" <title> Descriptive name to use as the object title\n"); 99 printf("\nExample:\n prntobj G (削除) ENERIC (削除ここまで)P SLPR2 \"PSCRIPT.Generic Postscript Printer\" \"My Printer\"\n");99 printf("\nExample:\n prntobj G(追記) eneric (追記ここまで)P SLPR2 \"PSCRIPT.Generic Postscript Printer\" \"My Printer\"\n"); 100 100 return 1; 101 101 } … … 118 118 devinfo.pszDrivers = pszModel; 119 119 devinfo.usTimeOut = 45; 120 (追記) printf("Creating print device %s for port %s\n", szDeviceName, pszPortName ); (追記ここまで) 120 121 rc = SplCreateDevice( NULL, 3, &devinfo, sizeof( devinfo )); 121 122 if ( rc != NO_ERROR ) { … … 125 126 126 127 // Create the queue 128 (追記) if ( strlen( pszQueueName ) > 8 ) pszQueueName[8] = '0円'; (追記ここまで) 127 129 qinfo.pszName = pszQueueName; 128 130 qinfo.uPriority = PRQ_DEF_PRIORITY; … … 132 134 qinfo.pszPrinters = szDeviceName; 133 135 qinfo.pszDriverName = pszModel; 136 (追記) printf("Creating printer queue %s\n", pszQueueName ); (追記ここまで) 134 137 rc = SplCreateQueue( NULL, 3, &qinfo, sizeof( qinfo )); 135 138 if ( rc != NO_ERROR ) {
Note:
See TracChangeset
for help on using the changeset viewer.