Oki OKIPOS408II OKIPOS 408II Programmer s Technical Reference - Page 307
ESC GS ETX, Communication Example 1
View all Oki OKIPOS408II manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 307 highlights
Communication Example 1 Host transmission data Printer returned data ESC GS ETX 0x00 0x00 0x00 → ← ESC GS ETX 0x00 0x00 0x00 0x00 0x00 Printing data + ESC GS ETX 0x01 0x00 → 0x00 ← ESC GS ETX 0x01 0x00 0x00 0x01 0x00 Printing data + ESC GS ETX 0x01 0x00 → 0x00 ← ESC GS ETX 0x01 0x00 0x00 0x02 0x00 Communication Example 2 Host transmission data Printer returned data ESC GS ETX 0x02 0x02 0x00 ESC GS ETX 0x00 0x02 0x00 → ← ESC GS ETX 0x00 0x02 0x00 0x00 0x00 Printing data + ESC GS ETX 0x01 0x02 → 0x11 ← ESC GS ETX 0x01 0x02 0x11 0x01 0x00 Printing data + ESC GS ETX 0x01 0x02 → 0x12 ← ESC GS ETX 0x01 0x02 0x12 0x02 0x00 Printing data + ESC GS ETX 0x01 0x02 → 0x13 ← ESC GS ETX 0x01 0x02 0x13 0x03 0x00 Printing data + ESC GS ETX 0x01 0x02 → 0x14 ← ESC GS ETX 0x01 0x02 0x14 0x04 0x00 (Counter check) (Counter update) (Counter update) (Counter clear) (Counter check) (Counter update) (Counter update) (Counter update) (Counter update) ・When using an Ethernet: n1 = host ID and n2 = document number are specified. When the returned printing end counter is acquired, the information from the transmission source and the returned information are checked to make sure that the host ID and document ID are the same. ・When not using an Ethernet: n1+ n2*256 is specified for the document ID. The document ID is checked at the same time to make sure that it is the same. ・When not confirming that the information from the transmission source and the returned information are the same: The values are fixed at n1 = 0 and n2 = 0. _____ STAR Page Mode Command Specifications 3-66