Star Micronics SP2000 manual Etb

Page 48

FUNCTION

CODE

OUTLINE

FUNCTION

CODE

OUTLINE

Confirms finish of printing

<ETB>

(17)H

This command cause the printer to wait until all printing is

completed (the printing motor stops) and sets the printer status 1- 1 of the automatic status (<ETB> command) to “1” (only execute ETB).

Also, if print data still remains in the line buffer, it executes this command after printing the remaining data.

The host will know that the printing of the transmitted data is completed by confirming that the bit is “1.” When the status bit is cleared to “0” when returned to the host.

Transmits automatic status

<ESC> <ACK> <SOH>

(1B)H (06)H (01)H

This command transmirts the contents of the printer’s automatic

status one time. (When using a bi-directional parallel interface, it is “Data Ready.”)

When in the DTR mode for a serial interface, you need to set DIP switch 1-3 to OFF so that the printer status can be inquired during an error as well.

When in the DTR mode for a parallel interface, you need to set DIP switch 6-9 to “1” so that the printer status can be inquired during an error as well.

Always use the <ESC> <ACK> and <SOH> commands when the automatic status function is set to invalid. Also, when the <ESC> <ACK> and <SOH> commands are transmitted one time, you must not send the next <ESC> <ACK> and <SOH> commands until the automatic status is completely received.

46

Image 48
Contents Dot Matrix Printer SP2000 Series Programmer’s Manual Table of Contents Control Codes Star Mode Control Hexadecimal Function CodesESC 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 MSW FF Command Function SP2520/2560 Ptint Position ControlCR 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 N4 Country CountryPaper near end sensor Comdex dual auto-cutter Paper near end sensorValue of n Character Table Parameter Setting CR code See below CR codePara Setting Treatment of missing data during reverse mode EOT ENQ ETB Value of n Hex ESC/POS Mode Commands Control Hexadecimal Function Codes U200 U300ESC 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