[ES1] Add error code for ES1, plus more documented for ES2 & ES30.
This commit is contained in:
parent
3b4e5d5f95
commit
bdeb411d02
12
README.TXT
12
README.TXT
|
@ -86,6 +86,7 @@
|
|||
05 00 00 00 02 01 [pg] 01 00 00 00 00 [?? transitions to this]
|
||||
06 00 00 00 02 01 [pg] 01 00 00 00 00 [?? transitions to this]
|
||||
02 00 00 00 02 01 [pg] 01 00 00 00 00 [..transitions back to idle]
|
||||
02 01 00 00 01 ff ff ff 00 00 00 00 [error, cover open]
|
||||
|
||||
Known paper types for all ES printers: P, Pbw, L, C, Cl
|
||||
Additional types for ES3/30/40: Pg, Ps
|
||||
|
@ -126,9 +127,12 @@
|
|||
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]
|
||||
02 00 00 00 [pg] 00 [pg2] 00 00 00 00 00 [back to idle, waiting for init seq]
|
||||
|
||||
14 00 00 00 [pg] 00 [pg2] 00 00 00 00 00 [out of paper/ink]
|
||||
14 00 01 00 [pg] 00 [pg2] 00 01 00 00 00 [out of paper/ink]
|
||||
|
||||
16 01 00 00 01 00 00 00 00 00 00 00 [error, cover open, P media]
|
||||
|
||||
[xx] can be 0x00 or 0xff, depending on if a previous print job has
|
||||
completed or not.
|
||||
|
||||
|
@ -170,6 +174,8 @@
|
|||
13 ff 03 00 ff ff ff ff 00 00 00 00 [?]
|
||||
00 ff 10 00 ff ff ff ff 00 00 00 00 [done, ready for footer]
|
||||
|
||||
00 ff 00 00 ff ff ff ff 00 00 00 00 [cover open -- no change!]
|
||||
|
||||
There appears to be no paper code in the readback; codes were identical for
|
||||
the standard 'P-Color' and 'Cl' cartridges:
|
||||
|
||||
|
@ -204,6 +210,12 @@
|
|||
00 0e ff 00 00 00 00 00 00 00 00 11 [transitions to this]
|
||||
00 00 10 00 00 00 00 00 00 00 00 11 [ready for footer]
|
||||
|
||||
00 00 00 [xx] 00 00 00 00 00 00 00 11 [error]
|
||||
|
||||
[xx]:
|
||||
01: Generic communication error
|
||||
32: Cover open / media empty
|
||||
|
||||
Readback codes for other paper types are unknown.
|
||||
|
||||
***************************************************************************
|
||||
|
|
|
@ -82,7 +82,7 @@ struct printer_data printers[P_END] = {
|
|||
.ready_m_readback = { 0x04, 0x00, 0x03, 0x00, 0x02, 0x01, -1, 0x01, 0x00, 0x00, 0x00, 0x00 },
|
||||
.ready_c_readback = { 0x04, 0x00, 0x07, 0x00, 0x02, 0x01, -1, 0x01, 0x00, 0x00, 0x00, 0x00 },
|
||||
.done_c_readback = { 0x04, 0x00, 0x00, 0x00, 0x02, 0x01, -1, 0x01, 0x00, 0x00, 0x00, 0x00 },
|
||||
// .error_readback
|
||||
.error_readback = { -1, 0x01, 0x00, 0x00, -1, -1, -1, -1, 0x00, 0x00, 0x00, 0x00 },
|
||||
// .paper_codes
|
||||
.pgcode_offset = 3,
|
||||
.paper_code_offset = 6,
|
||||
|
|
Loading…
Reference in New Issue