Merge a pile spelling fixes from Ville Skyttä <scop@sf>

This commit is contained in:
Solomon Peachy 2017-05-05 08:06:28 -04:00
parent 82a5b09c69
commit 11829f2f45
17 changed files with 31 additions and 31 deletions

View File

@ -535,7 +535,7 @@ done:
return printer_type;
}
/* Private data stucture */
/* Private data structure */
struct canonselphy_ctx {
struct libusb_device_handle *dev;
uint8_t endp_up;
@ -1166,7 +1166,7 @@ struct dyesub_backend canonselphy_backend = {
08 00 03 00 [pg] 00 [pg2] [xx] 00 00 00 00 [? transitions to this]
09 00 07 00 [pg] 00 [pg2] [xx] 00 00 00 00 [ready for C]
09 00 00 00 [pg] 00 [pg2] 00 00 00 00 00 [? transitions to this]
0b 00 00 00 [pg] 00 [pg2] 00 00 00 00 00 [? transisions to this]
0b 00 00 00 [pg] 00 [pg2] 00 00 00 00 00 [? transitions to this]
0c 00 00 00 [pg] 00 [pg2] 00 00 00 00 00 [? transitions to this]
0f 00 00 00 [pg] 00 [pg2] 00 00 00 00 00 [? transitions to this]
13 00 00 00 [pg] 00 [pg2] 00 00 00 00 00 [? transitions to this]

View File

@ -58,7 +58,7 @@ struct selphyneo_readback {
uint8_t data[12];
} __attribute((packed));
/* Private data stucture */
/* Private data structure */
struct selphyneo_ctx {
struct libusb_device_handle *dev;
uint8_t endp_up;

View File

@ -43,7 +43,7 @@
#define USB_PID_CITIZEN_CW01 0x0002 // Maybe others?
//#define USB_PID_OLMEC_OP900 XXXX
/* Private data stucture */
/* Private data structure */
struct cw01_spool_hdr {
uint8_t type; /* 0x00 -> 0x06 */
uint8_t res; /* vertical resolution; 0x00 == 334dpi, 0x01 == 600dpi */
@ -183,7 +183,7 @@ static char *cw01_statuses(char *str)
break;
}
return "Unkown Error";
return "Unknown Error";
}
static int cw01_do_cmd(struct cw01_ctx *ctx,

View File

@ -503,7 +503,7 @@ static int print_scan_output(struct libusb_device *device,
if (serial) free(serial);
WARNING("**** THIS PRINTER DOES NOT REPORT A SERIAL NUMBER!\n");
WARNING("**** If you intend to use multiple printers of this type, you\n");
WARNING("**** must only plug one in at a time or unexpected behaivor will occur!\n");
WARNING("**** must only plug one in at a time or unexpected behavior will occur!\n");
serial = strdup("NONE_UNKNOWN");
}

View File

@ -181,7 +181,7 @@ extern struct dyesub_backend BACKEND;
#endif
/* CUPS compatibility */
#define CUPS_BACKEND_OK 0 /* Sucess */
#define CUPS_BACKEND_OK 0 /* Success */
#define CUPS_BACKEND_FAILED 1 /* Failed to print use CUPS policy */
#define CUPS_BACKEND_AUTH_REQUIRED 2 /* Auth required */
#define CUPS_BACKEND_HOLD 3 /* Hold this job only */

View File

@ -64,7 +64,7 @@
#define USB_PID_DNP_DS620 0x8b01
#define USB_PID_DNP_DS820 0x9001
/* Private data stucture */
/* Private data structure */
struct dnpds40_ctx {
struct libusb_device_handle *dev;
uint8_t endp_up;
@ -369,7 +369,7 @@ static char *dnpds80_duplex_statuses(int status)
break;
}
return "Unkown Duplexer Error";
return "Unknown Duplexer Error";
}
static char *dnpds40_statuses(int status)

View File

@ -74,7 +74,7 @@ struct kodak1400_hdr {
} __attribute__((packed));
/* Private data stucture */
/* Private data structure */
struct kodak1400_ctx {
struct libusb_device_handle *dev;
uint8_t endp_up;
@ -648,7 +648,7 @@ struct dyesub_backend kodak1400_backend = {
00 00 00 00 NULL
XX 00 Glossy, 01 Matte (Note: Kodak805 only supports Glossy)
XX 01 to laminate, 00 to not.
01 Unkown, always set to 01
01 Unknown, always set to 01
XX Lamination Strength:
3c Glossy

View File

@ -91,7 +91,7 @@ struct kodak605_media_list {
struct kodak605_status {
struct kodak605_sts_hdr hdr;
/*@10*/ uint32_t ctr_life; /* Lifetime Prints */
uint32_t ctr_maint; /* Prints since last maintainence */
uint32_t ctr_maint; /* Prints since last maintenance */
uint32_t ctr_media; /* Prints on current media */
uint32_t ctr_cut; /* Cutter Actuations */
uint32_t ctr_head; /* Prints on current head */
@ -164,7 +164,7 @@ static const char *kodak68xx_mediatypes(int type)
#define CMDBUF_LEN 4
/* Private data stucture */
/* Private data structure */
struct kodak605_ctx {
struct libusb_device_handle *dev;
uint8_t endp_up;

View File

@ -221,7 +221,7 @@ struct kodak68x0_media_readback {
#define CMDBUF_LEN 17
/* Private data stucture */
/* Private data structure */
struct kodak6800_ctx {
struct libusb_device_handle *dev;
uint8_t endp_up;

View File

@ -124,7 +124,7 @@ typedef int (*send_image_dataFN)(struct BandImage *out, void *context,
/* Max size of data chunk sent over */
#define CHUNK_LEN (256*1024)
/* Private data stucture */
/* Private data structure */
struct mitsu70x_ctx {
struct libusb_device_handle *dev;
uint8_t endp_up;

View File

@ -104,7 +104,7 @@ struct mitsu9550_cmd {
uint8_t cmd[4];
} __attribute__((packed));
/* Private data stucture */
/* Private data structure */
struct mitsu9550_ctx {
struct libusb_device_handle *dev;
uint8_t endp_up;

View File

@ -47,7 +47,7 @@
#define USB_PID_MITSU_P93D 0x0398
#define USB_PID_MITSU_P95D 0x3b10
/* Private data stucture */
/* Private data structure */
struct mitsup95d_ctx {
struct libusb_device_handle *dev;
uint8_t endp_up;

View File

@ -400,7 +400,7 @@ struct shinkos1245_resp_matte {
#define MATTE_MODE_MATTE 0x00
/* Private data stucture */
/* Private data structure */
struct shinkos1245_ctx {
struct libusb_device_handle *dev;
uint8_t endp_up;
@ -1537,7 +1537,7 @@ top:
cmd.mode = (ctx->hdr.mode & 0x3f) || ((ctx->hdr.dust & 0x3) << 6);
cmd.combo = ctx->hdr.method;
/* Issue print commmand */
/* Issue print command */
i = shinkos1245_do_cmd(ctx, &cmd, sizeof(cmd),
&status1, sizeof(status1),
&num);

View File

@ -90,7 +90,7 @@ struct s2145_printjob_hdr {
uint32_t unk21;
} __attribute__((packed));
/* Private data stucture */
/* Private data structure */
struct shinkos2145_ctx {
struct libusb_device_handle *dev;
uint8_t endp_up;
@ -591,7 +591,7 @@ static char *error_str(uint8_t v) {
case ERROR_COMMS_TIMEOUT:
return "Main Communication Timeout";
case ERROR_MAINT_NEEDED:
return "Maintainence Needed";
return "Maintenance Needed";
case ERROR_BAD_COMMAND:
return "Inappropriate Command";
case ERROR_PRINTER:
@ -878,7 +878,7 @@ static int get_status(struct shinkos2145_ctx *ctx)
INFO(" Print Counts:\n");
INFO("\tSince Paper Changed:\t%08u\n", le32_to_cpu(resp->count_paper));
INFO("\tLifetime:\t\t%08u\n", le32_to_cpu(resp->count_lifetime));
INFO("\tMaintainence:\t\t%08u\n", le32_to_cpu(resp->count_maint));
INFO("\tMaintenance:\t\t%08u\n", le32_to_cpu(resp->count_maint));
INFO("\tPrint Head:\t\t%08u\n", le32_to_cpu(resp->count_head));
INFO(" Cutter Actuations:\t%08u\n", le32_to_cpu(resp->count_cutter));
INFO(" Ribbon Remaining:\t%08u\n", le32_to_cpu(resp->count_ribbon_left));

View File

@ -259,7 +259,7 @@ struct shinkos6145_correctionparam {
uint8_t pad[3948]; // @12436, null.
} __attribute__((packed)); /* 16384 bytes */
/* Private data stucture */
/* Private data structure */
struct shinkos6145_ctx {
struct libusb_device_handle *dev;
uint8_t endp_up;
@ -781,7 +781,7 @@ static char *error_str(uint8_t v) {
case ERROR_COMMS_TIMEOUT:
return "Main Communication Timeout";
case ERROR_MAINT_NEEDED:
return "Maintainence Needed";
return "Maintenance Needed";
case ERROR_BAD_COMMAND:
return "Inappropriate Command";
case ERROR_PRINTER:
@ -1195,7 +1195,7 @@ static int get_status(struct shinkos6145_ctx *ctx)
INFO(" Print Counts:\n");
INFO("\tSince Paper Changed:\t%08u\n", le32_to_cpu(resp->count_paper));
INFO("\tLifetime:\t\t%08u\n", le32_to_cpu(resp->count_lifetime));
INFO("\tMaintainence:\t\t%08u\n", le32_to_cpu(resp->count_maint));
INFO("\tMaintenance:\t\t%08u\n", le32_to_cpu(resp->count_maint));
INFO("\tPrint Head:\t\t%08u\n", le32_to_cpu(resp->count_head));
INFO(" Cutter Actuations:\t%08u\n", le32_to_cpu(resp->count_cutter));
INFO(" Ribbon Remaining:\t%08u\n", le32_to_cpu(resp->count_ribbon_left));
@ -1230,7 +1230,7 @@ static int get_status(struct shinkos6145_ctx *ctx)
return -1;
INFO("Lifetime Distance: %08u inches\n", le32_to_cpu(resp2->lifetime_distance));
INFO("Maintainence Distance: %08u inches\n", le32_to_cpu(resp2->maint_distance));
INFO("Maintenance Distance: %08u inches\n", le32_to_cpu(resp2->maint_distance));
INFO("Head Distance: %08u inches\n", le32_to_cpu(resp2->head_distance));
/* Query various params */

View File

@ -90,7 +90,7 @@ struct s6245_printjob_hdr {
uint32_t unk21;
} __attribute__((packed));
/* Private data stucture */
/* Private data structure */
struct shinkos6245_ctx {
struct libusb_device_handle *dev;
uint8_t endp_up;
@ -612,7 +612,7 @@ static char *error_str(uint8_t v) {
case ERROR_COMMS_TIMEOUT:
return "Main Communication Timeout";
case ERROR_MAINT_NEEDED:
return "Maintainence Needed";
return "Maintenance Needed";
case ERROR_BAD_COMMAND:
return "Inappropriate Command";
case ERROR_PRINTER:
@ -1003,7 +1003,7 @@ static int get_status(struct shinkos6245_ctx *ctx)
INFO(" Print Counts:\n");
INFO("\tSince Paper Changed:\t%08u\n", le32_to_cpu(resp->count_paper));
INFO("\tLifetime:\t\t%08u\n", le32_to_cpu(resp->count_lifetime));
INFO("\tMaintainence:\t\t%08u\n", le32_to_cpu(resp->count_maint));
INFO("\tMaintenance:\t\t%08u\n", le32_to_cpu(resp->count_maint));
INFO("\tPrint Head:\t\t%08u\n", le32_to_cpu(resp->count_head));
INFO(" Cutter Actuations:\t%08u\n", le32_to_cpu(resp->count_cutter));
INFO(" Ribbon Remaining:\t%08u\n", le32_to_cpu(resp->count_ribbon_left));
@ -1038,7 +1038,7 @@ static int get_status(struct shinkos6245_ctx *ctx)
return 0;
INFO("Lifetime Distance: %08u inches\n", le32_to_cpu(resp2->lifetime_distance));
INFO("Maintainence Distance: %08u inches\n", le32_to_cpu(resp2->maint_distance));
INFO("Maintenance Distance: %08u inches\n", le32_to_cpu(resp2->maint_distance));
INFO("Head Distance: %08u inches\n", le32_to_cpu(resp2->head_distance));
return 0;

View File

@ -45,7 +45,7 @@
#define USB_PID_SONY_UPDR200 0x035F
#define USB_PID_SONY_UPCR10 0x0226
/* Private data stucture */
/* Private data structure */
struct updr150_ctx {
struct libusb_device_handle *dev;
uint8_t endp_up;