Beijing Rongda innovation Technology RD-KT247 Manual

Beijing Rongda innovation Technology RD-KT247 Manual

Embedded thermal printers

Advertisement

Quick Links

RD-KT247 thermal printers
RD-FH5C5
Embedded thermal printers
specification of Development
Copyright: Beijing Rongda
innovation
Technology Limited
HTTP://WWW.RD-CN.COM
1 / 61

Advertisement

Table of Contents
loading

Summary of Contents for Beijing Rongda innovation Technology RD-KT247

  • Page 1 RD-KT247 thermal printers RD-FH5C5 Embedded thermal printers specification of Development Copyright: Beijing Rongda innovation Technology Limited HTTP://WWW.RD-CN.COM 1 / 61...
  • Page 2: Table Of Contents

    RD-KT247 thermal printers 目录 Chapter 1: Overview ........................... 5 1.1Power connector ..........................6 1.2Performance indicators ........................6 1.3operating ............................. 7 1.3.1operating key ..........................7 1.3.2 Operation ..........................7 1.3.3Indicator light ..........................7 1.4 Appearance size and installation dimensions (Unit: mm) ............7 Chapter 2: communication interface ......................
  • 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 ..............................
  • Page 6: Chapter 1: Overview

    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.
  • Page 7: Power Connector

    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...
  • Page 8: Operating

    RD-KT247 thermal printers Printing speed 100mm/s Standard serial interface (S)(RS232 or RD-FH5C5-S TTL) Data Interface standard parallel interface(P) RD-FH5C5-P Resolution 203 dpi ×203 dpi(8 dots / mm) Instruction system ESC/PON (Compatible instruction system) English, numbers, symbols, characters, graphics, curves, Printable contents bar code (CODE39、...
  • Page 9: Operation

    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.
  • Page 10: Chapter 2: Communication Interface

    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.
  • Page 11: Baud Rate Select Bit

    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...
  • Page 12: 4Lack Of Paper Selecting Bit

    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...
  • Page 13: Parallel Interface

    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...
  • Page 14: 1Data Interface

    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.)
  • Page 15: Parallel Interface Data Transmission Method

    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’...
  • Page 16: Chapter 3: Command System

    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.
  • Page 17: Horizontally Magnify Character

    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...
  • Page 19: Command Details

    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.
  • Page 20: Esc J

    RD-KT247 thermal printers carriage return [Name] print and [Type] ASCII: Decimal: Hex: carriage return [Explanation] Print the data in the print buffer and [Reference] LF [Example] unsigned char str[2]; str[0] = 0x0D;//或str[0] = ‘\r’ SendDataToPrinter(str,1); ESC J print and feed paper [Name] [Type] ASCII:...
  • Page 21: Esc D N

    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...
  • Page 22: Esc ! N

    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.
  • Page 23: Esc D N1 N2

    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.
  • Page 25: Esc - N

    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;//...
  • Page 26: Esc

    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;...
  • Page 27: Gs B N

    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.
  • Page 28: Esc $ Nl Nh

    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.
  • Page 29: Esc L N

    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...
  • Page 30: Escq N

    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 ≤...
  • Page 31: Esc Sp 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;...
  • Page 32: Fs R N

    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.
  • Page 33: Escu

    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;...
  • Page 34: Escv

    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)
  • Page 35: Esc I

    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.
  • Page 36: Esc M

    RD-KT247 thermal printers [Example] unsigned char str[4]; str[0] = 0x1B; str[1] = 0x69; SendDataToPrinter(str,2);// Send the full-cutting command ESC m Half cutting [Name] [Type] ASCII: Decimal: Hex: [Explanation] cutter: half cutting [Comment] • This command does not cause feeding line.
  • Page 37: Esc * M Nl Nh D1

    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;...
  • Page 43: Gs V 0 M Xl Xh Yl Yh D1

    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=33 ( height is 24 dots, don’t enlarge ) str[j++] = 12; // graphic width is 12dots str[j++] = 0;...
  • Page 44: Gs H N

    RD-KT247 thermal printers [Scope] 0 ≤ m ≤ 3, 48 ≤ m ≤ 51 ≤ xL ≤ 255 ≤ xH ≤ 255 where 1 ≤ (xL + xH × 256) ≤ 128 ≤ yL ≤ 255 ≤ yH ≤ 8 where 1 ≤ (yL + yH × 256) ≤ 4095 ≤...
  • Page 45: Gs W N

    RD-KT247 thermal printers [Default] n=48 [Example] unsigned char str[4]; str[0] = 0x1D; str[1] = 0x68; str[2] = 30; SendDataToPrinter(str,3);//Set the bar code height to 30 vertical dot pitch GS w n Select bar code width [Name] [Type] ASCII: GS w...
  • Page 46: Gs Q N

    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...
  • Page 47: Gs K

    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.
  • Page 51: Esc V

    RD-KT247 thermal printers str[i++] = 0x27; str[i++] = 0x5;//打印5条曲线 str[i++] = 0x0; str[i++] = 50+m_cur2; str[i++] = 0; str[i++] = 50-m_cur2; str[i++] = 0; str[i++] = 50; str[i++] = 0; str[i++] = 50+m_cur1; str[i++] = 0; str[i++] = 50-m_cur1; str[i++] = 0;...
  • Page 52 RD-KT247 thermal printers Normal Error printer’s status Undefined ―― ―― Undefined ―― ―― Undefined ―― ―― Undefined ―― ―― [Example] unsigned char str[4]; str[0] = 0x1B; str[1] = 0x76; SendDataToPrinter(str,2);//Send status query command to the print FS & Select the Kanji mode [Name] [Type] ASCII:...
  • Page 53: Esc 6

    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).
  • Page 54: Gs F N

    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:...
  • Page 55: Chapter 4: Maintenance And Troubleshooting

    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.
  • Page 56: Appendix

    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.
  • Page 57: B: Character Set 1 And 2

    RD-KT247 thermal printers Ç ü é â ä à! å ç ê ë è ï î ì Ä Å É æ Æ ô ö ò û ù ÿ Ö Ü ¢ £ ¥ ₧ ƒ ª º á í ó...
  • Page 58: C: International Standard Ascii

    RD-KT247 thermal printers C: International standard ASCII HTTP://WWW.RD-CN.COM 58 / 61...
  • Page 59: D: Bar Code

    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.
  • Page 60: Barcode Length Character Set

    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.
  • Page 61 RD-KT247 thermal printers CODE128 HTTP://WWW.RD-CN.COM 61 / 61...

This manual is also suitable for:

Rd-fh5c5

Table of Contents