Star Micronics SP2000 manual Auto Status Specifications

Page 53

3. Auto Status Specifications

3-1. Auto Status

Auto status is a function that automatically relays any changes that occur in the status of the printer from the printer to the host. It is composed of the “Header -1,” “Header - 2” and “a plurality of bytes of printer states.”

The host always identifies the data using the method of identification for each byte received. (For example: This is necessary in consideration of the receiving side because there is the possibility that the X on/X off code could be included in the automatic status part way through transmission when in the Xon/Xoff mode [Serial I/F]).

Conditions for the validity and invalidity of the autmatic status abide by the initial values of the settings of DIP switch 1-6. You can change the condition using the <ESC> <RS> “a” n command after turning ON the power.

You can acquire the automatic status regardless of it being valid or invalid using the <ESC> <ACK> <SOH> command.

Header 1

Header 1 is 1 byte of information heading the automatic status. Header 1 is composed of the items in Table 3-1 below. Header 1 indicates the byte count of the transmission of the entire status including Header 1 with bits 1 to 3 and bit 5. The host gets the information of the transmitted byte count and always receives the status data of the amount of the transmitted byte count. For reference, Table 3-2 shows the relationship of the actual transmitted byte count and the Header 1.

Bit 0 is always 1 (always 0 after the second byte) to indicate that it is the header data of Header 1 so when detecting Header 1, you can check that bit 0 = 1 and bit 4 = 0.

Bit 6 is for future expansion, so it is ignored in the processing on the host.

51

Image 53
Contents Dot Matrix Printer SP2000 Series Programmer’s Manual Table of Contents Control Hexadecimal Function Codes Control Codes Star ModeESC W Print Position Control Dot Graphics Control Auto Cutter Control SP2500 type printers only Other Commands Control Code Details Function Value of n Character Table Hex Dec DSW 1 Digits Per Line Function Code Function Function Value Rotation Specification Function Ptint Position Control MSW FF Command Function SP2520/2560CR Code Function Code Function Function Function ABC Code Example Print Sample M2 m4 m6 m8 m10 M1 m3 m5 m7 m9 m11 MSB LSB Char. Code = 21H Char. Code = 22H Char. Code = 23H Example of transmitting data 10 x n1 ms 10 x n2 ms SUB Auto Cutter Control SP2500 type printers only Function Command to Set the Page Format Cancels printer buffer & Initialize printer Code HEX Outline Paper near end sensor N4 CountryCountry Paper near end sensor Comdex dual auto-cutterValue of n Character Table CR code Parameter Setting CR code See belowPara Setting Treatment of missing data during reverse mode EOT ENQ ETB Value of n Hex Control Hexadecimal Function Codes U200 U300 ESC/POS Mode CommandsESC R Ignored Commands Auto Status Specifications Header 1 First Byte Bit Content Status Header 2 Second Byte Bit Content Status Printer Status Printer Status 5 Sensor Information Seventh Byte Method to Identify States Control Code Reception Data Appendix Character Code Tables Star Mode Character table IBM Character set #2 Code Character table Katakana Character table IBM Character set #1 Star Mode Star Mode Code Page #855 Cyrillic Bulgarian Star Mode Code Page #772 Lithuanian Code Page #774 Lithuanian Code Page #874 Thai Star Mode Star Mode Star Mode Star Mode Star Mode ESC/POS Mode ESC/POS Mode 1 Katakana 2 PC858 Multilingual 3 PC860 Portuguese 4 PC863 Canadian-French 5 PC865 Nordic ESC/POS Mode
Related manuals
Manual 170 pages 46.11 Kb