Citizen CT-S2000 Specifications Page 1

Browse online or download Specifications for Print & Scan Citizen CT-S2000. Citizen CT-S2000 Specifications User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 191
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - Command Reference

Command Reference LINE THERMAL PRINTER MODEL CT-S2000 Rev. 0.03 Issued on July 21, 2006

Page 2 - REVISION

- 8 - Commands for Non-volatile Memory Command Function MODE GS P GS ( C Editing user NV memory S GS ( L GS 8 L Specifying graphics data S G

Page 3 - TABLE OF CONTENTS

- 98 - F S p n m [Function] Printing the download NV bit images [Code] <1C>H<70>H<n><m> [Ra

Page 4

- 99 - F S q n [xL xH yL yH d1…dk] 1… [xL xH yL yH d1…dk] n [Function] Defining the download NV bit image [Code] <1C>H<

Page 5

- 100 - • The maximum definition area of this printer is 2M bits (256K bytes). Multiple NV bit images can be defined, but bit images of which total

Page 6

- 101 - 2.2.13 Black Mark Control Commands GS FF (Valid Only at B.M Model) [Function] Printing and ejecting Black mark paper

Page 7 - CITIZEN

- 102 - GS A m n (Valid Only at B.M Model) [Function] Correcting the leader position of Black mark paper [Code] <1DH

Page 8

- 103 - GS C 0 m n [Function] Setting the numbering print mode [Code] <1D>H<43>H<30>H<m><n

Page 9

- 104 - GS C 1 n1 n2 n3 n4 n5 n6 [Function] Setting the numbering counter mode (A) [Code] <1D>H<43>H<31>

Page 10

- 105 - GS C 2 n1 n2 [Function] Setting the numbering counter [Code] <1D>H<43>H<32>H<n1><n2

Page 11 - 2.1.1 Description of Items

- 106 - GS C ; n1 ; n2 ; n3 ; n4 ; n5 ; [Function] Setting the numbering counter mode (B) [Code] <1D>H<43>H<3B

Page 12 - CR

- 107 - GS c [Function] Print the counter [Code] <1D>H<63>H [Outline] This command prints the ser

Page 13 - FF

- 9 - 2.1.1 Description of Items XXXX [Function] The name of a command. [Code] The string of codes comprising the comm

Page 14 - ESC FF

- 108 - GS l n1L n1H n2L n2H [Function] Setting the Black mark length [Code] <1D>H<6C>H<n1L><n1H>&

Page 15

- 109 - 2.2.14 Printer Function Setting Commands GS ( D pL pH m [a1 b1] ··· [ak bk] [Function] Enabling or disabling real-time comma

Page 16 - CAN

- 110 - GS ( E pL pH fn [··· ] [Function] Printer function setting command [Outline] Printer function setting command is a

Page 17

- 111 - fn = 1: Function 1 Transferring to Printer Function Setting Mode GS ( E pL pH fn d1 d2 [Code] <1d>H<28>H&l

Page 18

- 112 - fn = 3: Function 3 Setting Memory Switch Value GS ( E pL pH fn [a1 b18 ··· b11] ··· [ak bk8 ··· bk1] [Code] <1d>H&l

Page 19

- 113 - • Setting memory switch 2 (a = 2) n b (Set Value) Function 1 49 (Default) Reserved 48 Disables auto cutter. 2 49 (Default) Enables

Page 20 - ESC % n

- 114 - • Setting memory switch 4 (a = 4) n b (Set Value) Function 48 (Default) At the selection of Black mark paper, disables auto end-measure

Page 21

- 115 - fn = 4: Function 4 Sending the Set Memory Switch Value GS ( E pL pH fn a [Code] <1d>H<28>H<45>H pL

Page 22 - ESC – n

- 116 - fn = 5: Function 5 Setting Customized Value GS ( E pL pH fn [a1 n1L n1H]...[ak nkL nkH] [Code] <1d>H<28>H&

Page 23 - ESC ? n

- 117 - • a = 3: Sets paper width to the size specified by (nL + nH x256). (nL + nH x256) Paper Width 1 58mm(360dot) 2 58mm(384dot) 3 58mm(432dot)

Page 24 - ESC E n

- 10 - 2.2 Command Details 2.2.1 Print Control Commands LF [Function] Printing and paper feed [Code]

Page 25 - ESC G n

- 118 - • a = 201: Outputs ACK to the position specified by (nL + nH x256). (nL + nH x256) ACK Output Position 1 (Default) ACK-in-Busy 2 ACK-while

Page 26 - ESC M n

- 119 - fn = 6: Function 6 Sending the Set Customized Value GS ( E pL pH fn a [Code] <1d>H<28>H<45>

Page 27 - ESC V n

- 120 - • a = 2: When NV graphics memory capacity is specified Setting Status Sending Data Stored Value Memory Capacity 1st Byte 2nd Byte 3rd Byte

Page 28 - ESC t n

- 121 - • a = 6: When printing speed is specified Setting Status Sending Data Stored Value Print Density 1st Byte 2nd Byte 3rd Byte 4th Byte 5th By

Page 29 - ESC { n

- 122 - fn = 7: Function 7 Copying User-defined Page GS ( E pL pH fn a d1 d2 [Code] <1d>H<28>H<45>H pL pH fn a

Page 30

- 123 - fn = 8: Function 8 Defining Data by the Column Format to Character Code Page of Work Area GS ( E pL pH fn y c1 c2[x d1...d(y × x)]k

Page 31

- 124 - fn = 9: Function 9 Defining Data in the Raster Format to the Character Code Page of Work Area GS ( E pL pH fn x c1 c2[y d1...d(y × x)]k

Page 32 - GS ! n

- 125 - fn = 10: Function 10 Erasing Data of Character Code Page Data in Work Area GS ( E pL pH fn c1 c2 󲪄 󲪄󲪄 [Code] <1d>

Page 33 - GS B n

- 126 - fn = 11: Function 11 Setting Communication Conditions GS ( E pL pH fn a d1...cdk [Code] <1d>H<28>H<

Page 35 - HT

- 11 - FF [Function] (1) Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) (2) Printin

Page 36

- 128 - fn = 12: Function 12 Sending the Set Communication Conditions GS ( E pL pH fn a [Code] <1d>H<28>H<

Page 37

- 129 - • a = 119: At specification of DMA control d1 Setting Data Length 48 Valid 49 Invalid • a = 120: At specification of VCom flow control d1

Page 38 - ESC T n

- 130 - GS ( K pL pH fn m [Function] Selecting print control method [Outline] Executes the setting related to the print

Page 39 - Print Area

- 131 - fn = 49: Function 49 Setting Printing Density GS ( K pL pH fn m [Code] <1d>H<28>H<4B>H pL pH f

Page 40 - nL nH

- 132 - fn = 50: Function 50 Setting Printing Speed GS ( K pL pH fn m [Code] <1d>H<28>H<4B>H pL pH fn m

Page 41 - ESC a n

- 133 - GS ( M pL pH fn m [Function] Customizing the printer [Outline] Executes processing related to escape/recovery of th

Page 42

- 134 - fn = 1, 49: Function 1 : Copies the set value stored in work area to the storage area GS ( M pL pH fn m [Code] &l

Page 43

- 135 - fn = 3, 51: Function 3 : Specifies the auto loading function of the set value at initialization to be valid or invalid GS ( M pL pH fn m

Page 44

- 136 - GS ( N pL pH fn m [Function] Designating font attribute [Outline] Executes processing of font attribute by the

Page 45

- 137 - 2.2.15 Other Commands DLE ENQ n [Function] Real-time request to printer [Code] <10>H<05>H<n>

Page 46 - nL nH

- 12 - ESC FF [Function] Printing data in PAGE MODE [Code] <1B>H<0C>H [Outline] Executes a batch

Page 47 - ESC 2

- 138 - DLE DC4 fn m t (Specification of fn = 1) [Function] Outputting specified pulse in real-time [Code] <10>

Page 48 - ESC 3 n

- 139 - DLE DC4 fn d1...d7 (Specification of fn = 8) [Function] Buffer clear [Code] <10>H<14>H<fn><

Page 49 - 2.2.5 Bit Image Commands

- 140 - ESC = n (CBM1000 compatible mode) [Function] Data input control [Code] <1B>H<3D>H<n> [Range] 0

Page 50

- 141 - ESC = n (CBM1000 non-compatible mode) [Function] Data input control [Code] <1B>H<3D>H<n> [Range]

Page 51

- 142 - ESC @ [Function] Initializing the printer [Code] <1B>H<40>H [Outline] Clears data stored

Page 52

- 143 - ESC L [Function] Selecting PAGE MODE [Code] <1B>H<4C>H [Outline] Switches from STANDARD M

Page 53 - GS / m

- 144 - ESC S [Function] Selecting STANDARD MODE [Code] <1B>H<53>H [Outline] Switches from PAGE M

Page 54

- 145 - ESC p m n1 n2 [Function] Generating the specified pulses [Code] <1B>H<70>H<m><n1><n

Page 55

- 146 - ESC RS [Function] Sound buzzer [Code] <1B>H<1E>H [Outline] Sound the buzzer for 200 ms.

Page 56 - 2.2.6 Status Commands

- 147 - GS ( A pL pH n m [Function] Execution of test printing [Code] <1D>H<28>H<41>H<pL><pH

Page 57

- 13 - ESC d n [Function] Printing and feeding the paper by “n” lines [Code] <1B>H<64>H<n> [Range]

Page 58

- 148 - GS I n [Function] Sending the printer ID [Code] <1D>H<49>H<n> [Range] 1≤n≤4, 49≤n≤

Page 59

- 149 - n = 4, 52 specified (only for B.M specs) The Black mark length and mark interval currently used are returned in 4-byte code. All fractional

Page 60

- 150 - GS P x y [Function] Specifying the basic calculation pitch [Code] <1D>H<50>H<x><y>

Page 61

- 151 - 3. CHARACTER CODE TABLE 3.1 Code Page 3.1.1 Codepage 00H to 7FH & PC437 (USA, Europe Standard) 0 1 2 3 4 5 6

Page 62

- 152 - 3.1.2 Codepage 00H to 7FH & Katakana 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p ▁ ┴ SP − タ ミ ═ × 1 XON ! 1

Page 63

- 153 - 3.1.3 Codepage 00H to 7FH & PC850 (Multilingual) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p Ç É á ░ └ ð Ó

Page 64 - GS r n

- 154 - 3.1.4 Codepage 00H to 7FH & PC860 (Portuguese) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p Ç É á ░ └ ╨ α ≡

Page 65

- 155 - 3.1.5 Codepage 00H to 7FH & PC863 (Canadian-French) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p Ç É ¦ ░ └ ╨

Page 66

- 156 - 3.1.6 Codepage 00H to 7FH & PC865 (Nordic) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p Ç É á ░ └ ╨ α ≡ 1 X

Page 67

- 157 - 3.1.7 Codepage 00H to 7FH & PC852 (Eastern Europe) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p Ç É á ░ └ đ

Page 68 - 2.2.8 Panel Switch Commands

- 14 - 2.2.2 Print Character Commands CAN [Function] Canceling print data in PAGE MODE [Code] <18>H [Outline

Page 69 - GS :

- 158 - 3.1.8 Codepage 00H to 7FH & PC866 (Russian) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p Α Р а ░ └ ╨ р Ë 1 XO

Page 70

- 159 - 3.1.9 Codepage 00H to 7FH & PC857 (Turkish) 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p Ç É á ░ └ o ó ― 1

Page 71 - 2.2.10 Cutter Commands

- 160 - 3.1.10 Codepage 00H to 7FH & PC864 (Arabic)

Page 72 - ESC m

- 161 - 3.1.11 Codepage 00H to 7FH & WPC1252 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL DLE 0 @ P ` p € ° À Ð à ð 1 XON ! 1

Page 73 - GS V m ... (1)

- 162 - 3.1.12 Codepage 00H to 7FH & Thai Code 18

Page 74 - GS H n

- 163 - 3.2 International Character Code Table Country 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E0 U.S.A 󳋱󲪄 󳋲󲪄 󳌍 󲪿󲪄 󳁼󲪄 󲫁󲪄 󲫂󲪄 󲪋󲪄 󲫟󲪄 󲫠󲪄 󲫡󲪄 󲫢󲪄1 F

Page 75 -

- 164 - 4. APPENDIX 4.1 Explanation on PAGE MODE 4.1.1 Overview The printer has two print modes: STANDARD and PAGE. In STANDARD MODE,

Page 76

- 165 - 4.1.3 Mapping of Print Data in the Print Area Print data is mapped in the print area as follows: (1) The print area is set by ESC W. When th

Page 77

- 166 - 4.1.4 Example of Using PAGE MODE The following explains specific uses of PAGE MODE. When in PAGE MODE, the commands are typically sent from

Page 78

- 167 - In Figure 4-3, a line feed occurs between “lesson” and “Test 1” because the space “ “ next to “lesson” does not fit in the horizontal range

Page 79

- 15 - ESC SP n [Function] Setting the right spacing of the character [Code] <1B>H<20>H<n> [Rang

Page 80

- 168 - Before an FF is sent (170th line), the following program code can be added to remove part of the data. 180 PRINT #1, CHR$(&H1B);"

Page 81

- 169 - 4.2 Bidirectional Parallel Interface Overview The interface of the printer is a Level-1 compatible device according to IEEE-P12

Page 82

- 170 - 4.2.3 Negotiation Overview Usually, the printer is started in Compatibility mode, which corresponds to the Centronics interface phase. When t

Page 83

- 171 - Precautions (1) The Negotiation phase is triggered when the IEEE 1284 Active signal sent by the host becomes High. (2) In Compatibility mo

Page 84

- 172 - Data Communication from Printer to Host Nibble Mode In this mode, data is transferred between the printer and the host through the procedur

Page 85

- 173 - Byte Mode In this mode, data is transferred between the printer and the host through the procedure described below. The steps beginning f

Page 86

- 174 - Device ID The device ID is a character string that provides the ID, the type, and other information regarding the printer connected to the

Page 87

- 175 - (2) Immediate termination: 1) If the interface is deactivated (IEEE 1284 Active: Low) without Event 22 having taken place, the printer imme

Page 88

- 176 - 4.4 Memory Switch Memory switch is a function to save the user selected settings into NV memory, where memory switch setti

Page 89

- 177 - Switch No. Setting Default Set Values MSW7-1 Baud Rate 19200 bps 1200 bps, 2400 bps, 4800 bps, 9600 bps, 19200 bps, 38400 bps, 57600

Page 90

- 16 - ESC ! n [Function] Collectively specifying the printing mode [Code] <1B>H<21>H<n> [Rang

Page 91

- 178 - 4.4.2 Details of Memory Switches This section describes the function of memory switch. Memory switches with no function settings are omitted

Page 92

- 179 - • MSW1-3: Busy condition [Outline] Select the condition that printer is BUSY. Automatic status send function also runs. OFF (0) ON (

Page 93

- 180 - • MSW1-6󲧻 Reserved [Fixed to OFF (0)] • MSW1-7󲧻 DSR signal [Outline] Printer can be reset with DSR (serial I/F-6pin) signal. Select enab

Page 94

- 181 - • MSW2-3󲧻 Buffering [Outline] Select buffering print enable/disable. OFF (0) ON (1) Spool Print Invalid Valid ON (1) OPERATION: Buff

Page 95

- 182 - • MSW2-6󲧻 Reserved [Fixed to OFF (0)] • MSW2-7󲧻 Reserved [Fixed to OFF (0)] • MSW2-8󲧻 PNE sensor [Outline] Select paper near-end enable

Page 96

- 183 - • MSW3-7󲧻 CBM-1000 compatible mode [Outline] Select enable/disable of CBM-1000 compatible mode. OFF (0) ON (1) CBM1000 Mode Invalid Val

Page 97

- 184 - • MSW4-3󲧻 Paper heading cut [Outline] When cover is closed, feed paper about 13mm before cut. OFF (0) ON (1) Feed & Cut at TOF In

Page 98

- 185 - • MSW5-2󲧻 Basic vertical calculation pitch [Outline] Select the basic calculation pitch in the paper feed direction. OFF (0) ON (1) Li

Page 99

- 186 - • MSW7-2󲧻 Data length [Outline] Select the data length, which is a serial interface communication condition. Enabled if DSW1-1 OFF is set [

Page 100

- 187 - • MSW7-7: VCom flow control [Outline] In MSW5-3, select the flow control when virtual COM is set. Setting Value VCom Protocal PC settin

Page 101

- 17 - [Sample Program] LPRINT CHR$(&H1B);"!"; CHR$(&H00);"H"; LPRINT CHR$(&H1B);"!"; CHR$(&

Page 102 - - 100

- 188 - • MSW9-2󲧻 International character [Outline] Select the international character. Setting Value Int’Char Set USA, France, Germany, UK, Den

Page 103 - - 101

- 189 - • MSW10-3󲧻 ACK output timing [Outline] Select the ACK signal output timing in parallel interface. Setting Value ACK Timing Before Busy,

Page 104 - - 102

REVISION Rev No. Date Comment 0.00 2006/01/31 Newly issued 0.01 2006/2/8 revised page 175-188 0.02 2006/3/23 added new function to <GS ( E>f

Page 105 - - 103

- 18 - ESC % n [Function] Specifying/canceling download character set [Code] <1B>H<25>H<n> [Range

Page 106 - - 104

- 19 - ESC & s n m [a Page s x a] m–n+1 [Function] Defining the download characters [Code] <1B>H<26>H<s>

Page 107 - - 105

- 20 - ESC – n [Function] Specifying /canceling underline [Code] <1B>H<2D>H<n> [Range] 0≤n

Page 108 - - 106

- 21 - ESC ? n [Function] Deleting download characters [Code] <1B>H<3F>H<n> [Range] 32≤n≤1

Page 109 - GS c

- 22 - ESC E n [Function] Specifying/canceling emphasis printing [Code] <1B>H<45>H<n> [Range]

Page 110 - - 108

- 23 - ESC G n [Function] Specifying/canceling double strike printing [Code] <1B>H<47>H<n> [Rang

Page 111 - - 109

- 24 - ESC M n [Function] Selection of character fonts [Code] <1B>H<4D>H<n> [Range] 0≤n≤2

Page 112 - - 110

- 25 - ESC V n [Function] Specifying/canceling 90°-right-turned characters [Code] <1B>H<56>H<n>

Page 113 - - 111

- 26 - ESC t n [Function] Selecting the character code table [Code] <1B>H<74>H<n> [Range]

Page 114 - - 112

- 27 - ESC { n [Function] Specifying/canceling the inverted characters [Code] <1B>H<7B>H<n> [Ran

Page 115 - - 113

- 1 - TABLE OF CONTENTS 1. OUTLINE...

Page 116 - - 114

- 28 - ESC ~ J n (Valid in CBM1000II-Compatible Mode) [Function] Specifies/cancels printing in red (black-based paper) [Code]

Page 117 - - 115

- 29 - DC3 n (Valid in CBM1000II-Compatible Mode) [Function] Specifies/cancels printing in red (black-based paper) [Code]

Page 118 - - 116

- 30 - GS ! n [Function] Specifying the character size [Code] <1D>H<21>H<n> [Range] 0≤n≤25

Page 119 - - 117

- 31 - GS B n [Function] Specifying/canceling the black/white inverted printing [Code] <1D>H<42>H<n&

Page 120 - - 118

- 32 - GS b n [Function] Specifying/canceling the smoothing [Code] <1D>H<62>H<n> [Range] 0

Page 121 - - 119

- 33 - 2.2.3 Print Position Commands HT [Function] Horizontal tab [Code] <09>H [Outline] Shifts the pri

Page 122 - - 120

- 34 - ESC $ n1 n2 [Function] Specifying the absolute positions [Code] <1B>H<24>H<n1><n2> [

Page 123 - - 121

- 35 - ESC D [ n ] k NULL [Function] Setting horizontal tab position [Code] <1B>H<44>H [<n>] k<00&g

Page 124 - - 122

- 36 - ESC T n [Function] Selecting the character printing direction in PAGE MODE [Code] <1B>H<54>H<

Page 125 - Page of Work Area

- 37 - ESC W xL xH yL yH dxL dxH dyL dyH [Function] Defining the print area in PAGE MODE [Code] <1B>H<57>H<xL&g

Page 126

- 2 - 2.2.4 Line Feed Span Commands... 45 ESC 2 (Specifying

Page 127 - - 125

- 38 - ESC \ nL nH [Function] Specifying the relative position [Code] <1B>H<5C>H<nL><nH> [R

Page 128 - - 126

- 39 - ESC a n [Function] Aligning the characters [Code] <1B>H<61>H<n> [Range] 0≤n≤2

Page 129 - - 127

- 40 - GS $ nL nH [Function] Specifying the absolute position of character vertical direction in PAGE MODE [Code] <

Page 130 - - 128

- 41 - GS L nL nH [Function] Setting the left margin [Code] <1D>H<4C>H<nL><nH> [Range]

Page 131 - - 129

- 42 - GS W nL nH [Function] Setting the print area width [Code] <1D>H<57>H<nL><nH> [Range]

Page 132 - - 130

- 43 - (2) If a sufficient area cannot be provided as a result of step (1), the print area is extended toward the left (so, the left margin is decre

Page 133 - - 131

- 44 - GS \ nL nH [Function] Specifying the relative vertical position of a character in PAGE MODE [Code] <1D>H

Page 134 - - 132

- 45 - 2.2.4 Line Feed Span Commands ESC 2 [Function] Specifying 1/6-inch line feed rate [Code] <1B>H<32>

Page 135 - - 133

- 46 - ESC 3 n [Function] Setting line feed rate of minimum pitch [Code] <1B>H<33>H<n> [Range]

Page 136 - - 134

- 47 - 2.2.5 Bit Image Commands ESC * m n1 n2 [ d ] k [Function] Specifying the bit image mode [Code] <1B>H<2A>

Page 137 - - 135

- 3 - GS ( L pL pH m fn [parameter] (Specifying graphics data)... 89 GS 8 L p1 p2 p3 p4 m fn

Page 138 - - 136

- 48 - [Sample Program] LPRINT CHR$(&H1B);"*"; LPRINT CHR$(0); CHR$(20); CHR$(0); IMG1: GOSUB IMG1 LPRINT CHR$

Page 139 - 2.2.15 Other Commands

- 49 - GS * n1 n2 [ d ] n1 x n2 x 8 [Function] Defining the download bit image [Code] <1D>H<2A>H<n1><n2

Page 140 - - 138

- 50 - [Sample Program] GOSUB IMG LPRINT CHR$(&H1D);"/"; CHR$(0); LPRINT CHR$(&H1D);"/"; CHR$(1); LP

Page 141 - - 139

- 51 - GS / m [Function] Printing the downloaded bit image [Code] <1D>H<2F>H<m> [Range] 0≤

Page 142 - - 140

- 52 - GS v 0 m xL xH yL yH d1...dk [Function] Printing of raster bit image [Code] <1D>H<76>H<30>H<m&g

Page 143 - - 141

- 53 - [Example] When xL + xH x 256 = 64 (xL + xH x 256) 8 dots = 512 dots yL + yH x 256 dots 7 6 5 4 3

Page 144 - ESC @

- 54 - 2.2.6 Status Commands DLE EOT n [Function] Sending status in real-time [Code] <10>H<04>H<n>

Page 145 - ESC L

- 55 - (1) Printer status (When n = 1 is specified) Bit Status Hex. Decimal0 Fixed 00 0 1 Fixed 02 2 Status of pin 3 of drawer kick

Page 146 - ESC S

- 56 - (3) Status caused by an error (when n = 3 is specified) Bit Status Hex. Decimal0 Fixed 00 0 1 Fixed 02 2 No B.M detection er

Page 147 - - 145

- 57 - ESC u n (Serial Model Only) 󲪄[Function] Sending the peripheral device status [Code] <1B>H<75>H<n>

Page 148 - ESC RS

- 4 - 2.2.15 Other Commands ... 137 DLE ENQ n (R

Page 149 - - 147

- 58 - ESC v n (Serial Model Only) [Function] Transmission of printer status [Code] <1D>H<61>H<n> [Outlin

Page 150 - GS I n

- 59 - GS a n [Function] Enabling/disabling ASB (Automatic Status Back) [Code] <1D>H<61>H<n> [Ra

Page 151 - - 149

- 60 - (1) 1st byte (Printer information) Bit Status Hex. Decimal0 Unused 00 0 1 Unused 00 0 Status of pin 3 of drawer kick-out conne

Page 152 - - 150

- 61 - (4) 4th byte (Paper Sensor information) Bit Status Hex. Decimal0 Undefined — — 1 Undefined — — 2 Undefined — — 3 Undefin

Page 153 - 3. CHARACTER CODE TABLE

- 62 - GS r n [Function] Sending status [Code] <1D>H<72>H<n> [Range] 1≤n≤2 49≤n≤50 [

Page 154 - - 152

- 63 - • Drawer kick-out connector status (n = 2, 50) Bit Status Hex. DecimalStatus of pin 3 of drawer kick connector = “L” 00 0 0 Stat

Page 155 - - 153

- 64 - 2.2.7 Paper Detecting Commands ESC c 3 n [Function] Selecting the Paper Sensor valid for a Paper-end signal output [

Page 156 - - 154

- 65 - ESC c 4 n [Function] Selecting the Paper Near-end Sensor valid for print stop [Code] <1B>H<63>H<

Page 157 - - 155

- 66 - 2.2.8 Panel Switch Commands ESC c 5 n [Function] Enabling/disabling the panel switches [Code] <1B>H<6

Page 158 - - 156

- 67 - 2.2.9 Macro Commands GS : [Function] Starting/ending macro definition [Code] <1D>H<3A>H [Outlin

Page 159 - - 157

- 5 - 1. OUTLINE 1.1 Operation Mode CT-S2000 has ESC/POSTM as control commands. 1.2 Character Set

Page 160 - - 158

- 68 - GS ^ n1 n2 n3 [Function] Executing the macro [Code] <1D>H<5E>H<n1><n2><n3> [Rang

Page 161 - - 159

- 69 - 2.2.10 Cutter Commands ESC i [Function] Full cutting of paper [Code] <1B>H<69>H [Outline]

Page 162 - - 160

- 70 - ESC m [Function] Partial cutting of paper [Code] <1B>H<6D>H [Outline] Executes partial cu

Page 163 - - 161

- 71 - GS V m ... (1) GS V m n ... (2) [Function] Cutting the paper [Code] (1) <1D>H<56>H<m>

Page 164 - - 162

- 72 - 2.2.11 Bar Code Commands GS H n [Function] Selecting of printing position of HRI characters [Code] <1D>

Page 165 - - 163

- 73 - [Print Results] No HRI characters Printed above Printed below Printed above and

Page 166 - 4. APPENDIX

- 74 - GS f n [Function] Selecting the font of HRI characters [Code] <1D>H<66>H<n> [Range]

Page 167 - A Baseline

- 75 - GS h n [Function] Specifying the height of the bar code [Code] <1D>H<68>H<n> [Range]

Page 168 - - 166

- 76 - GS k m [d1 ... dk] NULL ... (1) GS k m n [d1 ... dn] ... (2) [Function] Printing the bar code [Code

Page 169 - - 167

- 77 - [Caution] For (1): • This command ends with a NULL code. • For UPC-A or UPC-E, the bar code is printed when 12 bytes of bar code data ha

Page 170 - - 168

- 6 - 2. CONTROL COMMANDS 2.1 ESC/POS Command List 󲪄 󲪄 Print Control Commands Command Function MODE GS P LF Printing and paper feed

Page 171 - 4.2.2 Interfacing Phases

- 78 - [Description of Bar Codes] UPC-A This bar code, consisting of numerals only, has a fixed length of 12 columns; a 11- column number entered

Page 172 - 4.2.3 Negotiation

- 79 - Control Character Control Character ASCII Hex. HRI Character ASCII Hex. HRI Character NULL 00 ■U DLE 10 ■P SOH 01 ■A DC1 11 ■Q STX 02 ■B

Page 173 - - 171

- 80 - When sending print data, note these points: (1) Each string of bar code data must begin with a code set select character (CODE A, CODE B, or

Page 174 - - 172

- 81 - [Bar Code Print Example] UPC-A, UPC-E, JAN-13 (EAN), JAN-8 (EAN), CODE39, ITF, CODABAR, CODE93, CODE128 Type Print Sample Outline of S

Page 175 - - 173

- 82 - GS w n [Function] Specifying the horizontal size (magnification) of bar code [Code] <1D>H<77>H

Page 176 - - 174

- 83 - 2.2.12 Commands for Non-volatile Memory GS ( C pL pH m fn b[c1 c2][d1...dk] [Function] Editing user NV memory [Outline]

Page 177 - - 175

- 84 - fn = 0, 48: Function 0 Erasing Specified Record GS ( C pL pH m fn b c1 c2 [Code] <1D>H<28>H<43>H<

Page 178 - 4.4.1 Memory Switches

- 85 - fn = 2, 50: Function 2 Sending Data Stored in Specified Record GS ( C pL pH m fn b c1 c2 [Code] <1D>H<28>

Page 179 - - 177

- 86 - fn = 3, 51: Function 3 Sending Use Amount GS ( C pL pH m fn b [Code] <1D>H<28>H<43>H<pL><

Page 180 - - 178

- 87 - fn = 5, 53: Function 5 Sending Key Code List of Stored Record GS ( C pL pH m fn b [Code] <1D>H<28>H<

Page 181 - - 179

- 7 - 󲪄Line Feed Span Commands Command Function MODE GS P ESC 2 Specifying 1/6-inch line feed rate S.P. ESC 3 Setting line feed rate of minimum

Page 182 - - 180

- 88 - fn = 6, 54: Function 6 Erasing All User NV Memory Area in a Lump GS ( C pL pH m fn b [d1 d2 d3] [Code] <1D>H<2

Page 183 - - 181

- 89 - GS ( L pL pH m fn [parameter] GS 8 L p1 p2 p3 p4 m fn [parameter] [Function] Specifying graphics data [Code] <1D&

Page 184 - - 182

- 90 - fn = 0, 48: Function 48 Sending NV Graphics Memory Capacity GS ( L pL pH m fn [Code] <1D>H<28>H<4C&

Page 185 - - 183

- 91 - fn = 64: Function 64 Sending Key Code List of Defined NV Graphics GS ( L pL pH m fn d1 d2 [Code] <1D>H<28>

Page 186 - - 184

- 92 - fn = 65: Function 65 Erasing All Data of NV Graphics in a Lump GS ( L pL pH m fn d1 d2 d3 [Code] <1D>H<28>H

Page 187 - - 185

- 93 - fn = 67: Function 67 Defining Raster Type Graphics Data to NV Memory GS ( L pL pH m fn a kc1 kc2 b xL xH yL yH [c d1…d

Page 188 - - 186

- 94 - fn = 69: Function 69 Printing Specified Graphics GS ( L pL pH m fn kc1 kc2 x y [Code] <1D>H<28>H<4C>H<

Page 189 - - 187

- 95 - fn = 112: Function 112 Storing Raster Type Graphics Data to Print Buffer GS ( L pL pH m fn a bx by c xL xH yL yH d1…dk [Code]

Page 190 - - 188

- 96 - GS g 0 m nL nH [Function] Initializing maintenance counter [Code] <1D>H<67>H<30>H<m><n

Page 191 - - 189

- 97 - GS g 2 m nL nH [Function] Sending maintenance counter [Code] <1D>H<67>H<32>H<m><nL>

Comments to this Manuals

No comments