Oki OKIPOS408II OKIPOS 408II Programmer s Technical Reference - Page 346
Printer Status, STAR ASB Second Byte Bit -7 = 1
View all Oki OKIPOS408II manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 346 highlights
5-3-4 Printer Status Transmission Specifications for Ethernet I/F, and Wireless LAN I/F The following will describe printer status transmission specifications for using an Ethernet interface and a wireless LANinterface. 1) Transmission format • For transmitting only STAR ASB STAR ASB (Second Byte Bit -7 = 1) + • For transmitting printer status other than STAR ASB STAR ASB (Second Byte Bit -7=1) + Length (Length = 0x0000) Length + Status Data Details on Length • 2 byte value indicating byte count of Status Data (0x0000 ≤ Length ≤ 0x0200) • When status data is 10 bytes, Length = 0x000a • When transmitting only STAR ASB, append Length x 0x0000 • When Length is appended for STAR ASB second byte bit -7, this is set to bit -7=1 Status analysis detects the total byte count of ASB using the first byte of STAR ASB, and detects whether Length is appended using the second byte bit -7 of STAR ASB. It is also possible to analyze the status bygetting the byte count of subsequent byte counts. 2) Status Data transmission format Status Type + Separator character 1 + Data Type + Status Length + Printer Status + Separator character 2 1. Status Type (2 Bytes or 4 Bytes) • First and second bytes Indicate the cause to generate a printer status. • "00": Reserved • "01" to "09": STAR real-time status request command • "10" to "49": STAR status request command • "50": Reserved • "51" to "59": Reserved • "60" to "99": Reserved • "A0" to "FF": Reserved • Third and fourth bytes When a cause occurs, these indicate the command n parameter. If there is no n parameter, the third and fourth bytes can be omitted. When n = 0x31 using the ESC ¥ 3 n command, the third and fourth bytes are "31". _____ STAR Page Mode Command Specifications 5-19