Star Micronics Dot Impact Printer User Manual
Page 97
 
5-7
STAR Command Specifications
Rev. 0.70
5-1-4 Printer Status Transmission Specification when using Ethernet and Wireless LAN
Interfaces
The following explains the printer status transmission specification when using Ethernet and wireless LAN interfaces.
1)
Transmission Format:
• When transmitting only STAR ASB:
STAR ASB (Second byte Bit-7=1) + Length (Length = 0x0000)
• When transmitting printer status other than STAR ASB:
STAR ASB (Second byte Bit-7=1) + Length + Status Data
<Length Details>
•	2	byte	value	indicating	status	data	byte	count	(0x0000	≤ Length ≤ 0x0200)
•	When	the	status	data	is	10	bytes:	Length	=	0x000a
• When transmitting only STAR ASB: Add Length = 0x0000
•	When	STAR	ASB	Second	byte	Bit-7,	and	Length	is	added,	Bit-7	=	1	is	set.	
For	status	analysis,	the	total	byte	count	of	ASB	is	detected	using	the	first	byte	of	STAR	ASB,	and	whether	length	is	
added	with	the	second	byte	Bit-7	of	STAR	ASB	is	detected.	By	getting	the	byte	count	of	subsequent	status	data	using	
the	length,	the	status	can	be	analyzed.	
2)
Status Data Transmission format
Status Type + Break Character 1 + Data Type + Status Length +
Printer Status + Break Character 2
A.	Status	Type	(2	byte	or	4	byte)	
•	First	and	second	bytes	
Indicate a factor of printer status occurring. 
•	”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	
If the factor is the command, indicates the n parameter of the command. 
If	there	is	no	n	parameter,	the	third	and	fourth	bytes	can	be	omitted.