Context Navigation


Changeset 29


Ignore:
Timestamp:
Apr 8, 2013, 9:15:42 PM (13 years ago)
Author:
Alex Taylor
Message:

Add more informative output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/util/prntobj/prntobj.c

    r28 r29
    9797 printf(" <driver.model> The printer driver/model, e.g. \"PSCRIPT.HP Laserjet 4L\"\n");
    9898 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");
    100100 return 1;
    101101 }
    118118 devinfo.pszDrivers = pszModel;
    119119 devinfo.usTimeOut = 45;
    120(追記) printf("Creating print device %s for port %s\n", szDeviceName, pszPortName ); (追記ここまで)
    120121 rc = SplCreateDevice( NULL, 3, &devinfo, sizeof( devinfo ));
    121122 if ( rc != NO_ERROR ) {
    125126
    126127 // Create the queue
    128(追記) if ( strlen( pszQueueName ) > 8 ) pszQueueName[8] = '0円'; (追記ここまで)
    127129 qinfo.pszName = pszQueueName;
    128130 qinfo.uPriority = PRQ_DEF_PRIORITY;
    132134 qinfo.pszPrinters = szDeviceName;
    133135 qinfo.pszDriverName = pszModel;
    136(追記) printf("Creating printer queue %s\n", pszQueueName ); (追記ここまで)
    134137 rc = SplCreateQueue( NULL, 3, &qinfo, sizeof( qinfo ));
    135138 if ( rc != NO_ERROR ) {
Note: See TracChangeset for help on using the changeset viewer.

AltStyle によって変換されたページ (->オリジナル) /