src/printer
This commit is contained in:
@@ -2143,13 +2143,13 @@ escp_close(void *priv)
|
|||||||
|
|
||||||
|
|
||||||
const lpt_device_t lpt_prt_escp_device = {
|
const lpt_device_t lpt_prt_escp_device = {
|
||||||
"Generic ESC/P Dot-Matrix",
|
.name = "Generic ESC/P Dot-Matrix",
|
||||||
"dot_matrix",
|
.internal_name = "dot_matrix",
|
||||||
escp_init,
|
.init = escp_init,
|
||||||
escp_close,
|
.close = escp_close,
|
||||||
write_data,
|
.write_data = write_data,
|
||||||
write_ctrl,
|
.write_ctrl = write_ctrl,
|
||||||
read_data,
|
.read_data = read_data,
|
||||||
read_status,
|
.read_status = read_status,
|
||||||
read_ctrl
|
.read_ctrl = read_ctrl
|
||||||
};
|
};
|
||||||
|
@@ -483,13 +483,13 @@ prnt_close(void *priv)
|
|||||||
|
|
||||||
|
|
||||||
const lpt_device_t lpt_prt_text_device = {
|
const lpt_device_t lpt_prt_text_device = {
|
||||||
"Generic Text Printer",
|
.name = "Generic Text Printer",
|
||||||
"text_prt",
|
.internal_name = "text_prt",
|
||||||
prnt_init,
|
.init = prnt_init,
|
||||||
prnt_close,
|
.close = prnt_close,
|
||||||
write_data,
|
.write_data = write_data,
|
||||||
write_ctrl,
|
.write_ctrl = write_ctrl,
|
||||||
NULL,
|
.read_data = NULL,
|
||||||
read_status,
|
.read_status = read_status,
|
||||||
NULL
|
.read_ctrl = NULL
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user