Page 3
RD-KT247 thermal printers Chapter 3: Command system ........................ 14 3.1 Command list ..........................14 Horizontally magnify character ......................15 3.2 Command Details .......................... 16 ESC @ ............................... 16 LF ................................ 16 CR ............................... 16 ESC J .............................. 17 ESC d n ............................. 17 ESC c ..............................
Page 4
RD-KT247 thermal printers Q n ............................. 23 n ............................23 ESC 1 ESC SP n ............................ 23 ESC a n ............................. 24 FS r n ............................24 U ............................25 ESC V .............................. 25 ESC X .............................. 25 ESC i ..............................26 ESC m ..............................
Page 5
RD-KT247 thermal printers ESC v ..............................37 FS & ..............................38 FS............................... 38 ESC 6 ..............................38 ESC 7 .............................. 39 GS F n ..............................39 ESC r d n ............................. 39 Chapter 4: Maintenance and Troubleshooting ..................40 APPENDIX ..............................
RD-KT247 thermal printers Chapter 1: Overview The printing paper width of RD-FH5C5 THERMAL PRINTER is 57mm. Equipped with a cutter, and supports the full cutting or half cutting function. The series printer increases sheet metal casing on the basis of the W series, which is more convenient to install for customers. The printer uses fully enclosed large paper warehouse design, which can effectively prevent rain and dust from entering.
RD-KT247 thermal printers 1.1Power connector Power Interface is the 4PIN, which is 2.54mm at equal distance and perpendicular. name description Positive power supply, 8.5V ± +8.5V 0.5V The average supply current : -8.5V 3A, the MAX : 5A 1.2Performance indicators...
RD-KT247 thermal printers FEED button: Click the button and the printer feed paper one line. Hold down the button and the printer continuously feed paper. 1.3.2 Operation 1. self- test Step 1: The power of the printer is turned off.
RD-KT247 thermal printers Chapter 2: communication interface 2.1 serial interface 2.1.1Define of Interface Data transfer: Serial Synchronization way: Asynchronous Handshake signals: CTS / RTS, DTR / DSR or XON / XOFF Baud Rate: 1200,2400,4800,9600,19200,38400,57600,115200 bps. They can be changed by DIP switch selection.
RD-KT247 thermal printers receives the data from the host. printer’s dashboard sends data to the host. (When using Import(in host ‘X-ON/X-OFF’ Handshake Protocol,the printer sends control code ‘X-ON/X-OFF’ to the computer.) When the signal is in a state of ‘MARK’, it means that the printer is busy and can’t...
RD-KT247 thermal printers The signal line ‘2’send out the Data can enter X-ON/X-OFF X-ON code ‘11H’ control The signal line ‘2’send out the Data can’t enter X-OFF code ‘13H’ 2.1.4Lack of paper selecting bit 说 明 When the printer is lack of paper, it will stop printing, and online...
RD-KT247 thermal printers Initialization: baud rate, data CTS=1 send data Whether to end sending 2.2Parallel interface The RD-FH5C5 system thermal parallel interface printer uses 26P double-row needle socket as the HTTP://WWW.RD-CN.COM 13 / 61...
RD-KT247 thermal printers communication interface, and the spacing between the needles is 2.54mm. Figure 2-3 is the parallel interface figure. Figure 2-3 2.2.1data interface 26pin row DB25 parallel Signal Signal Illustration socket interface wire on the name direction (pin NO.) PC (pin NO.)
RD-KT247 thermal printers 12, 25 Signal ground 10~24 — — ①The mainframe and printer in the item ‘ the source Matters need attention: signal source’ means of the signal sending out ②The signal logic level is EIA level. 2.2.2 Parallel interface data transmission method Using parallel interface to send data is relatively more trouble than using serial interface, because using parallel interface to send data need the cooperation of the ‘STB’,‘BUSY’...
RD-KT247 thermal printers Chapter 3: Command system 3.1 Command list RD-DH32 Series thermal printers use the ESC / POS compatible command, and add tosome functions such as the Chinese characters printing, Character and Chinese characters rotation, and word spacing adjustment.
RD-KT247 thermal printers Select the Kanji mode FS & Cancel the Kanji mode FS . To allow/ban the overline printing ESC + To allow/ban the underline printing (to set/clear ESC – the underline mode) To set the line spacing ESC 1 To select Character Set 1 (...
Page 18
RD-KT247 thermal printers Select mode GS F GS Q Set horizontal printing position for the bar code GS k Print the bar code(s) Magnify characters ESC X Select bar code’s height GS h Select bar code’s width GS w To allow/ban white reverse printing mode...
RD-KT247 thermal printers 3.2 Command Details ESC @ To initialize the printer [Name] [Type] ASCII: Decimal: Hex: Clear the data in the print buffer, and reset the printing parameters to the [Explanation] current printer default parameters. [Note] •The data in the receive buffer is not cleared.
RD-KT247 thermal printers ESC d n print and feed paper n lines [Name] [Type] ASCII: ESC d n Decimal: 27 100 n Hex: 1B 64 n [Scope] 0 ≤n ≤ 255 Print the data in the print buffer and feed paper n lines...
RD-KT247 thermal printers When n=0, ban reverse printing and the printing is from right to left. direction [Comment] When the printer is vertically installed , the printer uses the reverse printing way. Reversely printing not only supports character mode, and also supports graphical mode.
RD-KT247 thermal printers Hex: 1B 21 n [Scope] 0 ≤ n ≤ 255 [Explanation]Set the printing mode(s) according to the value of n function English characters (half-width) font A(12×24) English characters ( half - width ) font B (8×16) 1,2,3 ――...
Page 24
RD-KT247 thermal printers Hex: n1…nk 00 1B 44 [Scope] 1 ≤ ≤ 255 0 ≤ ≤ 20 Set the position of horizontal tab [Explanation] n specifies the column number for setting a horizontal tab position from the beginning of a line.
RD-KT247 thermal printers also change. The default tab positions are Font A (12*24). [Default] [Example] unsigned str[8]; unsigned char Order = 9; str[0] = 0x1B; str[1] = 0x44; one character spacing from the first column str[2] = 2;// eight character spacing from the first column str[3] = 9;//...
RD-KT247 thermal printers [Note] • Underline can’t act in the rotation and reverse characters. • This command only affects the English and Kanji characters. [Default] = 0. [Example] unsigned char str[3]; str[0] = 0x1B; str[1] = 0x2D; str[2] = 0x1;...
RD-KT247 thermal printers select/cancel white reverse printing mode [Name] [Type] ASCII: GS B n Decimal: 29 66 n Hex: 1D 42 n [Scope] 0 ≤n ≤ 255 select/cancel white reverse printing mode [Explanation] • When the LSB of n is 0, cancel white/black reverse printing mode.
RD-KT247 thermal printers (Decimal) Does not rotate 90 degrees (Counterclockwise rotation) 180 degrees (Counterclockwise rotation) degrees (Counterclockwise rotation) [Note] Under the 90 degrees or 270 degrees rotation mode, the character width and height magnification direction is opposite to the magnification direction of the general mode.
RD-KT247 thermal printers [Comment] • Settings outside the specified printable area are ignored. • In mode 1, n <= 372; In mode 2, n <= 420 [Example] unsigned char str[4]; str[0] = 0x1B; str[1] = 0x24; str[2] = 32;// SendDataToPrinter (str, 3); // Set the absolute position to 32 horizontal dot pitch from the left...
RD-KT247 thermal printers str[1] = 0x6C; str[2] = 3;// SendDataToPrinter (str, 3); // the left position is set to the width of 3 English characters from the left margin set the right margin [Name] [Type] ASCII: Decimal: 81 n Hex: 51 n [Scope] 0 ≤n ≤...
RD-KT247 thermal printers Hex: [Scope] 0 ≤ n ≤ 255 (The default value of ‘n’ is 3) [Default] n=3 Set the line spacing to n vertical dot pitch [Explanation] [Example] unsigned char str[4]; str[0] = 0x1B; str[1] = 0x31; str[2] = 8;...
RD-KT247 thermal printers Hex: 1B 61 n [Scope] 0 ≤ n ≤ 2 [Explanation] Aligns all the data in one line to the specified position. n selects the justification as follows: justification methods justification Left Centering justification Right [Comment] • This command is only valid at the beginning of the line.
RD-KT247 thermal printers Result The value of n superscript subscript [Comment] The command is effective for all characters (including English characters and Kanji) The command is ignored if n is outside the defined scope [Example] unsigned char str[3]; str[0] = 0x1C;...
RD-KT247 thermal printers str[0] = 0x1B; str[1] = 0x55; str[2] = 2; Horizontally magnify 2 times SendDataToPrinter(str,3);// ESC V Vertically magnify characters [Name] [Type] ASCII: Decimal: 86 n Hex: 56 n [Scope] 0 ≤ n ≤8 [Comment] The command is effective for all characters (including English characters and Kanji)
RD-KT247 thermal printers [Comment] The command is effective for all characters (including English characters and Kanji), except barcode reading characters. The command is ignored if n is outside the defined scope. Vertical direction is the paper feeding direction, and horizontal direction is vertical with the paper feeding direction.
RD-KT247 thermal printers This command can only print the black/white bit-image whose height is 8 dots and width does not exceed the printable area. The nL and nH are the low and high bit of double-byte unsigned integer N. They express the number of the dots of the bit-image on the horizontal direction.
Page 38
RD-KT247 thermal printers [Explanation] This command can only print the black/white bit-image whose height is 8 dots or 24 dots and width does not exceed the printable area. The parameter meaning is as follows: Using the m to select the bit image modes, and the dots of the bit image in the horizontal direction are specified by the nL and Nh.
Page 39
RD-KT247 thermal printers Program code is as follows: unsigned char str[100]; j=0; str [j++] = 0x1B; str r[j++] = 0x2A; str [j++] = 0; //m=0 (height is 8 dots, t wice as width) str [j++] = 8; //the width of the graphic is 8dots str [j++] = 0;//the bit image data...
Page 40
RD-KT247 thermal printers Program code is as follows: unsigned char str[100]; j=0; str[j++] = 0x1B; str[j++] = 0x2A; str[j++] = 1; //m=1( height is 8 dots, don’t enlarge ) str [j++] = 8; //the graphic width is 8dots str [j++] = 0;//bit image data str[j++] = 0x00;str[j++] = 0x80;str [j++] = 0xFF;str[j++] = 0x90;str[j++] = 0x98;...
Page 41
RD-KT247 thermal printers [Example 3] m =32 (24 dots, t wice as width), d1,d2 and d3 represent the data to be printed in the first, second and third column. And dk represents the data to be printed in the k column.
Page 42
RD-KT247 thermal printers Program code is as follows: unsigned char str[200]; j=0; str[j++] = 0x1B; str[j++] = 0x2A; str[j++] = 32; //m=32(height is 24 dots, double-width) str[j++] = 12; //graphic width is 12dots str[j++] = 0;//bit image data str[j++] = 0x10;str[j++] = 0x00;str[j++] = 0x20;str[j++] = 0x1F;str[j++] = 0xFF;str[j++] = 0xE0;...
RD-KT247 thermal printers Decimal: 29 72 n Hex: 1D 48 n [Scope] 0 ≤ n ≤ 2 [Explanation]Selects a font for the HRI characters used when printing a bar code. Use n to specify the printing position of HRI: printing position...
RD-KT247 thermal printers SendDataToPrinter(str,3);// GS k Print bar code [Name] [Type] ASCII: ① GS k m d1...dk NUL ② GS k m n d1... dn Decimal: 29 107 m d1...dk 0 29 107 m n d1... dn Hex: 1D 6B m d1...dk 00 1D 6B m n d1...
Page 48
RD-KT247 thermal printers 72 CODE93 73 CODE128 [Note] • When using the format 1 command, if the bar code type specifies the data length of the bar code, k (the barcode data length received by the printer) should be equal to the specified data length, and if not equal to the specified data length, the instruction is invalid .
Page 49
RD-KT247 thermal printers cannot be scanned. •The printer does not calculate the checksum, but if barcode needs the checksum, the checksum should be included in the bar code data, and the printer is not responsible for checking whether the checksum is wrong or right. The user calculates the checksum, and if it is wrong, it will cause that the bar code cannot be scanned.
Page 50
RD-KT247 thermal printers 0 ≤ nHL ≤1 N is the number of the curve’s dots and N = nH x 256 + nL The position of the curve’s dots in one horizontal line: X = xkH x 256 + xkL [Explanation] Each curve consists of many dots.
RD-KT247 thermal printers Cancel the Kanji characters mode [Explanation] [Example] unsigned char str[4]; str[0] = 0x1C; str[1] = 0x2E; SendDataToPrinter(str,2);//Enter ASCII characters printing mode ESC 6 To select Character Set 1 ( [Name] ) [Type] ASCII: ESC6 Decimal: Hex: [Explanation] After inputting the command, all of printing characters use the characters in the character set 1 (see appendix D).
RD-KT247 thermal printers characters, Including German, French, Russian, Japanese Katakana, etc. The range of code is 20H~FFH(32~255). [Example] unsigned char str[4]; str[0] = 0x1B; str[1] = 0x37; Character Set 2 SendDataToPrinter(str,2);// Print ‘6X8’ characters in the GS F n Select mode [Name] [Type] ASCII:...
RD-KT247 thermal printers Hex: [Scope] d=2B or 2D, 0 ≤ n ≤ 255 [Explanation] When d=2B, indicates the printing depth is adjusted deeper on the basis of the current printing depth. When d=2D, indicates the printing depth is adjusted more shallowly on the basis of the current printing depth.
RD-KT247 thermal printers printer shell, more particularly note protecting the printing head. 1. If the printer is not used for a long time, we do not turn on the printer power. 2. If the printer is not working properly, please turn off the printer's power.
RD-KT247 thermal printers D: bar code D.1 bar code coding rules 1. UPC-A: UPC-A coding should comply with the UCC Organization (http://www.uccnet.org) specification. 2. UPC-E: UPC-E coding should comply with the UCC Organization (http://www.uccnet.org) specification. 3. ENA8: ENA8 coding should comply with the ENA Organization (http://www.uccnet.org) specification.
RD-KT247 thermal printers be the '*'character, and it cannot contain the characters '*' between the starting and stopping bits. And the printer’s ‘*‘ is automatically given by the printer, and when programming the data need not be given, and the data can contain or cannot contain check code, and the check code have fixed algorithm.