Star Micronics SP2000 manual Control Code Details

Page 9

1-2. Control Code Details

The following section explains the details of the printer control codes.

1-2-1. Character Selection

FUNCTION

CODE

DEFINITION RANGE

OUTLINE

FUNCTION

CODE

OUTLINE

Selects the international character set

<ESC> "R" n

(1B)H (52)H n

(00)H <= n <= (0E)H or n = (40)H

Select the international character set corresponding to the value

set for n.

 

 

 

n = (00)H: U.S.A.

(06)H:

Italy

(OC)H: Latin America

(01)H:

France

(07)H:

Spain-1

(0D)H: Korea

(02)H:

Germany

(08)H:

Japan

(0E)H: Ireland

(03)H:

England

(09)H:

Norway

(40)H: Legal

(04)H:

Denmark-1 (0A)H:

Denmark-2

 

(05)H:

Sweden

(0B)H:

Spain-2

 

Default abides by memory switches 1-0 to 1-3.

Selects zero style

<ESC> "/" n

1B 2F n

Selects zero style

Causes subsequent zero characters to be printed with a slash when n is 1 and without a slash when n is 0. The value of n can be set to 0 (00H) or "0" (30)H or 1(0H) or "1" (31H).

The default may differ depending on the memory switch setting.

7

Image 9
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 N4 Country CountryPaper near end sensor 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