diff --git a/README.TXT b/README.TXT index a610732..2dd1efb 100644 --- a/README.TXT +++ b/README.TXT @@ -50,7 +50,7 @@ or newer installed. (This backend is bundled with gutenprint starting with v5.2.10) - Without the restof gutenprint installed, this is useless as a CUPS backend. + Without the rest of gutenprint installed, this is useless as a CUPS backend. *************************************************************************** Standalone usage: diff --git a/selphy_print.c b/selphy_print.c index aa330cb..635cc4a 100644 --- a/selphy_print.c +++ b/selphy_print.c @@ -50,7 +50,7 @@ #define USB_PID_CANON_ES30 0x31B0 #define USB_PID_CANON_ES40 0x31EE #define USB_PID_CANON_CP10 0x304A -#define USB_PID_CANON_CP100 0x3063 // - incoming G +#define USB_PID_CANON_CP100 0x3063 #define USB_PID_CANON_CP200 0x307C #define USB_PID_CANON_CP220 0x30BD #define USB_PID_CANON_CP300 0x307D @@ -438,9 +438,10 @@ top: } fflush(stderr); + /* Error detection */ if (printers[printer_type].error_offset != -1 && rdbuf[printers[printer_type].error_offset]) { - ERROR("error condition; aborting. (Out of ribbon/paper?)\n"); + ERROR("error condition %02x; aborting. (Out of ribbon/paper?)\n", rdbuf[printers[printer_type].error_offset]); ret = 4; goto done_claimed; } diff --git a/selphy_print_linux.c b/selphy_print_linux.c index 5b48d20..fec1c30 100644 --- a/selphy_print_linux.c +++ b/selphy_print_linux.c @@ -172,9 +172,10 @@ top: } fflush(stderr); + /* Error detection */ if (printers[printer_type].error_offset != -1 && rdbuf[printers[printer_type].error_offset]) { - ERROR("error condition; aborting. (Out of ribbon/paper?)\n"); + ERROR("error condition %02x; aborting. (Out of ribbon/paper?)\n", rdbuf[printers[printer_type].error_offset]); return 4; }