Page 2
GS I n=92 description of CT-S251 is changed. MSW6-3, MSW13-3 and MSW13-6 description is changed. ESC/POS is a trade mark of SEIKO EPSON Corporation. CITIZEN is a registered trade mark of CITIZEN HOLDINGS CO., LTD., Japan. CITIZEN es una marca registrada de CITIZEN HOLDINGS CO., LTD., Japón.
1.3.2 How to Send Control Commands ....................... 8 2. DETAIL ........................9 2.1 ESC/POS C ........................ 9 OMMAND 2.1.1 CT-S280 ..............................9 2.1.2 CT-S281 ..............................12 2.1.3 CT-S300 ..............................15 2.1.4 CT-S310 ..............................18 2.1.5 CT-S310II ............................21 2.1.6 CT-S2000.............................. 25 2.1.7 CT-S4000..............................
Page 4
ESC M n ................................66 ESC R n ................................67 ESC V n ................................68 ESC t n ................................69 ESC { n ................................70 ESC ˜ J n (Valid in CBM-270-Compatible Mode) ..................71 ESC ˜ J n (Valid in CBM1000-Compatible Mode) ..................72 DC3 n (Valid in CBM-270-Compatible Mode) ....................
Page 5
2.2.12 Bar Code Commands ........................134 GS H n................................134 GS f n ................................135 GS h n ................................136 (1)GS k m [d1...dk] NUL ..........................137 (2)GS k m n [d1...dn] ............................ 137 GS w n ................................143 2.2.13 Commands for Non-volatile Memory ..................144 GS ( L pL pH m fn [parameter] ........................
Page 6
FS FF ................................. 184 2.2.16 Printer Function Setting Commands ..................185 GS ( E pL pH fn […] ............................185 fn=1: Function 1 Transferring to Printer Function Setting Mode ..................... 186 fn=2: Function 2 End of Printer Function Setting Mode ......................186 fn=3: Function 3 Setting Memory Switch Value ........................
BASIC programming is explained. Example 1 Let’s print a character string “CITIZEN” in enlarged (double-height, double-width) and in normal format. Program coding The Control Command shows that the command name for setting the size of a character is GS !. Let’s make a program using this code.
2. DETAIL 2.1 ESC/POS Command List 2.1.1 CT-S280 Print Control Commands Commands Function MODE GS P Page Printing and paper feed S・P S・P Back to printing Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE)
Page 11
Print Position Commands Command Function MODE GS P Page Horizontal tab S・P S・P ESC $ Specifying the absolute positions ○ S・P ESC D Setting horizontal tab position ESC T Selecting the character printing direction in PAGE MODE ESC W Defining the print area in PAGE MODE ○...
Bar Code Commands Command Function MODE GS P Page GS H Selecting of printing position of HRI characters S・P GS f Selecting the font of HRI characters S・P GS h Specifying the height of the bar code S・P GS k Printing the bar code S・P S・P...
2.1.2 CT-S281 Print Control Commands Commands Function MODE GS P Page S・P Printing and paper feed Back to printing S・P (1)Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) (2)Printing of Black mark and paper feeding to the top of the print position (with Black mark/Label paper selected) ESC FF Printing data in PAGE MODE...
Page 14
Line Feed Span Commands Command Function MODE GS P Page ESC 2 Specifying initial line feed rate S・P S・P ESC 3 Setting line feed rate of minimum pitch ○ Bit Image Commands Command Function MODE GS P Page S・P ESC * Specifying the bit image mode GS * Defining the download bit image...
Kanji Control Commands Command Function MODE GS P Page S・P FS ! Collectively setting Kanji print mode FS & Setting Kanji mode S・P FS - Setting/Canceling Kanji underline S・P FS . Canceling Kanji mode S・P S・P FS 2 Defining external character S・P FS C Selecting Kanji code system...
2.1.3 CT-S300 Print Control Commands Command Function MODE GS P Page S・P Printing and paper feed Back to printing S・P (1)Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) (2)Printing of Black mark/Label paper and feeding paper to the top of the print position (with Black mark/Label paper selected) ESC FF...
Page 17
Line Feed Span Commands Command Function MODE GS P Page S・P ESC 2 Specifying initial line feed rate ESC 3 Setting line feed rate of minimum pitch S・P ○ Bit Image Commands Command Function MODE GS P Page S・P ESC * Specifying the bit image mode GS * Defining the download bit image...
Page 18
Commands for Non-volatile Memory Command Function MODE GS P Page FS p Printing the download NV bit images FS q Defining the download NV bit image Kanji Control Commands Command Function MODE GS P Page S・P FS ! Collectively setting Kanji print mode S・P FS &...
2.1.4 CT-S310 Print Control Commands Command Function MODE GS P Page S・P Printing and paper feed Back to printing S・P (1)Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) (2)Printing of Black mark/Label paper and feeding paper to the top of the print position (with Black mark/Label paper selected) ESC FF...
Page 20
Line Feed Span Commands Command Function MODE GS P Page S・P ESC 2 Specifying initial line feed rate ESC 3 Setting line feed rate of minimum pitch S・P ○ Bit Image Commands Command Function MODE GS P Page S・P ESC * Specifying the bit image mode S・P GS *...
Page 21
Commands for Non-volatile Memory Command Function MODE GS P Page FS p Printing the download NV bit images FS q Defining the download NV bit image Kanji Control Commands Command Function MODE GS P Page S・P FS ! Collectively setting Kanji print mode FS &...
2.1.5 CT-S310II Print Control Commands Command Function MODE GS P Page S・P Printing and paper feed Back to printing S・P (1)Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) (2)Printing of Black mark/Label paper and feeding paper to the top of the print position (with Black mark/Label paper selected) ESC FF...
Page 23
Line Feed Span Commands Command Function MODE GS P Page ESC 2 Specifying initial line feed rate S・P ESC 3 Setting line feed rate of minimum pitch S・P ○ Bit Image Commands Command Function MODE GS P Page S・P ESC * Specifying the bit image mode S・P GS *...
Page 24
Commands for Non-volatile Memory Command Function MODE GS P Page GS ( L Specifying graphics data GS 8 L FS p Printing the download NV bit images FS q Defining the download NV bit image Kanji Control Commands Command Function MODE GS P Page...
Page 25
Other Commands Command Function MODE GS P Page DLE ENQ Real-time request to printer S・P DLE DC4 Outputting specified pulse in real-time/Buffer clear S・P 318/319 ESC = Data input control S・P ESC @ Initializing the printer S・P ESC L Selecting PAGE MODE ESC S Selecting STANDARD MODE S・P...
2.1.6 CT-S2000 Print Control Commands Command Function MODE GS P Page S・P Printing and paper feed Back to printing S・P (1)Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) (2)Printing of Black mark/Label paper and feeding paper to the top of the print position (with Black mark/Label paper selected) ESC FF...
Page 27
Line Feed Span Commands Command Function MODE GS P Page S・P ESC 2 Specifying initial line feed rate ESC 3 Setting line feed rate of minimum pitch S・P ○ Bit Image Commands Command Function MODE GS P Page S・P ESC * Specifying the bit image mode GS * Defining the download bit image...
Page 28
Commands for Non-volatile Memory Command Function MODE GS P Page GS ( L Specifying graphics data GS 8 L FS p Printing the download NV bit images FS q Defining the download NV bit image Kanji Control Commands Command Function MODE GS P Page...
Page 29
Other Commands Command Function MODE GS P Page S・P DLE ENQ Real-time request to printer DLE DC4 Outputting specified pulse in real-time/Buffer clear S・P 318/319 ESC = Data input control S・P S・P ESC @ Initializing the printer ESC L Selecting PAGE MODE ESC S Selecting STANDARD MODE ESC p...
2.1.7 CT-S4000 Print Control Commands Command Function MODE GS P Page S・P Printing and paper feed Back to printing S・P (1)Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) (2)Printing of Black mark/Label paper and feeding paper to the top of the print position (with Black mark/Label paper selected) ESC FF...
Page 31
Line Feed Span Commands Command Function MODE GS P Page S・P ESC 2 Specifying initial line feed rate ESC 3 Setting line feed rate of minimum pitch S・P ○ Bit Image Commands Command Function MODE GS P Page S・P ESC * Specifying the bit image mode GS * Defining the download bit image...
Page 32
Commands for Non-volatile Memory Command Function MODE GS P Page GS ( L Specifying graphics data GS 8 L FS p Printing the download NV bit images FS q Defining the download NV bit image Kanji Control Commands Command Function MODE GS P Page...
Page 33
Other Commands Command Function MODE GS P Page S・P DLE ENQ Real-time request to printer DLE DC4 Outputting specified pulse in real-time/Buffer clear S・P 318/319 ESC = Data input control S・P S・P ESC @ Initializing the printer ESC L Selecting PAGE MODE ESC S Selecting STANDARD MODE ESC p...
2.1.8 CT-S601/651/801/851 Print Control Commands Command Function MODE GS P Page S・P Printing and paper feed Back to printing S・P (1)Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) (2)Printing of Black mark/Label paper and feeding paper to the top of the print position (with Black mark/Label paper selected) ESC FF...
Page 35
Line Feed Span Commands Command Function MODE GS P Page S・P ESC 2 Specifying initial line feed rate ESC 3 Setting line feed rate of minimum pitch S・P ○ Bit Image Commands Command Function MODE GS P Page S・P ESC * Specifying the bit image mode GS * Defining the download bit image...
Page 36
Commands for Non-volatile Memory Command Function MODE GS P Page GS ( L Specifying graphics data GS 8 L FS p Printing the download NV bit images FS q Defining the download NV bit image Kanji Control Commands Command Function MODE GS P Page...
Page 37
Other Commands Command Function MODE GS P Page S・P DLE ENQ Real-time request to printer DLE DC4 Outputting specified pulse in real-time/Buffer clear S・P 318/319 ESC = Data input control S・P S・P ESC @ Initializing the printer ESC L Selecting PAGE MODE ESC S Selecting STANDARD MODE ESC p...
2.1.9 CT-S601 II/CT-S651 II/CT-S801 II/CT-S851 II Print Control Commands Command Function MODE GS P Page S・P Printing and paper feed Back to printing S・P (1)Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) (2)Printing of Black mark/Label paper and feeding paper to the top of the print position (with Black mark/Label paper selected) ESC FF...
Page 39
Line Feed Span Commands Command Function MODE GS P Page S・P ESC 2 Specifying initial line feed rate ESC 3 Setting line feed rate of minimum pitch S・P ○ Bit Image Commands Command Function MODE GS P Page S・P ESC * Specifying the bit image mode GS * Defining the download bit image...
Page 40
Commands for Non-volatile Memory Command Function MODE GS P Page GS ( L Specifying graphics data GS 8 L GS D Definition to NV Memory of Windows Bitmap FS p Printing the download NV bit images FS q Defining the download NV bit image Kanji Control Commands Command Function...
Page 41
Gray Scale Commands Command Function MODE GS P Page Print of the gray scale raster graphics (_z_GrayBMP Specifying WaterMark Printing WaterMark Other Commands Command Function MODE GS P Page DLE ENQ Real-time request to printer S・P DLE DC4 Outputting specified pulse in real-time/Buffer clear S・P 318/319 S・P...
2.1.10 CT-S251 Print Control Commands Command Function MODE GS P Page S・P Printing and paper feed Back to printing S・P Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) ESC FF Printing data in PAGE MODE ESC J Printing and feeding paper in minimum pitch S・P...
Page 43
Line Feed Span Commands Command Function MODE GS P Page ESC 2 Specifying initial line feed rate S・P ESC 3 Setting line feed rate of minimum pitch S・P ○ Bit Image Commands Command Function MODE GS P Page S・P ESC * Specifying the bit image mode S・P GS *...
Page 44
Commands for Non-volatile Memory Command Function MODE GS P Page GS ( L Specifying graphics data GS 8 L GS D Definition to NV Memory of Windows Bitmap FS p Printing the download NV bit images FS q Defining the download NV bit image Kanji Control Commands Command Function...
Page 45
Gray Scale Commands Command Function MODE GS P Page Print of the gray scale raster graphics (_z_GrayBMP Specifying WaterMark Printing WaterMark Other Commands Command Function MODE GS P Page S・P DLE ENQ Real-time request to printer S・P DLE DC4 Outputting specified pulse in real-time/Buffer clear 318/319 S・P ESC =...
2.1.11 CT-P29x series Print Control Commands Command Function MODE GS P Page S・P Printing and paper feed Back to printing S・P (1)Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) (2)Printing of Black mark/Label paper and feeding paper to the top of the print position (with Black mark/Label paper selected) ESC FF...
Page 47
Line Feed Span Commands Command Function MODE GS P Page S・P ESC 2 Specifying initial line feed rate ESC 3 Setting line feed rate of minimum pitch S・P ○ Bit Image Commands Command Function MODE GS P Page ESC * Specifying the bit image mode S・P GS *...
Page 48
Kanji Control Commands Command Function MODE GS P Page FS ! Collectively setting Kanji print mode S・P FS & Setting Kanji mode S・P FS - Setting/Canceling Kanji underline S・P FS . Canceling Kanji mode S・P S・P FS 2 Defining external character S・P FS C Selecting Kanji code system...
2.2 Command Details 2.2.1 Description of Items XXXX support model [Function] The name of a command. [Code] The string of codes comprising the command is represented by < >H for hexadecimal numbers, < >B for binary numbers, and < > for decimal numbers, [ ] k denotes the number of repetition of “k” times. [Range] Indicates the values (setting range) of arguments of the command.
2.2.2 Print Control Commands CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310II [Function] Printing and paper feed [Code] <0A>H [Outline] [The specification which is common to the model] • Prints data inside the print buffer and feeds paper based on the line feed amount having been set.
Page 51
CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310II [Function] Back to printing [Code] <0D>H [Outline] [The specification which is common to the model] (1) MSW* 1-5 OFF: This command is ignored. (2) MSW 1-5 ON: The same operation as LF is executed.
FF (At selection of PAGE MODE) CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310II [Function] Printing in PAGE MODE and returning to STANDARD MODE (at the selection of PAGE MODE) [Code] <0C>H [Outline] [The specification which is common to the model] •...
ESC FF CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310II [Function] Printing data in PAGE MODE [Code] <1B>H<0C>H [Outline] [The specification which is common to the model] • Executes a batch printout of the data mapped in the entire print area in PAGE MODE.
ESC J n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310II [Function] Printing and feeding paper in minimum pitch [Code] <1B>H<4A>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] • Prints the data held in the print buffer and feeds paper by [n×basic calculation pitch] inches.
ESC d n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Printing and feeding the paper by “n” lines [Code] <1B>H<64>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] Prints data in the print buffer and feeds paper by “n”...
2.2.3 Print Character Commands CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Canceling print data in PAGE MODE [Code] <18>H [Outline] [The specification which is common to the model] Erases all data contained in the currently effective print area in PAGE MODE.
ESC SP n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Setting the right spacing of the character [Code] <1B>H<20>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] • Sets the right spacing of character to [n×basic calculation pitch] inches.
ESC ! n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Collectively specifying the printing mode [Code] <1B>H<21>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] Printing mode is assigned.
Page 59
[Caution] • With double height and double width being specified simultaneously, quadruple characters are created. • An underline is attached to the full character width, which, however, is not attached to the part having been skipped by the horizontal tab (HT). Neither is it attached to 90°-right-turned characters. •...
ESC % n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying/canceling download character set [Code] <1B>H<25>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] Specifying/canceling download characters. • “n” is valid only for the lowest bit (n0).
• Download characters thus defined remain valid until redefinition, execution of ESC @, GS *, FS q, GS (A, deletion by ESC ?, or power OFF is performed. [Caution] [The specification which depend on the model] CT-S280/CT-S281/CT-S300/CT-S310/CT-P29x series • Running this command clears the definition of the download bit image. CT-S2000/CT-S4000 CT-S801(II)/CT-S851(II)/CT-S601(II)/CT-S651(II) CT-S251 •...
Page 62
[Example] 12dot 24dot Font A Create each data bit by setting “1” for a printed dot and “0” for an unprinted dot. [Sample Program] Refer to Sample Program and Print Results for ESC %. - 61 -...
ESC - n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying /canceling underline [Code] <1B>H<2D>H<n> [Range] 0≤n≤2, 48≤n≤50 [Outline] [The specification which is common to the model] • Specifying /canceling an underline.
ESC ? n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Deleting download characters [Code] <1B>H<3F>H<n> [Range] 32≤n≤126 [Outline] [The specification which is common to the model] Deletes the downloaded characters of specified code.
ESC E n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying/canceling emphasis printing [Code] <1B>H<45>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] • Specifying/canceling the emphasized characters.
ESC G n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying/canceling double strike printing [Code] <1B>H<47>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] • Specifying /canceling the double strike printing.
ESC M n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Selection of character fonts [Code] <1B>H<4D>H<n> [Range] 0≤n≤2, 48≤n≤50 [Outline] [The specification which is common to the model] • Selects character fonts.
ESC R n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Selecting the international character set [Code] <1B>H<52>H<n> [Range] [The specification which depend on the model] CT-S280/CT-S300 0≦n≦13 CT-S281/CT-S310/CT-S2000/CT-S4000/CT-P29x series 0≦n≦15 CT-S801(II)/CT-S851(II)/CT-S601(II)/CT-S651(II)/CT-S401/CT-S251 0≦n≦16...
ESC V n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying/canceling 90°-right-turned characters [Code] <1B>H<56>H<n> [Range] 0≤n≤1, 48≤n≤49 [Outline] [The specification which is common to the model] • Specifying/canceling 90°-right-turned characters.
ESC t n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Selecting the character code table [Code] <1B>H<74>H<n> [Range] 0≤n≤9, 16≤n≤19, n=26, 40, 255 [The specification which depend on the model] CT-S280/CT-S300/CT-S281/CT-S310/CT-S2000/CT-S4000/...
ESC { n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying/canceling the inverted characters [Code] <1B>H<7B>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] • “n” is valid only for the lowest bit (n0).
ESC ˜ J n (Valid in CBM-270-Compatible Mode) CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifies/cancels printing in red (black-based paper) [Code] <1B>H<7E>H<4A>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] •...
ESC ˜ J n (Valid in CBM1000-Compatible Mode) CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifies/cancels printing in red (black-based paper) [Code] <1B>H<7E>H<4A>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] •...
DC3 n (Valid in CBM-270-Compatible Mode) CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifies/cancels printing in red (black-based paper) [Code] <13>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] •...
DC3 n (Valid in CBM1000-Compatible Mode) CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifies/cancels printing in red (black-based paper) [Code] <13>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] •...
GS ! n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying the character size [Code] <1D>H<21>H<n> [Range] 0≤n≤255 Where: 1≤vertical magnification≤8, 1≤horizontal magnification≤8 [Outline] [The specification which is common to the model] •...
Page 78
[Caution] [The specification which is common to the model] • This command is valid for all characters (alphanumeric, kana, and kanji) except for HRI characters. • This command is ignored if either the vertical magnification or horizontal magnification is out of the defined range.
GS B n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying/canceling the black/white inverted printing [Code] <1D>H<42>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] • This command specifies or cancels the black/white inverted printing.
GS b n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying/canceling the smoothing [Code] <1D>H<62>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] • This command specifies or cancels the smoothing.
2.2.4 Print Position Commands CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Horizontal tab [Code] <09>H [Outline] [The specification which is common to the model] • Shifts the printing position to the next horizontal tab position.
ESC $ n1 n2 CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying the absolute positions [Code] <1B>H<24>H<n1><n2> [Range] 0≤n1≤255 0≤n2≤255 [Outline] [The specification which is common to the model] • The printing start position is specified by the absolute position from the left margin with the number of dots divided by 256 and quotient specified as “n2”...
ESC D [n] k NULL CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Setting horizontal tab position [Code] <1B>H<44>H [<n>] k<00>H [Range] 1≤n≤255 0≤k≤32 [Outline] [The specification which is common to the model] •...
ESC T n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Selecting the character printing direction in PAGE MODE [Code] <1B>H<54>H<n> [Range] 0≤n≤3, 48≤n≤51 [Outline] [The specification which is common to the model] •...
ESC \ nL nH CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying the relative position [Code] <1B>H<5C>H<nL><nH> [Range] 0≤nL≤255 0≤nH≤255 [Outline] [The specification which is common to the model] • This command specifies the next print start position in a relative position with respect to the current position.
ESC a n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Aligning the characters [Code] <1B>H<61>H<n> [Range] 0≤n≤2, 48≤n≤50 [Outline] [The specification which is common to the model] • All the printed data within one line are aligned in the specified position.
GS $ nL nH CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying the absolute position of character vertical direction in PAGE MODE [Code] <1D>H<24>H<nL><nH> [Range] 0≤nL≤255, 0≤nH≤255 [Outline] [The specification which is common to the model] •...
GS L nL nH CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Setting the left margin [Code] <1D>H<4C>H<nL><nH> [Range] 0≤nL≤255, 0≤nH≤255 [Outline] [The specification which is common to the model] • This command sets the left margin specified by nL and nH.
GS W nL nH CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Setting the print area width [Code] <1D>H<57>H<nL><nH> [Range] 0≤nL≤255 0≤nH≤255 [Outline] [The specification which is common to the model] • Sets the print area width specified by nL and nH.
GS \ nL nH CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying the relative vertical position of a character in PAGE MODE [Code] <1D>H<5C>H<nL><nH> [Range] 0≤nL≤255, 0≤nH≤255 [Outline] [The specification which is common to the model] •...
Specifying 1/6-inch line feed rate [Code] <1B>H<32>H [Outline] [The specification which depend on the model] CT-S280/CT-S281/CT-S300/CT-S310/CT-P29x series The line feed rate per line is specified by 1/6 inch. CT-S2000/CT-S4000/CT-S801/CT-S851/CT-S601/CT-S651/CT-S301II The line feed rate per line is specified by MSW5-2 setting. [Caution] [The specification which is common to the model] •...
• The maximum settable line feed width is 1016 mm (40 inches). A setting greater than this maximum is trimmed to the maximum. [Default] [The specification which depend on the model] CT-S280/CT-S281/CT-S300/CT-S310/CT-P29x series Approx. 4.23mm CT-S2000/CT-S4000/ CT-S801(II)/CT-S851(II)/CT-S601(II)/ CT-S65 1(II) /CT-S251 (1) MSW 5-2 OFF: Approx.
2.2.6 Bit Image Commands ESC * m n1 n2 [d] k CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying the bit image mode [Code] <1B>H<2A>H<m>H<n1><n2> [<d>] k [Range] m=0, 1, 32, 33 0≤n1≤255, 0≤n2≤3...
Page 97
CT-S2000/CT-S801(II)/CT-S851(II)/CT-S601(II)/CT-S651(II)/ 58mm 52.5mm CT-S310II/CT-S251 CT-P291 58mm 51mm CT-S801(II)/CT-S851(II)/CT-S601(II)/CT-S651(II)/CT-S310II/CT-S251 58mm 48.75mm CT-S280/CT-S281/CT-S300/CT-S310/CT-S2000/ 58mm 48mm CT-S801(II)/CT-S851(II)/CT-S601(II)/CT-S651(II)/CT-P291/293/CT-S3 10II/CT-S251 CT-S300/CT-S310/CT-S2000/CT-S4000/ 58mm 45mm CT-S801(II)/CT-S851(II)/CT-S601(II)/CT-S651(II)/CT-S310II/CT-S251 [Caution] • When the value of “m” is out of the above range, the data following after “n1” is processed as normal printing data.
[The specification which is common to the model] • Relations between the bit image data and the dots defined are shown below. [The specification which depend on the model] CT-S280/CT-S281/CT-S300/CT-S310/CT-P29x series • With this command executed, the defined content of a downloaded character is cleared. CT-S2000/CT-S4000/CT-S801(II)/CT-S851(II)/CT-S601(II)/CT-S651(II) /CT-S251 •...
GS / m CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Printing the downloaded bit image [Code] <1D>H<2F>H<m> [Range] 0≤m≤3, 48≤m≤51 [Caution] [The specification which is common to the model] • Prints downloaded bit image in a mode specified by “m”.
GS v 0 m xL xH yL yH d1 ... dk CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Printing of raster bit image [Code] <1D>H<76>H<30>H<m><xL><xH><yL><yH> [<d>] k [Range] 0≤m≤3, 48≤m≤51, 0≤xL≤255, 0≤xH≤255, 0≤yL≤255, 0≤yH≤8, 0≤d≤255,...
2.2.7 Status Commands DLE EOT n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Sending status in real-time [Code] <10>H<04>H<n> [Range] 1≤n≤4 [Outline] [The specification which is common to the model] • Sends in real-time the status specified by “n”.
Page 103
CT-S280 (1) Printer status (When n = 1 is specified) (3) Status caused by an error (when n = 3 is specified) Status Hex. Decimal Status Hex. Decimal Fixed Fixed Fixed Fixed Fixed Fixed Online status Fixed Offline status Fixed...
Page 104
CT-S281 (1) Printer status (When n = 1 is specified) (3) Status caused by an error (when n = 3 is specified) Status Hex. Decimal Status Hex. Decimal Fixed Fixed Fixed Fixed No Mechanism error occurred. Fixed Online status No BM detection error occurred.(only when Offline status B.M paper is selected) Fixed...
Page 105
CT-S281 (4) Continuous paper detector status (When n = 4 is specified) Status Hex. Decimal Fixed Fixed Paper found by Paper Near-end Sensor Paper not found by Paper Near-end Sensor Paper found by Paper Near-end Sensor Paper not found by Paper Near-end Sensor Fixed Paper found by Paper-end Sensor Paper not found by Paper-end Sensor...
Page 106
CT-S300/CT-S310 (3) Status caused by an error (when n = 3 is specified) (1) Printer status (When n = 1 is specified) Status Hex. Decimal Status Hex. Decimal Fixed Fixed Fixed Fixed No Mechanism error occurred. Status of pin 3 of drawer kick-out connector = L No BM detection error occurred.(only when Status of pin 3 of drawer kick-out connector = H BM paper is selected)
Page 107
CT-S300/CT-S310 (4) Continuous paper detector status (When n = 4 is specified) Status Hex. Decimal Fixed Fixed Paper found by Paper Near-end Sensor Paper not found by Paper Near-end Sensor Paper found by Paper Near-end Sensor Paper not found by Paper Near-end Sensor Fixed Paper found by Paper-end Sensor Paper not found by Paper-end Sensor...
Page 108
CT-S310II (3) Status caused by an error (when n = 3 is specified) (1) Printer status (When n = 1 is specified) Status Hex. Decimal Status Hex. Decimal Fixed Fixed Fixed Fixed No Mechanism error occurred. Status of pin 3 of drawer kick-out connector = L A Mechanism error occurred.
Page 109
CT-S2000 (3) Status caused by an error (when n = 3 is specified) (1) Printer status (When n = 1 is specified) Status Hex. Decimal Status Hex. Decimal Fixed Fixed Fixed Fixed No Mechanism error occurred. Status of pin 3 of drawer kick-out connector = L No BM/Label detection error occurred.(only Status of pin 3 of drawer kick-out connector = H when BM/Label paper is selected)
Page 110
CT-S2000 (4) Continuous paper detector status (When n = 4 is specified) Status Hex. Decimal Fixed Fixed Paper found by Paper Near-end Sensor Paper not found by Paper Near-end Sensor Paper found by Paper Near-end Sensor Paper not found by Paper Near-end Sensor Fixed Paper found by Paper-end Sensor Paper not found by Paper-end Sensor...
Page 111
CT-S4000 (1) Printer status (When n = 1 is specified) (3) Status caused by an error (when n = 3 is specified) Status Hex. Decimal Status Hex. Decimal Fixed Fixed Fixed Fixed Status of pin 3 of drawer kick-out connector = L No Mechanism error occurred.
Page 112
CT-S4000 (4) Continuous paper detector status (When n = 4 is specified) Status Hex. Decimal Fixed Fixed Paper found by Paper Near-end Sensor Paper not found by Paper Near-end Sensor Paper found by Paper Near-end Sensor Paper not found by Paper Near-end Sensor Fixed Paper found by Paper-end Sensor Paper not found by Paper-end Sensor...
Page 113
CT-S801(II)/CT-S851(II)/CT-S601(II)/CT-S651(II) (1) Printer status (When n = 1 is specified) (3) Status caused by an error (when n = 3 is specified) Status Hex. Decimal Status Hex. Decimal Fixed Fixed Fixed Fixed No Mechanism error occurred. Status of pin 3 of drawer kick-out connector = L No BM/Label detection error occurred.(only Status of pin 3 of drawer kick-out connector = H when BM/Label paper is selected)
Page 114
CT-S801(II)/CT-S851(II)/CT-S601(II)/CT-S651(II) (4) Continuous paper detector status (When n = 4 is specified) Status Hex. Decimal Fixed Fixed Paper found by Paper Near-end Sensor Paper not found by Paper Near-end Sensor Paper found by Paper Near-end Sensor Paper not found by Paper Near-end Sensor Fixed Paper found by Paper-end Sensor Paper not found by Paper-end Sensor...
Page 115
CT-S251 (1) Printer status (When n = 1 is specified) (3) Status caused by an error (when n = 3 is specified) Status Hex. Decimal Status Hex. Decimal Fixed Fixed Fixed Fixed No Mechanism error occurred. Status of pin 3 of drawer kick-out connector = L Status of pin 3 of drawer kick-out connector = H A Mechanism error occurred.
Page 116
CT-S251 (4) Continuous paper detector status (When n = 4 is specified) Status Hex. Decimal Fixed Fixed Paper found by Paper Near-end Sensor Paper not found by Paper Near-end Sensor Paper found by Paper Near-end Sensor Paper not found by Paper Near-end Sensor Fixed Paper found by Paper-end Sensor Paper not found by Paper-end Sensor...
Page 117
CT-P29x series (1) Printer status (When n = 1 is specified) (3) Status caused by an error (when n = 3 is specified) Status Hex. Decimal Status Hex. Decimal Fixed Fixed Fixed Fixed Fixed Online status No Mechanism error occurred. Offline status Fixed Not waiting online recovery...
Page 118
CT-P29x series (4) Continuous paper detector status (When n = 4 is specified) Status Hex. Decimal Fixed Fixed Fixed Fixed Fixed Paper found by Paper-end Sensor Paper not found by Paper-end Sensor Paper found by Paper-end Sensor Paper not found by Paper-end Sensor Fixed - 117 -...
ESC u n (Valid in CBM1000-Compatible Mode) CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Sending the peripheral device status [Code] <1B>H<75>H<n> [Outline] [The specification which is common to the model] • Send the current drawer kick connector pin#3 status.
ESC v CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Transmission of printer status [Code] <1B>H<76>H [Outline] [The specification which is common to the model] • Transmits current printer status. [Caution] [The specification which is common to the model] •...
GS a n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Enabling/disabling ASB (Automatic Status Back) [Code] <1D>H<61>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] • This command selects the status item to be addressed by ASB (Automatic Status Back.) Status Item Addressed by ASB Hex.
Page 122
[The specification which depend on the model] CT-S280/CT-S281/CT-P29x series • Bit 2 of the 1st byte (printer information) of the status sent in 4 bytes is set to 00H because drawer is not supported. CT-S281 • Bit 0, 1 of the 3rd byte (Paper Sensor information) is set to 00H, if the Paper-end detector is uninstalled, or if MSW2-8= 0.
Page 123
(2) 2nd byte (Error occurrence information) Status Hex. Decimal Undefined Undefined No Mechanism error occurred. No BM detection error occurred.(only when BM paper is selected) No presenter error occurred. (only when presenter function is enabled.) A Mechanism error occurred. A BM detection error occurred.(only when BM paper is selected) A presenter error occurred (only when presenter function is enabled.) Auto cutter error not occurred...
Page 124
(4) 4th byte (Paper Sensor information) In case of MSW3-7 ON Status Hex. Decimal Undefined Undefined Undefined Undefined Unused Undefined Undefined Unused In case of MSW3-7 OFF (CBM1000 non-compatible mode) Status Hex. Decimal Reserved Reserved Reserved Reserved Fixed Reserved Reserved Fixed [Default] When MSW 1-3 OFF : n=0...
CT-P29x series CT-S310 II [Function] Sending status [Code] <1D>H<72>H<n> [Range] [The specification which depend on the model] CT-S280/CT-S281/CT-P29x series n=1, 49 CT-S300/CT-S310/CT-S2000/CT-S4000/ CT-S801(II)/CT-S851(II)/CT-S601(II)/CT-S651(II) CT-S310II/CT-S251 1≤n≤2, 49≤n≤50 [Outline] [The specification which is common to the model] • Sends the specified status to the host.
Page 126
• Paper Sensor status (n=1, 49) Status Hex. Decimal Paper found by Paper Near-end Sensor 0, 1 Paper not found by Paper Near-end Sensor Paper found by Paper-end Sensor 2, 3 (0CH) (12) Paper not found by Paper-end Sensor Unused Undefined Undefined Unused...
2.2.8 Paper Detecting Commands ESC c 3 n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Selecting the Paper Sensor valid for a Paper-end signal output [Code] <1B>H<63>H<33>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] •...
ESC c 4 n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Selecting the Paper Near-end Sensor valid for print stop [Code] <1B>H<63>H<34>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] •...
2.2.9 Panel Switch Commands ESC c 5 n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Enabling/disabling the panel switches [Code] <1B>H<63>H<35>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] •...
2.2.10 Macro Commands GS : CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Starting/ending macro definition [Code] <1D>H<3A>H [Outline] [The specification which is common to the model] • Specifying starting/ending macro definition.
GS ^ n1 n2 n3 CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Executing the macro [Code] <1D>H<5E>H<n1><n2><n3> [Range] 0≤n1≤255 0≤n2≤255 0≤n3≤1 [Outline] [The specification which is common to the model] • Executing contents defined in macro.
2.2.11 Cutter Commands ESC i CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Full cutting of paper [Code] <1B>H<69>H [Outline] [The specification which is common to the model] • Executes full cutting of paper.
ESC m CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Partial cutting of paper [Code] <1B>H<6D>H [Outline] [The specification which is common to the model] • Executes partial cutting of paper. [Caution] [The specification which is common to the model] •...
GS V m --- (1) GS V m n --- (2) CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Cutting the paper [Code] (1)<1D>H<56>H<m> (2)<1D>H<56>H<m><n> [Range] (1)0≤m≤1, 48≤m≤49 (2)m=65, 66 0≤n≤255 [Outline] [The specification which is common to the model] •...
2.2.12 Bar Code Commands GS H n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Selecting of printing position of HRI characters [Code] <1D>H<48>H<n> [Range] 0≤n≤3, 48≤n≤51 [Outline] [The specification which is common to the model] •...
GS f n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Selecting the font of HRI characters [Code] <1D>H<66>H<n> [Range] 0≤n≤2, 48≤n≤50 [Outline] [The specification which is common to the model] • Selecting the font of HRI characters in printing bar code.
GS h n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying the height of the bar code [Code] <1D>H<68>H<n> [Range] 1≤n≤255 [Outline] [The specification which is common to the model] • Selecting bar code height.
(2)<1D>H<6B>H<m><n> [d1…dn] [Range] (1)0≤m≤6 The definitions of “k” and “d” vary with the bar code system. [The specification which depend on the model] CT-S280/CT-S281/CT-S300/CT-S310/CT-S2000/CT-S4000/CT-P29x series (2)65≤m≤73 The definitions of “n” and “d” vary with the bar code system. CT-S801(II)/CT-S851(II)/CT-S601(II)/CT-S651(II)/CT-S310II/CT-S251 (2)65≤m≤73, 75≤m≤78 The definitions of “n”...
Page 139
[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 have been entered, and the subsequent data is handled as normal data. •...
Page 140
[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 from the host or application software plus a check digit (12th column) automatically calculated inside the printer. If the 12th-column numeral is sent from the host, the entire bar code will be printed as it is.
Page 141
CODE93 This bar code, consisting of alphanumeric and control characters, has a variable length of columns. The HRI character string is preceded and followed by a “■” character. HRI characters for control characters (00H - 1FH, and 7FH) are each printed as a combination of a “■”...
Page 142
CODE128 This bar code consists of 103 bar code characters and three code sets, enabling 128 ASCII code characters to be printed. It has a variable length of columns. • Code set A ASCII characters 00H - 5FH can be represented. •...
Page 143
GS1 DataBar Omnidirectional This bar code, consisting of numerals only, has a fixed length of 13 columns. The minimum height of the bar is 33 times of module size.. (The module size means the minimum width of bar/space that makes up GS1 DataBar. The value is set by GS w n command.)...
GS w n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/601 CT-P29x series CT-S310 II [Function] Specifying the horizontal size (magnification) of bar code [Code] <1D>H<77>H<n> [Range] 2≤n≤6 [Outline] [The specification which is common to the model] •...
2.2.13 Commands for Non-volatile Memory GS ( L pL pH m fn [parameter] GS 8 L p1 p2 p3 p4 m fn [parameter] CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying graphics data [Code] <1D>H<28>H<4C>H<pL><pH><m><fn>...
Page 146
CT-S801II/CT-S851II/CT-S601II/CT-S651II/CT-S251 Function Code Function Sends NV graphics memory 0, 48 GS ( L pL pH m fn Function48 capacity. Prints graphics data stored in print 2, 50 GS ( L pL pH m fn Function50 buffer. Sends the remaining amount of NV 3, 51 GS ( L pL pH m fn Function51...
fn=0, 48: Function 48 Sending NV Graphics Memory Capacity GS ( L pL pH m fn [Code] <1D>H<28>H<4C>H<pL><pH><m><fn> [Range] (pL+pH×256)=2 (pL=2, pH=0) m=48 fn=0, 48 [Outline] [The specification which is common to the model] • Sends all capacity of NV graphics area in the number of bytes. Hex.
fn=3, 51: Function 51 Sending the Remaining Amount of NV Graphics Memory GS ( L pL pH m fn [Code] <1D>H<28>H<4C>H<pL><pH><m><fn> [Range] (pL+pH×256)=2 (pL=2, pH=0) m=48 fn=3, 51 [Outline] [The specification which is common to the model] • Sends the remaining amount of NV graphics area (number of bytes of unused area). Hex.
fn=64: Function 64 Sending Key Code List of Defined NV Graphics GS ( L pL pH m fn d1 d2 [Code] <1D>H<28>H<4C>H<pL><pH><m><fn><d1><d2> [Range] (pL+pH×256)=4 (pL=4, pH=0) m=48 fn=64 d1=75(“K”) d2=67(“C”) [Outline] [The specification which is common to the model] • Sends the key code list of defined NV graphics. When key code list is present Hex.
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<4C>H<pL><pH><m><fn><d1><d2><d3> [Range] (pL+pH×256)=5(pL=5, pH=0) m=48 fn=65 d1=67(“C”) d2=76(“L”) d3=82(“R”) [Outline] [The specification which is common to the model] Erases all defined data of NV graphics in a lump.
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...dk] 1... [c d1...dk] b [Code] <1D>H<28>H<4C>H<pL><pH><m><fn><a><kc1><kc2><b><xL><xH><yL><yH> [c d1…d2] 1… [c d1…dk] b [Range] Parameter of GS ( L 12≤(pL+pH×256)≤65535(0≤pL≤255, 0≤pH≤255)
fn=69: Function 69 Printing Specified Graphics GS ( L pL pH m fn kc1 kc2 x y [Code] <1D>H<28>H<4C>H<pL><pH><m><fn><kc1><kc2><x><y> [Range] (pL+pH×256)=6 (pL=6, pH=0) m=48 fn=69 32≤kc1≤126 32≤kc2≤126 x=1, 2 y=1, 2 [Outline] [The specification which is common to the model] •...
fn=80: Function 80 Sending Key Code List of Defined Download Graphics GS ( L pL pH m fn d1 d2 [Code] <1D>H<28>H<4C>H<pL><pH><m><fn><d1><d2> [Range] (pL+pH×256)=4 (pL=4、pH=0) m=48 fn=80 d1=75(“K”) d2=67(“C”) [Outline] [The specification which is common to the model] •Sends the Key Code List of defined download graphics. When Key Code List is preset Decimal Data Size...
fn=81: Function 81 Erasing All Data of Download Graphics in a Lump GS ( L pL pH m fn d1 d2 d3 [Code] <1D>H<28>H<4C>H<pL><pH><m><fn><d1><d2><d3> [Range] (pL+pH×256)=5 (pL=5、pH=0) m=48 fn=81 d1=67(“C”) d2=76(“L”) d3=82(“R”) [Outline] [The specification which is common to the model] •...
fn=85: Funciton 85 Printing Specified Download Grahics Data GS ( L pL pH m fn kc1 kc2 <1D>H<28>H<4C>H<pL><pH><m><fn><kc1><kc2><x><y> [Code] (pL+pH×256)=6 (pL=6、pH=0) [Range] m=48 fn=85 32≦kc1≦126 32≦kc2≦126 x=1,2 y=1,2 [Outline] [The specification which is common to the model] • Prints the Dwonload graphics data defined by key code (kc1, kc2) as large as x times horizontally/y times vertically.
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] <1D>H<28>H<4C>H<pL><pH><m><fn><a><bx><by><c><xL><xH><yL><yH> [d1…dk] [Range] Parameter of GS ( L 11≤(pL+pH×256)≤65536(0≤pL≤255, 0≤pH≤255) Parameter of GS 8 L 11≤(p1+p2×256)+p3×65536+p4×16777216≤4294967295 (0≤p1≤255, 0≤p2≤255, 0≤p3≤255, 0≤p4≤255) Common parameter of GS ( L, GS 8 L...
GS D m fn a kc1 kc2 b c d1…dk CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Defining Windows Bitmap to NV Memory [Code] <1D>H<44>H<m><fn><a><kc1><skc2><b><c><d1>...<dk> [Range] [機種依存仕様] CT-S801II/CT-S851II/CT-S601II/CT-S651II/CT-S251 fn=67、83 [Outline] [The specification which is common to the model] •...
fn=67: Function 67 Defining Windows Bitmap to NV Memory GS D m fn a kc1 kc2 b c d1…dk [Code] <1D>H<44>H<m><fn><a><kc1>H<kc2><b><c><d1>...<dk> [Range] m=48 fn=67 a=48 32≦kc1≦126、32≦kc2≦126 b: Arbitrarily c=49 0≦d≦255 k: Depends on Bitmap file size [Outline] [The specification which is common to the model] •...
fn=83: Function 83 Defining Windows Bitmap to Download Memory GS D m fn a kc1 kc2 b c d1…dk [Code] <1D>H<44>H<m><fn><a><kc1>H<kc2><b><c><d1>...<dk> [Rnage] m=48 fn=67 a=48 32≦kc1≦126、32≦kc2≦126 b: Arbitrarily c=49 0≦d≦255 k: Depends on Bitmap file size [Outline] [The specification which is common to the model] •...
FS p n m CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Printing the download NV bit images [Code] <1C>H<70>H<n><m> [Range] 1≤n≤255, 0≤m≤3, 48≤m≤51 [Outline] [The specification which is common to the model] •...
1≤n≤255, 0≤xL≤255 0≤xH≤3 but, 1≤(xL+xH×256)≤1023 0≤yL≤255 0≤yH≤1 but, 1≤(yL+yH×256)≤288 0≤d≤255 k=(xL+xH×256)×(yL+yH×256)×8 CT-S280/CT-S281/CT-S300/CT-S310/CT-P29x series Total definition area=256K bytes CT-S2000/CT-4000/CT-S801(II)/CT-S851(II)/CT-S601(II)/CT-S651(II)/ CT-S301II/CT-S251 Total definition area=384K bytes [Outline] [The specification which is common to the model] • This command defines the specified NV bit image.
Page 162
• The definition data of one NV bit image consists of [xL xH yL yH d1… dk] . Therefore, when only one NV bit image is defined, n = 1; the data group [xL xH yL yH d1… dk] is manipulated once, and ( [Data: (xL + xH x256) x( yL + yH x256 ) x8 ] + [Header: 4] ) bytes of non-volatile memory is used to store it •...
2.2.14 Kanji Control Commands FS ! n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Collectively setting Kanji print mode [Code] <1C>H<21>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] •...
Page 164
FS & CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Setting Kanji mode [Code] <1C>H<26>H [Outline] [The specification which is common to the model] • Sets Kanji mode. Japanese Kanji specifications: This command is invalid when Kanji code system is Shift JIS.
FS - n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Setting/canceling Kanji underline [Code] <1C>H<2D>H<n> [Range] 0≤n≤2, 48≤n≤50 [Outline] [The specification which is common to the model] • Sets or cancels Kanji underline.
Page 166
FS . CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Canceling Kanji mode [Code] <1C>H<2E>H [Outline] [The specification which is common to the model] • Cancels Kanji mode. Japanese Kanji specifications: This command is invalid when Kanji code system is Shift JIS.
FS 2 a1 a2 [d] k CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Defining external character [Code] <1C>H<32>H<a1>H<a2>H [<d>] k [Range] Japanese Kanji specifications: • In case of JIS code system a1=<77>H, <21>H≤a2≤<7E>H...
FS C n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Selecting Kanji code system [Code] <1C>H<43>H<n> [Range] 0≤n≤1, 48≤n≤49 [Outline] [The specification which is common to the model] • Selects Kanji code system.
Page 170
• With Extend KS code Special symbol: A1A1H to ACF1H Hangeul: B0A1H to C8FEH Area other than the above is SPACE. [Default] [Sample Program] [Print Results] LPRINT CHR$(&H1C);"&"; LPRINT CHR$(&H1C);"C"; CHR$(0); 漢字 JIS code system printing ← LPRINT CHR$(&H34); CHR$(&H41); 漢字...
FS S n1 n2 CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Setting Kanji space amount [Code] <1C>H<53>H<n1><n2> [Range] 0≤n1≤255 0≤n2≤255 [Outline] [The specification which is common to the model] • Sets both right and left space amount of Kanji in units of dot.
FS W n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Setting/canceling four times enlargement of Kanji [Code] <1C>H<57>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] • Sets or cancels four times enlargement of Kanji.
FS ( A pL pH fn […] CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Setting font attribute of Kanji [Outline] Setting Kanji font attribute means execution of processing for Kanji font attribute by the value of “fn” specified.
2.2.15 Black Mark Control Commands GS FF CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Printing and ejecting Black mark paper/ label paper [Code] <1D>H<0C>H [Outline] [The specification which is common to the model] •...
Page 175
•When MSW4-5=ON (Label paper) if the distance between black mark or label length is less than 30mm, next or second next black mark/label will be ejected and then feed paper until detecting the black mark or top of label. MSW3-7 CBM-270 mode OFF = Invalid ON = Valid MSW5-6 Auto Back Feed OFF = After Cut ON = Before Print (Effective after DE0X-0400) [Caution]...
Page 176
GS < CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Initializing the printer mechanism [Code] <1D>H<3C>H [Outline] [The specification which is common to the model] • Performs initializing operation at Black mark/ label similar to the initialization at power on.
GS A m n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Correcting the leader position of Black mark paper/ label paper [Code] <1D>H<41>H<m><n> [Range] 0≤m≤255 0≤n≤255 [Outline] [The specification which is common to the model] •...
GS C 0 m n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Setting the numbering print mode [Code] <1D>H<43>H<30>H<m><n> [Range] 0≤m≤5 0≤n≤2 [Outline] [The specification which is common to the model] •...
GS C 2 n1 n2 CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Setting the numbering counter [Code] <1D>H<43>H<32>H<n1><n2> [Range] 0≤n1≤255 0≤n2≤255 [Outline] [The specification which is common to the model] • This command sets the numbering (serial number counter) value.
GS c CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Print the counter [Code] <1D>H<63>H [Outline] [The specification which is common to the model] • This command prints the serial number counter data.
GS l n1L n1H n2L n2H CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Setting the Black mark/ label length [Code] <1D>H<6C>H<n1L><n1H><n2L><n2H> [Range] 0≤n1L≤255 (24≤n1L+n1H×256≤360) 0≤n1H≤1 8≤n2L≤30 n2H=0 [Outline] [The specification which is common to the model] •...
GS p n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Changing paper type [Code] <1D>H <70>H <n> [Range] 0≤n≤255 specify receipt paper specify label paper specify black mark paper [Outline] [The specification which is common to the model] •...
FS FF CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Printing and feeding black marl/label paper to manual cut position [Code] <1C>H <0C>H [Outline] [The specification which is common to the model] 1.
2.2.16 Printer Function Setting Commands GS ( E pL pH fn […] CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Printer function setting command [Outline] [The specification which is common to the model] •...
fn=1: Function 1 Transferring to Printer Function Setting Mode GS ( E pL pH fn d1 d2 [Code] <1D>H<28>H<45>H <pL><pH><fn><d1><d2> [Range] (pL+pH×256)=3 (pL=3, pH=0) fn=1 d1=73 (“I”) d2=78 (“N”) [Outline] [The specification which is common to the model] • Transfers to printer function setting mode and sends the report of mode transfer. Hex.
Page 189
CT-S280 • Setting MSW 1 (a=1) • Setting MSW 3 (a=3) b (Set Value) Function b (Set Value) Function 48 (Default) Reports the power on. 48 (Default) Reserved Does not report power on. 48 (Default) Reserved 48 (Default) Sets input buffer capacity to 4K bytes.
Page 190
CT-S281 • Setting MSW 1 (a=1) • Setting MSW 3 (a=3) b (Set Value) Function b (Set Value) Function 48 (Default) Reports the power on. 48 (Default) After clearing cutter error, can be restored by Feed SW. Does not report power on. After clearing cutter error, cannot be restored by Feed SW.
Page 191
CT-S281 • Setting MSW 4 (a=4) • Setting MSW 5 (a=5) b (Set Value) Function b (Set Value) Function At the selection of Black mark/Label paper, enables auto 49 (Default) Reserved 48 (Default) end-measurement. 48 (Default) Reserved At the selection of Black mark/Label paper, disables auto USB mode virtual serial.
Page 192
CT-S300 • Setting MSW 3 (a=3) b (Set Value) Function • Setting MSW 1 (a=1) 48 (Default) After clearing cutter error, can be restored by Feed SW. b (Set Value) Function After clearing cutter error, cannot be restored by Feed SW. 48 (Default) Reports the power on.
Page 193
CT-S300 • Setting MSW 4 (a=4) b (Set Value) Function At the selection of Black mark paper, disables auto 48 (Default) end-measurement. At the selection of Black mark paper, enables auto end-measurement. At the selection of Black mark paper, sets sensor position to 48(Default) be on the printing side.
Page 194
CT-S310 • Setting MSW 1 (a=1) • Setting MSW 3 (a=3) b (Set Value) Function b (Set Value) Function 48 (Default) Reports the power on. 48 (Default) After clearing cutter error, can be restored by Feed SW. Does not report power on. After clearing cutter error, cannot be restored by Feed SW.
Page 195
CT-S310 • Setting MSW 5 (a=5) b (Set Value) Function 48 (Default) Buzzer sound enabled. Buzzer sound disabled. 48 (Default) Reserved USB mode virtual serial. 49 (Default) USB mode printer class. 48 (Default) Reserved 48 (Default) Reserved 48 (Default) Reserved 48 (Default) If PNE is released, Error LED is automatically turned off.
Page 196
CT-S310II • Setting MSW 1 (a=1) • Setting MSW 3 (a=3) b (Set Value) Function b (Set Value) Function 48 (Default) Reports the power on. 48 (Default) After clearing cutter error, can be restored by Feed SW. Does not report power on. After clearing cutter error, cannot be restored by Feed SW.
Page 198
CT-S2000 • Setting MSW 1 (a=1) • Setting MSW 3 (a=3) b (Set Value) Function b (Set Value) Function 48 (Default) Reports the power on. 48 (Default) After clearing cutter error, can be restored by Feed SW. Does not report power on. After clearing cutter error, cannot be restored by Feed SW.
Page 199
CT-S2000 • Setting MSW 4 (a=4) (Black mark/Label model) • Setting MSW 5 (a=5) b (Set Value) Function b (Set Value) Function At the selection of Black mark/Label paper, enables auto 48 (Default) Buzzer sound enabled. 48 (Default) end-measurement. Buzzer sound disabled. At the selection of Black mark/Label paper, disables auto 48 (Default) Basic calculation pitch (180 dpi / 360 dpi).
Page 200
CT-S4000 • Setting MSW 1 (a=1) b (Set Value) Function • Setting MSW 3 (a=3) 48 (Default) Reports the power on. b (Set Value) Function Does not report power on. 48 (Default) After clearing cutter error, can be restored by Feed SW. 48 (Default) Sets input buffer capacity to 4K bytes.
Page 201
CT-S4000 • Setting MSW 4 (a=4) • Setting MSW 5 (a=5) b (Set Value) Function b (Set Value) Function At the selection of Black mark paper/ label paper, enables 48 (Default) Buzzer sound enabled. 48 (Default) auto end-measurement. Buzzer sound disabled. At the selection of Black mark paper/ label paper, disables 48 (Default) Basic calculation pitch (180 dpi / 360 dpi).
Page 202
CT-S801/CT-S851/CT-S601/CT-S651 • Setting MSW 1 (a=1) • Setting MSW 3 (a=3) b (Set Value) Function b (Set Value) Function 48 (Default) Reports the power on. 48 (Default) After clearing cutter error, can be restored by Feed SW. Does not report power on. After clearing cutter error, cannot be restored by Feed SW.
Page 203
CT-S801/CT-S851/CT-S601/CT-S601 • Setting MSW 4 (a=4) • Setting MSW 5 (a=5) b (Set Value) Function b (Set Value) Function At the selection of Black mark/Label paper, disables auto 48 (Default) Buzzer sound enabled. 48 (Default) end-measurement. Buzzer sound disabled. At the selection of Black mark/Label paper, enables auto 48 (Default) Basic calculation pitch (180 dpi / 360 dpi).
Page 204
CT-S801II/CT-S851II/CT-S601II/CT-S651II • Setting MSW 1 (a=1) • Setting MSW 3 (a=3) b (Set Value) Function b (Set Value) Function 48 (Default) Reports the power on. 48 (Default) After clearing cutter error, can be restored by Feed SW. Does not report power on. After clearing cutter error, cannot be restored by Feed SW.
Page 205
CT-S801II/CT-S851II/CT-S601II/CT-S651II • Setting MSW 4 (a=4) • Setting MSW 5 (a=5) b (Set Value) Function b (Set Value) Function At the selection of Black mark/Label paper, disables auto 48 (Default) Buzzer sound enabled. 48 (Default) end-measurement. Buzzer sound disabled. At the selection of Black mark/Label paper, enables auto 48 (Default) Basic calculation pitch (180 dpi / 360 dpi).
Page 206
CT-S251 • Setting MSW 1 (a=1) • Setting MSW 3 (a=3) b (Set Value) Function b (Set Value) Function 48 (Default) Reports the power on. 48 (Default) After clearing cutter error, can be restored by Feed SW. Does not report power on. After clearing cutter error, cannot be restored by Feed SW.
Page 208
CT-P29x series • Setting MSW 1 (a=1) • Setting MSW 3 (a=3) b (Set Value) Function b (Set Value) Function 48 (Default) Reports the power on. 48 (Default) After clearing cutter error, can be restored by Feed SW. Does not report power on. After clearing cutter error, cannot be restored by Feed SW.
Page 209
CT-P29x series • Setting MSW 4 (a=4) b (Set Value) Function Reserved Reserved Reserved 49 (Default) Reserved Paper heading cut disabled. Paper heading cut enabled. 49 (Default) Reserved Reserved Reserved Reserved Reserved Reserved 48(Default) Forcible partial cut disabled. Forcible partial cut enabled (full cut by command: enabled).
Page 212
[Outline] [The specification which is common to the model] • Sets the customized value set in “a” to (nL+nH×256). Function Specifies user NV memory capacity. Specifies the memory capacity of NV graphics. Selects paper width. Selects printing density. Selects printing speed. Sets the number of divisions for conducting head Selects printing color.
Page 213
[Caution] [The specification which is common to the model] • This function operates only in printer function setting mode. • The value changed by this command is enabled by execution of function 2 (fn = 2: End of printer function setting mode) (Recommended) - 212 -...
Page 214
CT-S280 • a=5: Sets printing density to the level specified by (nL+nH×256). • a=116: Sets the paper specified by (nL+nH×256). (nL+nH×256) Printing Density (nL+nH×256) Paper 65530 1 (Default) Specified single color paper. 65531 Recommended 2-color paper5 65532 65533 65534 65535 •...
Page 215
CT-S280 • a=218: Select the codepage specified by (nL+nH×256) • a=214: Select the enable/disable of Kanji specified by (nL+nH×256) (nL+nH×256) Codepage (nL+nH×256) Codepage 1(Default) Codepage PC437 Codepage PC866 (nL+nH×256) Kanji Katakana Codepage PC857 Invalid(OFF) Codepage PC850 WPC1252 2(Default) Valid(ON) Codepage PC860...
Page 216
CT-S281 • a=5: Sets printing density to the level specified by (nL+nH×256). • a=116: Sets the paper specified by (nL+nH×256). (nL+nH×256) Printing Density (nL+nH×256) Paper 65530 1 (Default) Specified single color paper. 65531 Recommended 2-color paper5 65532 65533 65534 65535 •...
Page 217
CT-S281 • a=213: Selects the flow control specified by (nL+nH×256) when virtual • a=218: Select the codepage specified by (nL+nH×256) COM is set. (nL+nH×256) Codepage (nL+nH×256) Codepage 1(Default) Codepage PC437 Codepage PC866 (nL+nH×256) Flow control Katakana Codepage PC857 1(Default) PC setting Codepage PC850 WPC1252 DTR/DSR...
Page 218
CT-S300 • a=3: Sets paper width to the size specified by (nL+nH×256). • a=6: Sets printing speed to the value specified by (nL+nH×256). (nL+nH×256) Paper Width (nL+nH×256) Printing Speed 58mm Printing speed level 1 (min) 6 (Default) 80mm Printing speed level 2 Printing speed level 3 Printing speed level 4 Printing speed level 5...
Page 219
CT-S300 • a=202: Controls input buffer full Busy with the value selected by • a=222: Head margin set by the value selected by (nL+nH×256). (nL+nH×256) and controls Busy with output/cancel timing (remaining capacity). 1≤(nL+nH×256)≤32767 Unit: 168dot When Input Buffer Initial value: 0dot When Input Buffer Capacity 4K Bytes Capacity “Small”...
Page 220
CT-S310 • a=3: Sets paper width to the size specified by (nL+nH×256). • a=97: Sets the number of divisions for conducting head specified by (nL+nH×256). (nL+nH×256) Paper Width 58mm (nL+nH×256) No. of Divisions for Conducting Head 6 (Default) 80mm 2(Default) 2-division conducting 4-division conducting •...
Page 221
CT-S310 • a=202: Controls input buffer full Busy with the value selected by • a=222: Head margin set by the value selected by (nL+nH×256). (nL+nH×256) and controls Busy with output/cancel timing (remaining capacity). 1≤(nL+nH×256)≤32767 Unit: 168dot When Input Buffer Initial value: 0dot When Input Buffer Capacity 4K Bytes Capacity “Small”...
Page 222
CT-S310II • a=1: Sets the user NV memory capacity to the size specified by • a=5: Sets printing density to the level specified by (nL+nH×256). (nL+nH×256). (nL+nH×256) Printing Density 65530 (nL+nH×256) Memory Capacity 65531 1K bytes 65532 64K bytes 65533 128K bytes 65534 4(Default)
Page 223
CT-S310II • a=202: Controls input buffer full Busy with the value selected by • a=214: Select the enable/disable of Kanji specified by (nL+nH×256) (nL+nH×256) and controls Busy with output/cancel timing (remaining capacity). (nL+nH×256) Kanji Invalid(OFF) When Input Buffer 2(Default) Valid(ON) When Input Buffer Capacity 4K Bytes Capacity “Small”...
Page 224
CT-S310II ・a=245: Selects the line gap reduction ratio specified by (nL+nH×256) • a=218: Select the codepage specified by (nL+nH×256) (nL+nH×256) Codepage (nL+nH×256) Codepage Rudction ratio of line gap (nL+nH×256) Codepage PC437 Codepage PC857 1(Default) No reduction Katakana WPC1252 Reduction to 3/4 Codepage PC850 Space page Reduction to 2/3...
Page 225
CT-S310II ・a=247: Select the number of dot for auto side shift specified by • a=251: Selects the liner free mode setting specified by (nL+nH×256). (nL+nH×256) (nL+nH×256) Printing Density 1(Default) Invalid Auto Side Shift (nL+nH×256) 1(Default) Invalid 1dot 2dot 3dot 4dot 5dot 6dot 7dot...
Page 226
CT-S2000 • a=1: Sets the user NV memory capacity to the size specified by • a=5: Sets printing density to the level specified by (nL+nH×256). (nL+nH×256). (nL+nH×256) Printing Density 65530 (nL+nH×256) Memory Capacity 65531 1K bytes 65532 64K bytes 65533 128K bytes 65534 4(Default)
Page 227
CT-S2000 • a=116: Sets the paper specified by (nL+nH×256). • a=212: Selects DMA (Direct Memory Access) control of serial communication specified by (nL+nH×256). (nL+nH×256) Paper 1(Default) Specified single color paper. (nL+nH×256) DMA control Recommended 2-color paper5 Invalid 2(Default) Valid • a=201: Outputs ACK to the position specified by (nL+nH×256). •...
Page 228
CT-S2000 • a=221: Sets the maximum length of black mark page with the value • a=225: Sets head distance with the value selected by (nL+nH×256). selected by (nL+nH×256). 1≤(nL+nH×256)≤255 1≤(nL+nH×256)≤32767 Unit: 1 dot Unit: 1 dot Initial value: 56 dots Initial value: 2360 dots •...
Page 229
CT-S4000 • a=1: Sets the user NV memory capacity to the size specified by • a=5: Sets printing density to the level specified by (nL+nH×256). (nL+nH×256). (nL+nH×256) Printing Density 65530 (nL+nH×256) Memory Capacity 65531 1K bytes 65532 64K bytes 65533 128K bytes 65534 192K bytes...
Page 230
CT-S4000 • a=116: Sets the paper specified by (nL+nH×256). • a=212: Selects DMA (Direct Memory Access) control of serial communication specified by (nL+nH×256). (nL+nH×256) Paper 1 (Default) Specified single color paper. (nL+nH×256) DMA control Recommended 2-color paper5 Invalid 2(Default) Valid •...
Page 231
CT-S801(II)/CT-S851(II) • a=1: Sets the user NV memory capacity to the size specified by • a=5: Sets printing density to the level specified by (nL+nH×256). (nL+nH×256). (nL+nH×256) Printing Density 65530 (nL+nH×256) Memory Capacity 65531 1K bytes 65532 64K bytes 65533 128K bytes 65534 4(Default)
Page 232
CT-S801(II)/CT-S851(II) • a=116: Sets the paper specified by (nL+nH×256). • a=201: Outputs ACK to the position specified by (nL+nH×256). (nL+nH×256) Paper (nL+nH×256) ACK Output Position 1(Default) Specified single color paper. 1(Default) ACK-in-Busy Recommended 2-color paper5 ACK-while-Busy ACK-after-Busy • a=151: Sets the Bluetooth Security/Connect Device specified •...
Page 233
CT-S801(II)/CT-S851(II) • a=218: Select the codepage specified by (nL+nH×256) • a=213: Selects the flow control specified by (nL+nH×256) when virtual (nL+nH×256) Codepage (nL+nH×256) Codepage COM is set. Codepage PC437 WPC1252 Katakana Space page (nL+nH×256) Flow control Codepage PC850 Codepage PC864 1(Default) PC setting Codepage PC860...
Page 234
CT-S801(II)/CT-S851(II) • a=222: Sets Sensor and distance between header with the value selected • a=227: Sets max length of auto length measurement with the value by (nL+nH×256). [CT-S801(II), CT-S851] selected by (nL+nH×256). [CT-S801(II), CT-S851] 0≤(nL+nH×256)≤32767 0≤(nL+nH×256)≤32767 Unit: 168dot Unit: 1 dot Initial value: 144 dots Initial value: 2560 dots •...
Page 235
CT-S801/CT-S851(II) • a=234: Selects the direction of LCD message specified by (nL+nH×256) • a=230: Sets the language of LCD messages selected by (nL+nH×256). (nL+nH×256) (nL+nH×256) Language LCD display direction 1(Default) English 1(Default) Normal French Inverted German Italian Spanish • a=235: Sets the distance between labels with the value selected by Japanese (nL+nH×256).
Page 236
CT-S801(II)/CT-S851(II) • a=238: Sets label bottom margin with the value selected by • a=242: Sets the max dot number with Powered USB specified by (nL+nH×256). [CT-S801(II), CT-S851] (nL+nH×256) (nL+nH×256) Powered USB max dot nos 1(Default) 128 dots 0≤(nL+nH×256)≤32767 200 dots Unit: 1 dot 288 dots Initial value: 2 dots...
Page 237
CT-S801(II)/CT-S851(II) • a=245: Selects the line gap reduction ratio specified by (nL+nH×256). • a=248: Selects the event for the buzzer activation specified by (nL+nH×256). [CT-S801II, CT-S851II] Reduction ratio of line gap (nL+nH×256) 1(Default) No reduction Buzzer event (nL+nH×256) Reduction to 3/4 All events / errors Reduction to 2/3 Except cover open...
Page 238
CT-S601(II)/CT-S651(II) • a=1: Sets the user NV memory capacity to the size specified by • a=5: Sets printing density to the level specified by (nL+nH×256). (nL+nH×256). (nL+nH×256) Printing Density 65530 (nL+nH×256) Memory Capacity 65531 1K bytes 65532 64K bytes 65533 128K bytes 65534 4(Default)
Page 239
CT-S601(II)/CT-S651(II) • a=116: Sets the paper specified by (nL+nH×256). • a=201: Outputs ACK to the position specified by (nL+nH×256). (nL+nH×256) Paper (nL+nH×256) ACK Output Position 1(Default) Specified single color paper. 1(Default) ACK-in-Busy Recommended 2-color paper5 ACK-while-Busy ACK-after-Busy • a=151: Sets the Bluetooth Security/Connect Device specified •...
Page 240
CT-S601(II)/CT-S651(II) • a=218: Select the codepage specified by (nL+nH×256) • a=213: Selects the flow control specified by (nL+nH×256) when virtual (nL+nH×256) Codepage (nL+nH×256) Codepage COM is set. Codepage PC437 WPC1252 Katakana Space page (nL+nH×256) Flow control Codepage PC850 Codepage PC864 1(Default) PC setting Codepage PC860...
Page 241
CT-S601(II)/CT-S651(II) • a=243: Selects the mechanism type specified by (nL+nH×256) • a=246: Sets character size specified by (nL+nH×256). [CT-S601II, CT-S651II] (nL+nH×256) Mechanism type 1(Default) 2 inch Vertical compressibility / (nL+nH×256) 3 inch Horizontal compressibility 100%/100% (U ncompressed ) 1(Default) 75% / 100% •...
Page 242
Except cover open / no paper CT-S601(II)/CT-S651(II) • a=249: Selects the old command specified by (nL+nH×256). (nL+nH×256) Old Command 1(Default) Invalid CBM1 CBM2 • a=251: Selects the liner free mode setting specified by (nL+nH×256). (nL+nH×256) Printing Density 1(Default) Invalid - 241 -...
Page 243
CT-S251 • a=1: Sets the user NV memory capacity to the size specified by • a=5: Sets printing density to the level specified by (nL+nH×256). (nL+nH×256). (nL+nH×256) Printing Density 65530 (nL+nH×256) Memory Capacity 65531 1K bytes 65532 64K bytes 65533 128K bytes 65534 4(Default)
Page 244
CT-S251 • a=202: Controls input buffer full Busy with the value selected by • a=138: Sets bezel LED specified Lighting Mode by (nL+nH×256). (nL+nH×256) and controls Busy with output/cancel timing (remaining capacity). (nL+nH×256) Lighting Mode When Input Buffer When Input Buffer Capacity 4K Bytes Blinking Capacity “Small”...
Page 245
CT-S251 • a=214: Select the enable/disable of Kanji specified by (nL+nH×256) • a=218: Select the codepage specified by (nL+nH×256) (nL+nH×256) Kanji (nL+nH×256) Codepage (nL+nH×256) Codepage Invalid(OFF) Codepage PC437 WPC1252 2(Default) Valid(ON) Katakana Space page Codepage PC850 Codepage PC864 Codepage PC860 Thai code18 Codepage PC863 TCVN-3...
Page 246
CT-S251 • a=242: Sets the max dot number with Powered USB specified by • a=246: Sets character size specified by (nL+nH×256). (nL+nH×256) (nL+nH×256) Vertical compressibility / Powered USB max dot nos (nL+nH×256) Horizontal compressibility 1(Default) 128 dots 200 dots 100%/100% (U ncompressed ) 1(Default) 288 dots 75% / 100%...
Page 247
CT-S251 • a=249: Selects the old command specified by (nL+nH×256). (nL+nH×256) Old Command Invalid 1(Default) CBM1 CBM2 • a=251: Selects the liner free mode setting specified by (nL+nH×256). (nL+nH×256) Printing Density 1(Default) Invalid - 246 -...
Page 248
CT-P29x series • a=5: Sets printing density to the level specified by (nL+nH×256). • a=213: Selects the flow control specified by (nL+nH×256) when virtual COM is set. (nL+nH×256) Printing Density 65530 (nL+nH×256) Flow control 65531 1(Default) PC setting 65532 DTR/DSR 65533 XON/XOFF 65534...
Page 251
[Outline] [The specification which is common to the model] • Sends the set value of customized value set by “a”. Hex. No. of Data Header 30H to 39H 1 to 3 Customized value No. Separation number 30H to 39H 1 to 5 Customized value NULL •...
Page 253
CT-S280 • a=5: When print density is specified • a=116: When kind of paper is specified Setting Status Sending Data Setting Status Sending Data Stored Stored Paper Print Density 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1st Byte...
Page 254
CT-S280 • a=216: When JIS/Shift JIS is specified • a=218: When codepage is specified Setting Status Sending Data Setting Status Sending Data Stored Stored Codepage JIS/Shift JIS Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1st Byte 2nd Byte...
Page 255
CT-S281 • a=5: When print density is specified • a=116: When kind of paper is specified Setting Status Sending Data Setting Status Sending Data Stored Stored Paper Print Density 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1st Byte 2nd Byte 3rd Byte 4th Byte...
Page 256
CT-S281 • a=214: When Kanji is specified • a=218: When codepage is specified Setting Status Sending Data Setting Status Sending Data Stored Stored Codepage Kanji 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Value...
Page 257
CT-S300/CT-S310 • a=3: When paper width is specified • a=6: When printing speed is specified Setting Status Sending Data Setting Status Sending Data Stored Stored Paper Width 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Print Speed 1st Byte 2nd Byte 3rd Byte 4th Byte...
Page 258
CT-S300/CT-S310 • a=201: When ACK output position is specified • a=222: When head margin is specified Setting Status Sending Data Setting Status Sending Data Stored ACK Output Stored Head Margin 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1st Byte 2nd Byte 3rd Byte...
Page 259
CT-S310II • a=1: When user NV memory capacity is specified • a=5: When print density is specified Setting Status Sending Data Setting Status Sending Data Stored Memory Capacity Stored 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Print Density 1st Byte 2nd Byte 3rd Byte...
Page 260
CT-S310II • a=216: When JIS/Shift JIS is specified Setting Status Sending Data • a=202: Input buffer full Busy output/cancel timing Stored Setting Status Sending Data JIS/Shift JIS Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Value Stored BUSY 1st Byte 2nd Byte 3rd Byte 4th Byte...
Page 261
CT-S310II ・a=245: When Line Gap Reduce n is specified • a=218: When codepage is specified Setting Status Sending Data Setting Status Sending Data Stored Stored Codepage 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Line Gap Reduce 1st Byte 2nd Byte 3rd Byte 4th Byte...
Page 262
CT-S310II • a=251:When liner free mode is specified ・a=247: When Auto Side Shift is specified Setting Status Sending Data Stored Setting Status Sending Data Liner Free 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Value Stored Auto Side Shift 1st Byte 2nd Byte 3rd Byte...
Page 263
CT-S2000 • a=1: When user NV memory capacity is specified • a=5: When print density is specified Setting Status Sending Data Setting Status Sending Data Stored Memory Capacity Stored 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Print Density 1st Byte 2nd Byte 3rd Byte...
Page 264
CT-S2000 • a=213: When the flow control of virtual COM is specified. Setting Status Sending Data • a=116: When kind of paper is specified Stored Setting Status Sending Data Flow control 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Value Stored Paper...
Page 265
CT-S2000 • a=222: When head margin is specified Setting Status Sending Data Stored Head Margin 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Value 0dot 48(“0”) 48(“0”) 48(“0”) 48(“0”) 48(“0”) ・ ・ ・ ・ ・ ・ ・ ・ ・...
Page 266
CT-S4000 • a=1: When user NV memory capacity is specified • a=5: When print density is specified Setting Status Sending Data Setting Status Sending Data Stored Memory Capacity Stored 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Print Density 1st Byte 2nd Byte 3rd Byte...
Page 267
CT-S4000 • a=116: When kind of paper is specified • a=213: When the flow control of virtual COM is specified. Setting Status Sending Data Setting Status Sending Data Stored Stored Paper 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Flow control 1st Byte 2nd Byte...
Page 268
CT-S801(II)/CT-S851(II) • a=1: When user NV memory capacity is specified • a=5: When print density is specified Setting Status Sending Data Setting Status Sending Data Stored Memory Capacity Stored 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Print Density 1st Byte 2nd Byte 3rd Byte...
Page 269
CT-S801/CT-S851 • a=116: When kind of paper is specified • a=201: When ACK output position is specified Setting Status Sending Data Setting Status Sending Data Stored Stored ACK Output Paper 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1st Byte 2nd Byte 3rd Byte...
Page 270
CT-S801(II)/CT-S851(II) • a=216: When Kanji Code is specified • a=218: When codepage is specified Setting Status Sending Data Setting Status Sending Data Stored Stored Codepage JIS/Shift JIS Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte...
Page 271
CT-S801(II)/CT-S851(II) • a=221: When black mark page length is specified. [CT-S801(II), CT-S851] • a=225: When maximum width of mark is specified. [CT-S801(II), CT-S851] Setting Status Sending Data Setting Status Sending Data Maximum Maximum Stored Stored B.M page width of 1st Byte 2nd Byte 3rd Byte 4th Byte...
Page 272
CT-S801(II)/CT-S851(II) • a=229: When manual cut position is specified. [CT-S801II] Setting Status Sending Data Stored manual cut 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Value position 48(“0”) 48(“0”) 48(“0”) 48(“0”) 48(“0”) ・ ・ ・ ・ ・ ・ ・...
Page 273
CT-S801(II)/CT-S851(II) • a=230: When LCD language is specified • a=234: When LCD direction is specified Setting Status Sending Data Setting Status Sending Data Stored Stored LCD language 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte LCD direction 1st Byte 2nd Byte 3rd Byte 4th Byte...
Page 274
CT-S801(II)/CT-S851(II) • a=238: When label bottom margin is specified. [CT-S801(II), CT-S851] • a=242: When Powered USB max dot number is specified Setting Status Sending Data Setting Status Sending Data Label bottom Stored Stored Dot number 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1st Byte...
Page 275
CT-S801(II)/CT-S851(II) • a=245: When Line Gap Reduce n is specified • a=248: When the event for the buzzer activation is specified. [CT-S801II, CT-S851II] Setting Status Sending Data Setting Status Sending Data Stored Stored Line Gap Reduce 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte...
Page 276
CT-S601(II)/CT-S651(II) • a=1: When user NV memory capacity is specified • a=5: When print density is specified Setting Status Sending Data Setting Status Sending Data Stored Memory Capacity Stored 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Print Density 1st Byte 2nd Byte 3rd Byte...
Page 277
CT-S601(II)(II)/CT-S651 • a=116: When kind of paper is specified • a=201: When ACK output position is specified Setting Status Sending Data Setting Status Sending Data Stored Stored ACK Output Paper 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1st Byte 2nd Byte 3rd Byte...
Page 278
CT-S601(II)/CT-S651(II) • a=216: When Kanji Code is specified • a=218: When codepage is specified Setting Status Sending Data Setting Status Sending Data Stored Stored Codepage JIS/Shift JIS Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte...
Page 279
CT-S601(II)/CT-S651(II) ・a=244: When Top Margin is specified • a=240:When buzzer volume is specified Setting Status Sending Data Setting Status Sending Data Buzzer Stored Stored Codepage 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte volume...
Page 280
CT-S601(II)/CT-S651(II) • a=246: When Line Gap Reduce n is specified. [CT-S601II, CT-S651II] • a=249:When Old Command is specified Setting Status Sending Data Setting Status Sending Data Vertical Stored Old Command 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Stored compressibility / Value...
Page 281
CT-S251 • a=1: When user NV memory capacity is specified • a=5: When print density is specified Setting Status Sending Data Setting Status Sending Data Stored Memory Capacity Stored 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Print Density 1st Byte 2nd Byte 3rd Byte...
Page 282
CT-S251 • a=138: When Lighting Mode is specified • a=202: Input buffer full Busy output/cancel timing Setting Status Sending Data Setting Status Sending Data Stored BUSY Stored Lighting Mode 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1st Byte 2nd Byte 3rd Byte 4th Byte...
Page 283
CT-S251 • a=216: When Kanji Code is specified • a=218: When codepage is specified Setting Status Sending Data Setting Status Sending Data Stored Stored Codepage JIS/Shift JIS Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte...
Page 284
CT-S251 • a=241: When max dot number in 1 head division is specified • a=245: When Line Gap Reduce n is specified Setting Status Sending Data Setting Status Sending Data Stored Stored Dot number 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Line Gap Reduce...
Page 285
CT-S251 • a=247: When dot for auto side slide is specified • a=251:When liner free mode is specified Setting Status Sending Data Setting Status Sending Data Stored Stored Liner Free Auto Side Slide 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte 1st Byte 2nd Byte...
Page 286
CT-P29x series • a=5: When print density is specified • a=213: When the flow control of virtual COM is specified. Setting Status Sending Data Setting Status Sending Data Stored Stored Print Density 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Flow control 1st Byte...
Page 287
CT-P29x series • a=217: When international character set is specified Setting Status Sending Data Stored Int’l char. set 1st Byte 2nd Byte 3rd Byte 4th Byte 5th Byte Value U.S.A. 49(“1”) France 50(“2”) Germany 51(“3”) U.K. 52(“4”) Denmark I 53(“5”) Sweden 54(“6”) Italy...
Page 288
CT-S300/CT-S310/CT-S801/CT-S851/CT-S601/CT-S651/ CT-P29x series Font Type Font B: 9 (horizontal)×17 (vertical) Font A: 12 (horizontal)×24 (vertical) Font C: 8 (horizontal)×16 (vertical) CT-S280/CT-S281/CT-S2000/CT-S4000/CT-S310II/ CT-S801II/CT-S851II/CT-S601II/CT-S651II/CT-S251 Font Type Font B: 9 (horizontal)×24 (vertical) Font A: 12 (horizontal)×24 (vertical) Font C: 8 (horizontal)×16 (vertical) - 287 -...
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 [xd1...d(y×x)] k [Code] <1D>H<28>H<45>H<pL><pH><fn><y><c1><c2> [<x><d1>..<d(yXx)>] <k> [Range] 5≤(pL+pH×256)≤65535 fn=8 y=2 (At selection of font C) y=3 (At selection of other than font C) 128≤c1≤c2≤255 0≤x≤12 (At selection of font A)
0≤y≤24 (At selection of font A) 0≤y≤16 (At selection of font C), 0≤d≤255 k=c2-c1+1 CT-S300/CT-S310/CT-S801/CT-S851/CT-S601/CT-S651/CT-P29x series 0≤x≤17 (At selection of font B) CT-S280/CT-S281/CT-S2000/CT-S4000/ CT-S310II/ CT-S801II/CT-S851II/CT-S601II/CT-S651II/CT-S251 0≤x≤24 (At selection of font B) [Outline] [The specification which is common to the model] •...
fn=10: Function 10 Erasing Data of Character Code Page Data in Work Area GS ( E pL pH fn c1 c2 [Code] <1D>H<28>H<45>H<pL><pH><fn><c1><c2> [Range] (pL+pH×256)=3 fn=10 128≤c1≤c2≤255 [Outline] [The specification which is common to the model] • Erases (set to space) data in units of character on the character code page in work area. •...
55(“7”) 54(“6”) 48(“0”) 48(“0”) ●115200 49(“1”) 49(“1”) 53(“5”) 50(“2”) 48(“0”) 48(“0”) ◎---support by CT-S280/CT-S281/CT-S2000/CT-S4000/CT-S801(II)/CT-S851(II)/CT-S601(II)/CT-S651(II)/ CT-S310II/CT-S251 ●---support by CT-S280/CT-S2000/CT-S4000/CT-P29x series/CT-S310II/CT-S251 does not support 115200bps) CT-P29x series a=2: At specification of parity Parity Setting No parity Odd parity Even parity a=3: At specification of flow control...
56(“8”) 0 to 64 (iAP)Application ID • Initial Value Function Bluetooth address 12 digit (colon is excluded) low-order four bits. CITIZEN SYSTEMS CITIZEN SYSTEMS Model name (Example: CT-S801II) com.citizen.protocol01 82KYFK9X2H CSJ Accessory There is no character string - 294 -...
fn=255: Function 255 Setting All Contents Set by Printer Function Setting Mode to the State at Shipment GS ( E pL pH fn a [Code] <1D>H<28>H<45>H<pL><pH><fn><a> [Range] (pL+pH×256)=2 fn=255 a=3, 5, 11, 255 [Outline] [The specification which is common to the model] •...
Page 297
GS ( K pL pH fn m CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Selecting print control method [Outline] [The specification which is common to the model] Executes the setting related to the print control specified by the value of “fn”.
fn=49: Function 49 Setting Printing Density GS ( K pL pH fn m [Code] <1D>H<28>H<4B>H<pL><pH><fn><m> [Range] (pL+pH×256)=2 (pL=2, pH=0) fn=49 0≤m≤8, 250≤m≤255 [Default] m=0 (Customized value setting value) [Outline] [The specification which is common to the model] • Sets printing density. Printing Density Selects density level –6 (70%) Selects density level –5 (75%)
fn=50: Function 50 Setting Printing Speed GS ( K pL pH fn m [Code] <1D>H<28>H<4B>H<pL><pH><fn><m> [Range] (pL+pH×256)=2 (pL=2, pH=0) fn=50 0≤m≤9, 48≤m≤57 [Default] m=0 (Customized value setting) [Outline] [The specification which is common to the model] • Sets printing speed. Printing Speed 0, 48 Selects customized value setting...
fn=97: Function 97 Setting Number of Divisions for Head Conducting GS ( K pL pH fn m [Code] <1D>H<28>H<4B>H<pL><pH><fn><m> [Range] (pL+pH×256)=2 (pL=2, pH=0) fn=97 m=0, 24, 48, 50, 52 [Default] m=0 (Customized value setting) [Outline] [The specification which depend on the model] CT-S300/CT-S310 •...
GS ( N pL pH fn m CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Designating font attribute [Outline] [The specification which is common to the model] • Executes processing of font attribute by the specified fn value.
2.2.17 2-dimensional code Commands GS ( k pL pH cn fn [parameter] CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Setting and printing 2-dimensional code [Outline] [The specification which is common to the model] •...
Page 303
Function Code Function GS1 DataBar GS ( k pL pH cn fn n Function367 Sets the module width of GS1 DataBar Sets the maximum width of GS ( k pL pH cn fn nL nH Function371 Expanded Stacked GS ( k pL pH cn fn m n Stores received GS1 DataBar data to Function380 d1 …...
fn=65: Function 65 Setting the number of digits of PDF417 GS ( k pL pH cn fn n [Code] <1D>H<28>H<6B>H<pL><pH><cn><fn><n> [Range] (pL+pH×256)=3 (pL=3, pH=0) cn=48 fn=65 0≤n≤30 [Outline] [The specification which is common to the model] • Sets the number of digits of PDF417. •...
fn=67: Function 67 Setting module width of PDF417 GS ( k pL pH cn fn n [Code] <1D>H<28>H<6B>H<pL><pH><cn><fn><n> [Range] (pL+pH×256)=3 (pL=3, pH=0) cn=48 fn=67 2≤n≤8 [Outline] [The specification which is common to the model] • Sets the width of one module of PDF417 to n dots. [Default] fn=68: Function 68 Setting the height of step of PDF417 GS ( k pL pH cn fn n...
fn=69: Function 69 Setting error correction level of PDF417 GS ( k pL pH cn fn m n [Code] <1D>H<28>H<6B>H<pL><pH><cn><fn><m><n> [Range] (pL+pH×256)=4 (pL=4, pH=0) cn=48 fn=69 m=48, 49 48≤n≤56 (when m=48 is specified) 1≤n≤40 (when m=49 is specified) [Outline] [The specification which is common to the model] •...
fn=70: Function 70 Setting Options for PDF417 GS ( k pL pH cn fn m [Code] <1D>H<28>H<6B>H<pL><pH><cn><fn><m> [Range] (pL+pH×256)=3 (pL=3, pH=0) cn=48 fn=70 m=0, 1 [Outline] [The specification which depend on the model] • Specifies or clears the PDF417 option. Function Canceling Processing of simple PDF417 Specifying Processing of simple PDF417...
[The specification which is common to the model] • Quiet zone (blank area around PDF417) shall be secured by the user. [Sample Program] LPRINT CHR$(&H1D) ;”(”;”k”; CHR$(10); CHR$(0); CHR$(48); CHR$(80); CHR$(48); LPRINT “CITIZEN” LPRINT CHR$(&H1D) ;”(”;”k”; CHR$(3); CHR$(0); CHR$(48); CHR$(81); CHR$(48); [Print Results] - 307 -...
fn=65: Function 165 Specifying QRCode model GS ( k pL pH cn fn n1 n2 [Code] <1D>H<28>H<6B>H<pL><pH><cn><fn><n1><n2> [Range] (pL+pH×256)=4 (pL=4, pH=0) cn=49 fn=65 n1=49, 50 n2=0 [Outline] [The specification which is common to the model] • Specifies QRCode model. Function Sets model 1.
fn=69: Function 169 Setting QRCode error correction level GS ( k pL pH cn fn n [Code] <1D>H<28>H<6B>H<pL><pH><cn><fn><n> [Range] (pL+pH×256)=3 (pL=3, pH=0) cn=49 fn=69 48≤n≤51 [Outline] [The specification which is common to the model] • Sets QRCode error correction level. Ref.: Recovery power (%) Function approximated...
[The specification which is common to the model] • Quiet zone (blank area around QRCode) shall be secured by the user. [Sample Program] LPRINT CHR$(&H1D) ;”(”;”k”; CHR$(10); CHR$(0); CHR$(49); CHR$(80); CHR$(48); LPRINT “CITIZEN” LPRINT CHR$(&H1D) ;”(”;”k”; CHR$(3); CHR$(0); CHR$(49); CHR$(81); CHR$(48); [Print Results] - 310 -...
fn=67: Function 367 Setting module width of 2D GS1 DataBar GS ( k pL pH cn fn n [Code] <1D>H<28>H<6B>H<pL><pH><cn><fn><n> [Range] (pL+pH×256)=3 (pL=3、pH=0) cn=51 fn=67 2≦n≦8 [Outline] [The specification which is common to the model] • Sets the width of one module of GS1 DataBar to n dots. [Default] n=2 fn=71: Function 371 Setting maximum width of 2D GS1 DataBar Expanded Stacked...
fn=80: Function 380 Storing 2D GS1 DataBar data to 2D code data storage area GS ( k pL pH cn fn m n d1 … dk [Code] <1D>H<28>H<6B>H<pL><pH><cn><fn><m><n><d1…dk> [Range] 6≦(pL + pH×256)≦259 (0≦pL≦255、pH=0,1) cn=51 fn=80 m=48 n=72,73,76 k=(pL+pH×256) – 4 Range of d is different depending on type of GS1 Databar specified by n.
2.2.18 Gray Scale Commands GS ( z GrayBMP, size,height,bitcount,xL,yL,xpixel,ypixel,d1…dk CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Print of the gray scale raster graphics [Code] <1D>H<28>H<7A>H<kind1…10><size1,2,3,4><height1,2><bitcount1,2> <xL><yL><xpixel1,2,3,4><ypixel1,2,3,4>[d1…dk] [Range] kind1=71("G"), kind2=114("r"), kind3=97("a"), kind4=121("y"), kind5=66("B ") kind6=77("M"), kind7=80("P "), kind8,9,10=32("...
Page 315
[Outline] [The specification which is common to the model] CT-S801II/CT-S851II/CT-S601II/CT-S651II/CT-S251 • Gray Scale raser graphics is printed. • Size specifies the number of bytes after height1. • After amassing data of the amassing number of lines specified by height, printing is started. •...
Page 316
GS ( z WaterMark ,size,start,kc1,kc2,pass,feed,repeat CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying WaterMark Printing [Code] <1D>H<28>H<7A>H<kind1~10><size1,2,3,4><start><kc1><kc2> <pass1,2,3,4><feed1,2,3,4><repeat1,2,3,4> [Range] kind1=87("W"), kind2=97("a"), kind3=116("t")、kind4=101("e"), kind5=114("r") kind6=77("M"), kind7=97("a"), kind8=114("r"), kind9=107("k"), kind10=32(" ") size=15 *size = size1+size2×256+size3×65536+size4×16777216 start=0, 1...
Page 317
[Outline] [The specification which is common to the model] CT-S801II/CT-S851II/CT-S601II/CT-S651II/CT-S251 • Start and End of watermark printing are specified. (Starting: start = 1, Endign: start = 0) • When the watermark printing start is specified, the image data defined by the key code (kc1, kc2) is printed simultaneously (overlay printing), when printing other printing data as watermark printing.
2.2.19 Other Commands DLE ENQ n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Real-time request to printer [Code] <10>H<05>H<n> [Range] 0≤ n≤ 2 [Outline] [The specification which is common to the model] •...
DLE DC4 fn m t (Specification of fn = 1) CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Outputting specified pulse in real-time [Code] <10>H<14>H<fn><m><t> [Range] fn=1, m=0, 1 1 ≤ t ≤ 8...
DLE DC4 fn d1...d7 (Specification of fn = 8) CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Buffer clear [Code] <10>H<14>H<fn><d1> …<d7> [Range] fn=8, d1=1, d2=3, d3=20, d4=1, d5=6, d6=2, d7=8 [Outline] [The specification which is common to the model] •...
ESC = n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Data input control [Code] <1B>H<3D>H<n> [Range] 0≤n≤255 [Outline] [The specification which is common to the model] • Selecting equipment for which data input from the host is valid.
ESC @ CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Initializing the printer [Code] <1B>H<40>H [Outline] [The specification which is common to the model] • Clears data stored in the print buffer and brings various settings to the initial state (Default state).
ESC L CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Selecting PAGE MODE [Code] <1B>H<4C>H [Outline] [The specification which is common to the model] • Switches from STANDARD MODE to PAGE MODE.
ESC S CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Selecting STANDARD MODE [Code] <1B>H<53>H [Outline] [The specification which is common to the model] • Switches from PAGE MODE to STANDARD MODE.
ESC p m n1 n2 CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Generating the specified pulses [Code] <1B>H<70>H<m><n1><n2> [Range] m=0, 1, 48, 49 0<n1≤n2≤255 [Outline] [The specification which is common to the model] •...
Page 326
GS ( A pL pH n m CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Execution of test printing [Code] <1D>H<28>H<41>H<pL><pH><n><m> [Range] (pL+(pH×256))=2 (pL=2, pH=0) 0≤n≤2, 48≤n≤50 1≤m≤4, 49≤m≤52 [Outline] [The specification which is common to the model] •...
Page 327
[Caution] [The specification which is common to the model] • This command is only valid when processed at the head of a line during the STANDARD MODE. • The command will be ignored in PAGE MODE. • During macro definition, if this command is processed, the macro definition is suspended, and the command starts being processed.
GS I n CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Sending the printer ID [Code] <1D>H<49>H<n> CT-S280 [Range] 1≤n≤3, 49≤n≤51, 65≤n≤67, n=69, 112 CT-S281/CT-S300/CT-S310/CT-S2000/CT-S4000/CT-S801(II)/CT-S851(II)/ CT-S601(II)/CT-S651(II)/CT-P29x series/CT-S310II/CT-S251 1≤n≤4, 49≤n≤52, 65≤n≤67, n=69, 112 CT-S281 •...
Page 329
CT-S280 • Sends printer information specified by n=65 or more. Hex. Number of Data Type of Printer ID Specification Value (Hex.) Header 1, 49 CT-S280 Model ID Data 20H to 7FH Subject to item to be responded 2, 50 Type ID Refer to table “Type ID”...
Page 330
Type of Printer ID Specification Value (Hex.) Firmware version Differs by firmware version. 1, 49 Model ID CT-S281 Manufacturer name CITIZEN 2, 50 Type ID Refer to table “Type ID” below Model name CT-S281 3, 51 ROM version ID Differs by ROM version.
Page 331
Specification Value (Hex.) Firmware version Differs by firmware version. 1, 49 Model ID CT-S300,CT-S310 Manufacturer name CBM,CITIZEN 2, 50 Type ID Refer to table “Type ID” below Model name CT-S300, CT-S310 3, 51 ROM version ID Differs by ROM version.
Page 332
Fixed below. Fixed Kind of Printer *only serial model Information Information Firmware version Differs by firmware version. Manufacturer name CITIZEN Model name CT-S310II Japanese Kanji specifications: Kinds of multi-language KANJI JAPANESE fonts Hangul specification: KOREA Chinese specifications: CHINA GB18030 Refer to table “DSW” below...
Page 333
CT-S2000 Firmware version Differs by firmware version. 2, 50 Type ID Refer to table “Type ID” below Manufacturer name CITIZEN 3, 51 ROM version ID Differs by ROM version. Model name CT-S2000 Black mark/ Label Depends on Black mark paper/ Label...
Page 334
Type of Printer ID Specification Value (Hex.) Firmware version Differs by firmware version. 1, 49 Model ID CT-S4000 Manufacturer name CITIZEN 2, 50 Type ID Refer to table “Type ID” below Model name CT-S4000 3, 51 ROM version ID Differs by ROM version.
Page 335
Type of Printer ID Specification Value (Hex.) Firmware version Differs by firmware version. CT-S801/851 1, 49 Model ID Manufacturer name CITIZEN CT-S601/651 CT-S801(II) 2, 50 Type ID Refer to table “Type ID” below CT-S851(II) 3, 51 ROM version ID Differs by ROM version.
Page 336
Initial values are 4 digit of low ranks of PIN code 12 degit (colon is exduded) of addresses printed by self printing. Manufacturer (iAP) CITIZEN SYSTEMS name (iAP)Model name Example: CT-S851II Protocol name (iAP) com.citizen.protocol01 (iAP)Bundle seed ID...
Page 337
Initial values are 4 figures of low ranks Undefined PIN code of 12 figures (except for colon":") of Unused addresses printed by self printing. Undefined Manufacturer (iAP) CITIZEN SYSTEMS Undefined name Unused (iAP)Model name Example: CT-S851II Protocol name (iAP) com.citizen.protocol01...
Page 338
Information Dip switch [DSW2] is OFF Firmware version Differs by firmware version. Dip switch [DSW2] is ON Manufacturer name CITIZEN Dip switch [DSW1] is OFF Model name CT-P291/293 (Remark) Dip switch [DSW1] is ON Kinds of multi-language Japanese Kanji specifications:...
GS P x y CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Specifying the basic calculation pitch [Code] <1D>H<50>H<x><y> [Range] 0≤x≤255, 0≤y≤255 [Outline] [The specification which is common to the model] • This command sets the horizontal basic calculation pitch to approx. 25.4/x mm (1/x inches), and the vertical basic calculation pitch to approx.
ESC RS CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Sound buzzer [Code] <1B>H<1E>H [Outline] [The specification which is common to the model] • Sound the buzzer for 200 ms. [Caution] [The specification which is common to the model] •...
GS R 2 n t1 t2 CT-S280 CT-S300 CT-S2000 CT-S4000 CT-S251 Support model CT-S281 CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310 II [Function] Controlling bezel LED [Code] <1D>H<52>H<32>H<n>H<t1>H<t2> [Range] 0≤n≤2, 48≤n≤50 0, 2≤t1≤255, 0, 2≤t2≤255 [Outline] This command controls Bezel LED.
Memory switch is changed by manual setting or by command in the memory switch change mode. * Hereafter, memory switch is referred to as MSW. 4.1 Memory Switches 4.1.1 CT-S280 Setting MSW1-1 Power ON Info ●...
Page 358
Setting Default Set Values 1200bps, 2400bps, 4800bps, 9600bps, 19200bps, MSW7-1 Baud Rate 9600bps 38400bps, 57600bps, 115200bps MSW7-2 Data Length 8bits 7bits, 8bits MSW7-3 Stop Bit 1bit 1bit, 2bits MSW7-4 Parity None None, Odd, Even MSW7-5 Flow Control Xon/Xoff DTR/DSR, Xon/Xoff MSW7-6 Reserved MSW7-7...
4.1.10 CT-S801 II/CT-S851 II Setting MSW1-1 Power ON Info ● Valid Not send MSW1-2 Buffer Size ● 4K bytes 45 bytes MSW1-3 Busy Condition ● Full/Err Full MSW1-4 Receive Error ● Print ? No Print MSW1-5 CR mode ● Ignored MSW1-6 Reserved ●...
Page 375
Setting Default Set Values 1200 bps, 2400bps, 4800bps, 9600bps, 19200bps, MSW7-1 Baud Rate 9600bps 38400bps, 57600bps, 115200bps MSW7-2 Data Length 8bits 7bits, 8bits MSW7-3 Stop Bit 1bit 1bit, 2bits MSW7-4 Parity None None, Odd, Even MSW7-5 Flow Control DTR/DSR DTR/DSR, Xon/Xoff MSW7-6 DMA control Valid...
Page 376
<<Difference of MSW by the model>> MSW4-4 and MSW4-5 are different by the model as follows. Model Standard Black mark model Label model Black mark paper/ Black mark paper/ MSW4-4 Thermal paper Label paper Label paper MSW4-5 Black mark detection Black mark detection Label detection - 375 -...
4.2 Details of Memory Switches This section describes the function of memory switch. Some MSW may not be set or some values may not be selected depending on the model used. For the MSW and value that can be set or selected with the model you are using, refer to the operation manual or the like.
Page 384
●MSW1-3: Busy condition [Outline] Select the condition that printer is BUSY . Automatic status send function also runs. OFF(0) ON(1) Busy Condition Buffer full/Off-line Buffer full ON (1) OPERATION: If receive buffer is full, printer is BUSY . Automatic status send (ASB) function is enabled. OFF (0) OPERATION: If receive buffer is full or off-line, printer is BUSY .
Page 385
●MSW1-5: CR code [Outline] Select the printer when receiving CR(<0D>H) code. OFF(0) ON(1) CR mode Ignored ON (1) OPERATION: Select the same operation with LF when receiving CR code. Print data in print buffer and put linefeeds as specified. OFF (0) OPERATION: CR code may be ignored with no actions if receiving CR code.
4.2.2 MSW2 ●MSW2-1: Reserved [Fixed to ON(1)] ●MSW2-2: Auto-cutter operation [Outline] Select auto-cutter enable/disable. OFF(0) ON(1) Auto Cutter Invalid Valid ON (1) OPERATION: Auto-cutter enabled OFF (0) OPERATION: Auto-cutter disabled ●MSW2-3: Buffering [Outline] Select buffering print enable/disable. OFF(0) ON(1) Spool Print Invalid Valid ON (1) OPERATION: Buffering print is enabled.
Page 387
●MSW2-4: Full Columns print [Outline] Select the processing if print data closes to the end of line or the right of print width. OFF(0) ON(1) Full Col print Line Feed Wait Data ON (1) OPERATION: If printer receives data/command exceeding the full column, printer further waits for print data. If data exceeding the full column is a command, printer operates following the command.
Page 388
●MSW2-6: Paper width [Outline] Select paper width. OFF(0) ON(1) Paper width 80mm 58mm ON (1) OPERATION: Paper width is set 80mm OFF (0) OPERATION: Paper width is set 58mm ●MSW2-7: Reserved [Fixed to OFF (0)] ●MSW2-8: PNE sensor [Outline] Select paper near-end enable/disable. OFF(0) ON(1) PNE Sensor...
4.2.3 MSW3 ●MSW3-1: Auto-cutter return [Outline] Selects the return method from cutter lock error . OFF(0) ON(1) Resum Cttr Err Valid Invalid ON (1) OPERATION: Return by command. After removing error cause, return with command <DLE ENQ n>. OFF (0) OPERATION: Return with FEED switch. After removing error cause, return by long pressing FEED SW (1 sec or longer).
Page 390
●MSW3-3: Parallel 31 pin [Outline] Printer can be reset by parallel I/F –31 Pin signal. Select the handling of this signal. OFF(0) ON(1) Parallel 31 pin Valid Invalid ON (1) OPERATION: Used as reset signal OFF (0) OPERATION: Not used as reset signal ●MSW3-4: Selecting paper [Outline] Selects either thermal paper or black mark paper.
Page 391
●MSW3-8: Cover open during printing [Outline] Select the release method of cover open error during printing. OFF(0) ON(1) Resum Open Err Close Command ON (1) OPERATION: Cover open error during printing becomes a return allowed error . Returned with command <DLE ENQ n> after cover is closed. OFF (0) OPERATION: Cover open error during printing becomes an automatic return error .
4.2.4 MSW4 ●MSW4-1: Automatic length measurement [Outline] In selecting black mark paper , set the enable/disable of automatic length measurement. (Black mark/label support model only) OFF(0) ON(1) BM Measure Invalid Valid ON (1) OPERATION: Automatic length measurement is enabled. At power-up, measurement operation is taken. OFF (0) OPERATION: Automatic length measurement is disabled.
Page 393
●MSW4-3: Paper feed & cut at closing cover [Outline] When cover is closed, printer feeds paper and cuts. OFF(0) ON(1) Feed & Cut at TOF Invalid Valid ON (1) OPERATION: Paper feed & cut at closing cover is enabled. OFF (0) OPERATION: Paper feed & cut at closing cover is disabled. ●MSW4-4: Paper [Outline] Selects the type of paper used.
Page 394
** If MSW4-1 is set for auto length measurement or MSW4-2 is set to find TOF , this function works at power ** If the printer is turned off with receipt mode set by this function, the printer goes back to label mode. ●MSW4-7: DC3 command function switch (CT-S280 unique) [Outline] Select the operation taken when DC3 command is received.
Page 395
●MSW4-8: Forcible partial cut [Outline] Select the operation taken when full cut command is received. OFF(0) ON(1) Partial only Invalid Valid ON (1) OPERATION: When full cut command is received, partial cut, not full cut, is taken. OFF (0) OPERATION: When full cut command is received, full cut is taken. - 394 -...
4.2.5 MSW5 ●MSW5-1: Buzzer [Outline] Select the enable/disable of buzzer . OFF(0) ON(1) Buzzer Valid Invalid ON (1) OPERATION: Disable buzzer When an error occurs or memory switch setting is changed manually, no buzzer sounds. OFF (0) OPERATION: Enable buzzer . When an error occurs or memory switch setting is changed manually, the buzzer sounds.
Page 397
●MSW5-5: Setting the power OFF notify (Only for CT-S4000) [Outline] At power OFF , to notify the host of the printer power OFF , printer can send to host 3 byte power OFF notify status data ( 3BH 31H 00H). Set to enable/disable for sending the power OFF notify status data.
Page 398
●MSW5-6: Auto Back Feed (CT-S281 unique) Selects the behavior of GS+FF (print and black mark/label ejection) command [Outline] OFF(0) ON(1) Auto Back Feed After Cut Before Print After the cut, paper stay there and when printer receives next print data, the back ON (1) OPERATION: feeding paper to top of form is done.
4.2.6 MSW6 ●MSW6-1: Mode to use with the driver [Outline] Selects the valid/invalid of mode to use with the driver OFF(0) ON(1) Mode to use with the driver Invalid Valid ON (1) OPERATION: FAULT signal is not output in the error condition to parallel port.. ASB is valid at power on.
4.2.7 MSW7 ●MSW7-1: Baud rate [Outline] Selects the baud rate which is serial interface communication condition. Enabled if DSW1-1 OFF is set [following memory switch setting] . Setting Value 1200bps,2400bps,4800bps,9600bps,19200bps, Baud Rate 38400bps,57600bps,115200bps ●MSW7-2: Data length [Outline] Selects the data length, which is a serial interface communication condition. Enabled if DSW1-1 OFF is set [following memory switch setting] .
Page 401
●MSW7-6: DMA control [Outline] Selects the valid/invalid of DMA (Direct Memory Access) control. Setting Value DMA control Valid, Invalid ●MSW7-7: VCom flow control [Outline] In MSW5-3, selects the flow control when virtual COM is set. Setting Value VCom Protocol PC setting, DTR/DSR, XON/XOFF - 400 -...
4.2.8 MSW8 ●MSW8-1: Print width [Outline] Selects the print width in dots. Setting Value 832dots, 720dots, 660dots, 640dots, 576dots, Print Width 512dots, 436dots, 432dots, 420dots, 384dots, 360dots, 390dots, 546dots ●MSW8-2: Paper type [Outline] Selects the paper type used. Setting Value 1 Color Normal, 1 Color BM, 1 Color Label, Paper Type 2 color Normal, 2 Color BM...
Page 403
●MSW8-5: Reduced Char V/H [Outline] Select the character compression raio Setting Value 100%/100%, 75%/100%, 50%/100%, Reduced Char V/H 100%/75%, 75%/75%, 50%/75% This function is to save the paper by compressed character size. Character size compression is done by reducining dots of characters in vertical way or horizontal way. Choice of compression is combination of vertical way (100%, 75% or 50%) and horizontal way (100% or 75%) Print area is compressed as well together with the character size compression.
Japan, Norway, Denmark 2, Spain2, Latin America, Korea ●MSW9-3: Kanji [Outline] Selects the enable/disable of Kanji. Setting Value Kanji ON, OFF ●MSW9-4: JIS(CT-S280/CT-S281/CT-S310/CT-S310II/CT-S2000/CT-S4000/ CT-S801/CT-S851/CT-S601/CT-S651/CT-S251 unique) [Outline] Selects the kanji code system. Setting Value JIS/Shift JIS JIS, Shift JIS Setting Value...
Page 405
●MSW9-5: Reserved [Fixed to OFF (0)] ●MSW9-6: Language for LCD message [Outline] Selects the language of message shown on the LCD. Setting Value English, Français, Deutsch, Italiano, LCD Language Español, Japanese, Chinese ●MSW9-7: LCD download message [Outline] Selects the valid/invalid of download message for LCD. Setting Value LCD Ext.
4.2.10 MSW10 ●MSW10-1: Print density [Outline] Selects the print density. Setting Value 70%, 75%, 80%, 85%, 90%, 95%, 100%, 105%, Print Density 110%, 115%, 120%, 125%, 130%, 135%, 140% ●MSW10-2: Print speed [Outline] Selects the print speed. Setting Value Level1, Level2, Level3, Level4, Level5, Level6, Print Speed Level7, Level8, Level9 ●MSW10-3:...
Page 407
●MSW10-6: Buzzer volume (CT-S801(II)/CT-S851(II)/CT-S601(II)/CT-S651(II)/CT-S251 unique) [Outline] Selects the buzzer volume level Setting Value Buzzer volume Level1, Level2, Level3, Level4 Level 1 is the maximum and level 4 is the minimum. ●MSW10-6: Buzzer event [Outline] Selects the events of the printer to activate the buzzer . Setting Value Buzzer Event All, Not by C.Open, Not by C.Open/PE...
4.2.11 MSW11 ●MSW 11-1: Bezel LED [Outline] Selects the Control Bezel LED Setting Value Bezel LED Off, On, Blink, Blink by Recv 4.2.11 MSW13 ●MSW 13-1: BT Security 1 (CT-S281BT Model unique) Set the Bluetooth security level together with MSW13-2. [Outline] OFF(0) ON(1)
Page 409
●MSW13-5: BT Device Scan Set the behavior against the Bluetooth device scan. [Outline] OFF(0) ON(1) BT Device Scan No Response Discoverable ON (1) OPERATION: Printer does not respond against Bluetooth device scan. OFF (0) OPERATION: Printer is discoverable from any Bluetooth device,. ●MSW13-6:...
5. APPENDIX 5.1 Explanation on PAGE MODE 5.1.1 Overview The printer has two print modes: STANDARD and PAGE. In STANDARD MODE, the printer prints or feeds paper each time it receives a print or paper feed command. In PAGE MODE, when the printer receives print commands and/or form feed commands, it simply forwards them to the specified print area of memory.
5.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 the printer has finished all of the print and paper feed actions specified before receiving an ESC W, the ESC W sets the right end (as viewed facing the printer) as the start point (x0, y0) of the print area.
Page 412
Mapping direction x0, y0 24-3 Baseline Point A dx, dy Print area Figure 5-1 Mapping Position for Character Data Bar code GS k m = nH*256+nL 24-3 Bit image GS * x y ESC * m nL nH Baseline (HRI Characters) Point B Point B Point B...
5.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 the host to the printer in the following sequence: (1) An ESC L puts the printer in PAGE MODE. (2) An ESC W specifies the print area.
Page 414
In Figure 4-3, a line feed occurs between “lesson” and “Test 1” because the space “ “ next to “lesson” does not fit in the 400-pitch print area. The line feed width conforms to the value specified by a command such horizontal range of the 200 as ESC 3.
Page 415
(0,0) 200 Page mode lesson Paper 2CAN command ABCDEFGHIJKLMNOP QRST1234567890 Print area Print Direction Figure 5-4 Example 2: Result of Print Before an FF is sent (170th line), the following program code can be added to remove part of the data. <...
Page 416
(0,0) 200 Page mode lesson Paper 2CAN command ABCDEF JKLMNOP QRST1234567890 Print area Print Direction Figure 5-5 Print Result of Adding a Program of Example 3 to Example 2 - 415 -...
5.2 Bidirectional Parallel Interface Overview The interface of the printer is a Level-1 compatible device according to IEEE-P1284. It supports the communication modes described in 5.2.1 below. 5.2.1 Parallel Interface Communication Mode The parallel interface of the printer provides three communication modes as outlined below. When the printer is turned on or reset, it defaults to Compatibility mode.
5.2.2 Interfacing Phases Interfacing in each communication mode is divided into several phases. In addition, there is a phase for mode initialization, as well as a phase for mode switching. Interface signals may differ in name and function for different modes and different phases. Aborted Termination from Transfer...
5.2.3 Negotiation Overview Usually, the printer is started in Compatibility mode, which corresponds to the Centronics interface phase. When the host intends to switch to the Nibble or Byte mode, it sends a request and negotiates with the printer. A general flow of negotiations is given below.
Page 420
Precautions (1) The Negotiation phase is triggered when the IEEE 1284 Active signal sent by the host becomes High. (2) In Compatibility mode, the time when the negotiation process begins is, as a general rule, after the host sets nStrobe to High and then the printer outputs an nAck pulse.
Data Communication from Printer to Host Nibble Mode In this mode, data is transferred between the printer and the host through the procedure described below. The steps beginning from (1) are applicable when the Negotiation phase has switched to the Host Busy Data Available phase. If the Negotiation phase has switched to the Host Busy Data Not Available phase, the procedure starts at step (9).
Page 422
(14) Upon receiving a request for interrupt from the printer, the host responds by setting HostBusy (nAutoFd) to High. (Event (15) Finally, the printer responds to the host by setting AckDataReq (PError) to Low, and then the host moves to the Host Busy Data Available phase.
Byte Mode In this mode, data is transferred between the printer and the host through the procedure described below. The steps beginning from (1) are applicable when the Negotiation phase has switched to the Host Busy Data Available phase. If the Negotiation phase has switched to the Host Busy Data Not Available phase, the procedure starts at step (9).
Page 424
The device ID is a character string that provides the ID, the type, and other information regarding the printer connected to the interface. When the printer receives a request for a device ID from the host, it replies with the following device ID: <00>H<2E>H MFG:CITIZEN; CMD:ESC/POS; MDL:CT-S300;(*) CLS:PRINTER;...
Page 425
Termination Termination is the process of returning to Compatibility mode from the Nibble or Byte modes. When performing Termination, the host sets the signals as follows: • IEEE 1284 Active (nSelectln): Low • HostBusy (nAutoFd): High (Event 22) There are two methods of Termination: (1) Termination through a handshake between the host and the printer (2) Immediate termination (1) Termination through a handshake between the host and the printer:...
5.3 Identification of Send Status Because the status sent from the printer has certain fixed bits, it is possible to identify to which command the status belongs. When using ASB (Automatic Status Back), however, the first byte of ASB should be checked, and then the three consecutive bytes except for XOFF should be treated as ASB data.
5.4 Cautions on Black Mark/Label Paper Cautions on LF (CR), ESC J, ESC d, Page mode, Image, and barcode printing. Printing of image greater than vertical print area of BM paper/label paper used is prohibited as a rule. The user must use label while taking label size into account at all times and terminate printing of a sheet of label with FF, ESC FF or GS FF.
Page 428
If printing of image greater than inter-BM distance/label paper length (vertical print area width) is attempted, image is printed in two separated images as shown below. Barcode, Image greater than vertical print area of label paper used is printed over the label. downloaded image, In this case, head and bottom margins must be NV image,...
Need help?
Do you have a question about the CT-S280 and is the answer not in the manual?
Questions and answers