summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2017-05-05 08:06:28 -0400
committerSolomon Peachy <pizza@shaftnet.org>2017-05-05 08:11:04 -0400
commiteb645774bd1827d11f08ab09c0c22f82d87131d4 (patch)
tree051b02854d5244027de4d682af3161179c77a9d9
parent11e69ed5ea9756e5ae21eb9cc5706859afcb9392 (diff)
downloadselphy_print-eb645774bd1827d11f08ab09c0c22f82d87131d4.tar.gz
selphy_print-eb645774bd1827d11f08ab09c0c22f82d87131d4.tar.bz2
selphy_print-eb645774bd1827d11f08ab09c0c22f82d87131d4.zip
Merge a pile spelling fixes from Ville Skyttä <scop@sf>
-rw-r--r--backend_canonselphy.c4
-rw-r--r--backend_canonselphyneo.c2
-rw-r--r--backend_citizencw01.c4
-rw-r--r--backend_common.c2
-rw-r--r--backend_common.h2
-rw-r--r--backend_dnpds40.c4
-rw-r--r--backend_kodak1400.c4
-rw-r--r--backend_kodak605.c4
-rw-r--r--backend_kodak6800.c2
-rw-r--r--backend_mitsu70x.c2
-rw-r--r--backend_mitsu9550.c2
-rw-r--r--backend_mitsup95d.c2
-rw-r--r--backend_shinkos1245.c4
-rw-r--r--backend_shinkos2145.c6
-rw-r--r--backend_shinkos6145.c8
-rw-r--r--backend_shinkos6245.c8
-rw-r--r--backend_sonyupdr150.c2
17 files changed, 31 insertions, 31 deletions
diff --git a/backend_canonselphy.c b/backend_canonselphy.c
index 6252e68..747eb72 100644
--- a/backend_canonselphy.c
+++ b/backend_canonselphy.c
@@ -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]
diff --git a/backend_canonselphyneo.c b/backend_canonselphyneo.c
index aa5d649..189617a 100644
--- a/backend_canonselphyneo.c
+++ b/backend_canonselphyneo.c
@@ -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;
diff --git a/backend_citizencw01.c b/backend_citizencw01.c
index e5c787c..9271788 100644
--- a/backend_citizencw01.c
+++ b/backend_citizencw01.c
@@ -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,
diff --git a/backend_common.c b/backend_common.c
index 576c23a..14683be 100644
--- a/backend_common.c
+++ b/backend_common.c
@@ -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");
}
diff --git a/backend_common.h b/backend_common.h
index 21a3a7c..b44b7bb 100644
--- a/backend_common.h
+++ b/backend_common.h
@@ -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 */
diff --git a/backend_dnpds40.c b/backend_dnpds40.c
index 75875f9..341f77a 100644
--- a/backend_dnpds40.c
+++ b/backend_dnpds40.c
@@ -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)
diff --git a/backend_kodak1400.c b/backend_kodak1400.c
index 504d904..6a0b2aa 100644
--- a/backend_kodak1400.c
+++ b/backend_kodak1400.c
@@ -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
diff --git a/backend_kodak605.c b/backend_kodak605.c
index 99d9e03..a0e64b7 100644
--- a/backend_kodak605.c
+++ b/backend_kodak605.c
@@ -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;
diff --git a/backend_kodak6800.c b/backend_kodak6800.c
index c445085..444b5f3 100644
--- a/backend_kodak6800.c
+++ b/backend_kodak6800.c
@@ -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;
diff --git a/backend_mitsu70x.c b/backend_mitsu70x.c
index be7f701..34c2868 100644
--- a/backend_mitsu70x.c
+++ b/backend_mitsu70x.c
@@ -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;
diff --git a/backend_mitsu9550.c b/backend_mitsu9550.c
index b101209..df50b8a 100644
--- a/backend_mitsu9550.c
+++ b/backend_mitsu9550.c
@@ -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;
diff --git a/backend_mitsup95d.c b/backend_mitsup95d.c
index 7854161..9fa2845 100644
--- a/backend_mitsup95d.c
+++ b/backend_mitsup95d.c
@@ -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;
diff --git a/backend_shinkos1245.c b/backend_shinkos1245.c
index 1f439c9..c144abe 100644
--- a/backend_shinkos1245.c
+++ b/backend_shinkos1245.c
@@ -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);
diff --git a/backend_shinkos2145.c b/backend_shinkos2145.c
index 9115c62..a4b92c0 100644
--- a/backend_shinkos2145.c
+++ b/backend_shinkos2145.c
@@ -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));
diff --git a/backend_shinkos6145.c b/backend_shinkos6145.c
index d0bbaf4..ee4c0f1 100644
--- a/backend_shinkos6145.c
+++ b/backend_shinkos6145.c
@@ -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 */
diff --git a/backend_shinkos6245.c b/backend_shinkos6245.c
index 7213e9e..fbd4fda 100644
--- a/backend_shinkos6245.c
+++ b/backend_shinkos6245.c
@@ -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;
diff --git a/backend_sonyupdr150.c b/backend_sonyupdr150.c
index 2a8225a..5fe8afe 100644
--- a/backend_sonyupdr150.c
+++ b/backend_sonyupdr150.c
@@ -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;