Resumen del contenido incluido en la página 1
Command Reference
MODEL : CT-S280
CT-S300
CT-S2000
CT-S4000
BD2-2220
CT-S310
PMU2XXX
Revision 0.04 2007/8/29
Resumen del contenido incluido en la página 2
REVISON Rev No. Date Comment 0.00 2006/9/26 Newly isuued 0.01 2006/11/22 Add program sample for FS p and FS q 0.02 2007/2/26 Revised page 153,155,159,169,205-207 0.03 2007/5/21 Supported CT-S310 0.04 2007/8/29 Supported PMU2XXX CITIZEN is a registered trade mark of CITIZEN HOLDINGS CO., LTD., Japan. CITIZEN es una marca registrada de CITIZEN HOLDINGS CO., LTD., Japón.
Resumen del contenido incluido en la página 3
TABLE OF CONTENTS TABLE OF CONTENTS................................................................................... 3 1. OUTLINE................................................................................................... 9 1.1 OPERATION MODE .........................................................................................................9 1.2 CHARACTER SET.............................................................................................................9 1.3
Resumen del contenido incluido en la página 4
ESC t n...........................................................................................................................................51 ESC { n ..........................................................................................................................................52 ESC ~ J n (Valid in CBM-270-Compatible Mode)......................................................................53 ESC ~ J n (Valid in CBM1000-Compatible Mode)....................................
Resumen del contenido incluido en la página 5
2.2.11 Cutter Commands....................................................................................................... 100 ESC i ............................................................................................................................................100 ESC m..........................................................................................................................................101 GS V m ・・・ (1)......................................................
Resumen del contenido incluido en la página 6
2.2.15 Black Mark Control Commands ................................................................................. 143 GS FF ...........................................................................................................................................143 GS < ............................................................................................................................................143 GS A m n....................................................................
Resumen del contenido incluido en la página 7
fn=82: Function 82 Sending the size of 2-dimensional code data in 2-dimensional code data storage area.........................................................................................................................................................214 fn=65: Function 165 Specifying QRCode model ..................................................................................215 fn=67: Function 167 Sets the module width of QRCode ......................................................
Resumen del contenido incluido en la página 8
4. MEMORY SWITCH................................................................................265 4.1 MEMORY SWITCHES .................................................................................................. 265 4.1.1 CT-S280.......................................................................................................................... 265 4.1.2 CT-S300.......................................................................................................................
Resumen del contenido incluido en la página 9
1. OUTLINE 1.1 Operation Mode Our printer has ESC/POSTM as control commands. 1.2 Character Set All print data sent from the host computer to the printer are automatically converted to one-byte alphanumeric or katakana characters (ANK) or two-byte Kanji corresponding to the characters and symbols. NOTE: For the contents of character set, refer to Character Code Table of this document. 1.3 Control Commands 1.3.1 Control Command Details Control Commands are used for controlling the o
Resumen del contenido incluido en la página 10
2. CONTROL COMMANDS 2.1 ESC/POS Command List 2.1.1 CT-S280 Print Control Commands Commands Function MODE GS P Page LF Printing and paper feed S・P 31 CR Back to printing S・P 32 Printing in PAGE MODE and returning to STANDARD FF P 33 MODE (at the selection of PAGE MODE) ESC FF Printing data in PAGE MODE P 34 ESC J Printing and feeding paper in minimum pitch S・P ○ 35 S・P ESC d Printing and feeding the paper by “n” lines 36 Print Character Commands Command Function MODE GS
Resumen del contenido incluido en la página 11
Line Feed Span Commands Command Function MODE GS P Page S・P ESC 2 Specifying initial line feed rate 74 ESC 3 Setting line feed rate of minimum pitch S・P ○ 75 Bit Image Commands Command Function MODE GS P Page ESC * Specifying the bit image mode S・P 76 S・P GS * Defining the download bit image 77 GS / Printing the downloaded bit image S・P 78 GS v 0 Printing of raster bit image S 79 Status Commands Command Function MODE GS P Page DLE EOT Sending status in real-time S・P
Resumen del contenido incluido en la página 12
Kanji Control Commands Command Function MODE GS P Page S・P FS ! Collectively setting Kanji print mode 132 FS & Setting Kanji mode S・P 133 S・P FS - Setting/Canceling Kanji underline 134 FS . Canceling Kanji mode S・P 135 S・P FS 2 Defining external character 136 FS C Selecting Kanji code system S・P 138 S・P ○ FS S Setting Kanji space amount 140 FS W Setting/Canceling four times enlargement of Kanji S・P 141 S・P FS ( A Setting font attribute of Kanji 142 Printer Func
Resumen del contenido incluido en la página 13
2.1.2 CT-S300/CT-S310 Print Contorl Commands Command Function MODE GS P Page LF Printing and paper feed S・P 31 S・P CR Back to printing 32 (1)Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) FF P 33 (2)Printing of Black mark and paper feeding to the top of the print position (with Black mark paper selected) ESC FF Printing data in PAGE MODE P 34 ESC J Printing and feeding paper in minimum pitch S・P ○ 35 S・P ESC d Printing and feeding the
Resumen del contenido incluido en la página 14
Line Feed Span Commands Command Function MODE GS P Page S・P ESC 2 Specifying initial line feed rate 74 ESC 3 Setting line feed rate of minimum pitch S・P ○ 75 Bit Image Commands Command Function MODE GS P Page ESC * Specifying the bit image mode S・P 76 S・P GS * Defining the download bit image 77 GS / Printing the downloaded bit image S・P 78 GS v 0 Printing of raster bit image S 79 Status Commands Command Function MODE GS P Page DLE EOT Sending status in real-time S・P
Resumen del contenido incluido en la página 15
Kanji Control Commands Command Function MODE GS P Page S・P FS ! Collectively setting Kanji print mode 132 FS & Setting Kanji mode S・P 133 S・P FS - Setting/Canceling Kanji underline 134 FS . Canceling Kanji mode S・P 135 S・P FS 2 Defining external character 136 FS C Selecting Kanji code system S・P 138 S・P ○ FS S Setting Kanji space amount 140 FS W Setting/Canceling four times enlargement of Kanji S・P 141 S・P FS ( A Setting font attribute of Kanji 142 Black Mark
Resumen del contenido incluido en la página 16
2.1.3 CT-S2000 Print Contorl Commands Command Function MODE GS P Page LF Printing and paper feed S・P 31 S・P CR Back to printing 32 (1)Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) FF P 33 (2)Printing of Black mark and paper feeding to the top of the print position (with Black mark paper selected) ESC FF Printing data in PAGE MODE P 34 ESC J Printing and feeding paper in minimum pitch S・P ○ 35 S・P ESC d Printing and feeding the paper
Resumen del contenido incluido en la página 17
Line Feed Span Commands Command Function MODE GS P Page S・P ESC 2 Specifying initial line feed rate 74 ESC 3 Setting line feed rate of minimum pitch S・P ○ 75 Bit Image Commands Command Function MODE GS P Page ESC * Specifying the bit image mode S・P 76 S・P GS * Defining the download bit image 77 GS / Printing the downloaded bit image S・P 78 GS v 0 Printing of raster bit image S 79 Status Commands Command Function MODE GS P Page DLE EOT Sending status in real-time S・P
Resumen del contenido incluido en la página 18
Commands for Non-volatile Memory Command Function MODE GS P Page GS ( C Editing user NV memory S 112 GS ( L Specifying graphics data S 118 GS 8 L GS g 0 Initializing maintenance counter S 126 GS g 2 Sending maintenance counter S 127 FS p Printing the download NV bit images S 128 FS q Defining the download NV bit image S 130 Kanji Control Commands Command Function MODE GS P Page FS ! Collectively setting Kanji print mode S・P 132 S・P FS & Setting Kanji mode 133
Resumen del contenido incluido en la página 19
Other Commands Command Function MODE GS P Page S・P DLE ENQ Real-time request to printer 219 DLE DC4 Outputting specified pulse in real-time/Buffer clear S・P 220/221 ESC = S・P Data input control 222 ESC @ Initializing the printer S・P 223 ESC L Selecting PAGE MODE S 224 ESC S Selecting STANDARD MODE P 225 ESC p Generating the specified pulses S・P 226 GS ( A Execution of test printing S 227 GS I Sending the printer ID S・P 228 GS P Specifying the basic calculation
Resumen del contenido incluido en la página 20
2.1.4 CT-S4000 Print Contorl Commands Command Function MODE GS P Page LF Printing and paper feed S・P 31 S・P CR Back to printing 32 (1)Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) FF P 33 (2)Printing of Black mark and paper feeding to the top of the print position (with Black mark paper selected) ESC FF Printing data in PAGE MODE P 34 ESC J Printing and feeding paper in minimum pitch S・P ○ 35 S・P ESC d Printing and feeding the paper