Table of Contents Table of Contents Record of Revisions... 3 1. General... 4 1.1 Feature... 4 2. Technical Specifications... 5 2.1 Printing Performance... 5 2.2 Interface Connection... 5 2.3 Other function... 5 2.4 Physical Specification... 6 2.5 Environmental performance... 6 3, Printer Part Name... 7 4. Main part and Function Description... 8 4.1 Thermal pinthead... 8 4.2 Communication Interface... 9 4.3 Black Label Detection... 12 5. Printer Status Indicator... 14 6. Commands ofprinting Control... 15 6.1 Commands of Basic Control... 16 6.2 Commands of Character Parameter Setting... 200 6.3 Commands of Typesetting... 26 6.4 Commands of Graphic/Image... 311 6.5 Commands of Barcode Printing... 400 6.6 Commands of curve Printing... 455 6.7 Commands of User-define Character Printing... 499 6.8 Commands of Chinese Character Printing... 52 Appendices:... 54 A.Printing Character set... 54 Boyen Technology 2 / 54
Version Record Revision Version Amend Page Author Amend time Confirm V1.0-2011-4-10 Boyen Technology 3 / 54
Overview 1. General 1.1 Feature Print Width:80mm Small size and easy to carry Easy opening Original Japanese printing machine core Special black mark design Support interface,bluetooth,irad easy and fast charge Power saving Support Character,curve line,imgae logo,barcode printing Supoort reserved image printing Boyen Technology 4 / 54
Technical Specification 2. Technical Specification 2.1 Print Performance Print Method Print Width Paper Roll Diameter Paper Thick Print Width Chinese character setting Code page Print Speed (Max) Reliability Print contents Printing Density Code Setting Thermal line 80mm 41mm 60~100μm 24 Chinese/line,48 english/line or 36 character/line,72 english/line GBK,Unicode ASCII(12X24,8X16) GBK(24X24,16X16) 3.6cm/s 50km(below 25% printing density )/:100 million pulses Barcode:CODE39 EAN13 EAN8 CODABAR CODE128 CODE93 ITF Binary:QRCODE 203dpi(8dots/mm) ESC/POS compatiable settinug 2.2 Interface Connection Wire communication Wireless commnunication Communication protocol Wireless communication distance/power rate RS232C BLUETOOTH compatiablev2.0 SPP CLASS 2(10m) 2.3 Other function Power Supply Left black mark sensor Right black mark sensor Detect function Paper loading Paper cut 1400mAh/7.2V rechargeable LI Battery Enable Enalbe Paper run out,battery low Clamshell loading Manual Boyen Technology 5 / 54
Technical Specification 2.4 Physical Specification Size(LxWxH) Weight ( without paper roll) 113mmx101mmx50mm 295g 2.5 Environmental Performance 2.5.1 Work ambient Minimum Maximum Work Battery charge 0 +45 temperature Common use -10 +50 Work humidity(relative humidity) 20% 85% 2.5.2 Non Battery part storage Minimum Maximum Storage temperature -20 +70 Storage humidity ( relative 5% 95% humidity) 2.5.3 Battery storage Minimum Maximum Storage temperature -5 +35 Storage humidity ( Relative 5% 95% humidity) Boyen Technology 6 / 54
Part Name 3. Printer Part Name Part name 1.Battery lid 2.Paper loading lid 3.Open lid button 4.Platen roller 5.Power buttion 6.Paper peeler 7.Mode 8.Charger indicate light 9 power port 10.Infrared communicated port 11.RS232 Boyen Technology 7 / 54
Part Name and Function Description 4. Main Part and Function Description 4.1 Thermal printhead Model Print method Print dot Dot density Print area Reliability Paper width Paper thick Heater head temperature detection Paper lack detection Other function FTP-638MCL103 Thermal line 576 dot/line 0.125mm(8dot/mm) 72mm 100,000,000dots/50 kilometers(25% printing density) 79 mm±0.5mm 60~100μm Thermal resistance Photoelectrical detection Lid open detection Boyen Technology 8 / 54
Part Name and Function Description 4.2 Commnunication Interface Mobi-Print has wired interface:rs232c serial port and wireless Bluetooth port. 4.2.1 RS232C interface Mobi-Print RS232 asyncronous serial port referece to EIA/TIA-232F AND CCITT V.28/V.24 standard, achived by a 5 Pin MINI-USB. 4.2.1.1 Outer Apperance 4.2.1.2 Pin definitions 2 serial port Apperance Pin Symbol Description IO number 1 RXD printer receive data input 2 TXD Printer send date output 3 RTS Printer data requirment (1) output 4 NC Reserve (2) 5 GND Power to Power supply Remark(1):Only when printer under hardare flow function the pin have effection Remark(2):Do not connect,stay vacant 4.2.1.3 Optional Baud Rate 9600bps 19200bps 38400bps 57600bps 115200bps 4.2.1.4 Data format Data length : Check bit: Stop bit : 8 bit None 1bit Boyen Technology 9 / 54
Part Name and Function Description 4.2.1.5 Flow control Mobi-Print supplies hardware and software flow contols for main equipment. The data transmission could use non flow control. Hardware flow control Connection as below : Printer Host Device TXD Output RXD input RTS Output CTS input RXD Input TXD output GND Power supply GND Power supply The host device detects the voltage level of the CTS pin. A high voltage level on the CTS pin means the printer is ready to receive printing data, while low voltage means busy. When the printer is busy, the host device should stop sending any data to the printer until a high voltage level is detected. Software control Software flow control works on the method of XON/XOFF. The following shows the connection when the software flow control is selected: Printer Host device TXD Output RXD Input RXD Input TXD Output GND Power supply GND Power supply When the software flow control is selected, the host device detects whether the data buffer of the printer is full by the data received from the RXD pin. The host device pauses to send printing data to the printer when a XOFF signal (data: 0x13) received via the RXD pin sent by the printer, which means that the printer is busy. Once the host device receives a XON signal (data: 0x11) via the RXD pin, sending of printing data continues. Boyen Technology 10 / 54
Part Name and Function Description 4.2.2 Bluetooth Printing via bluetooth has 3 phases : pairing,conneting and data sending Pairing Mobi-Print is compatible with Bluetooth1.1 specification, power class of which is CLASS 2(maximum 10 meters range). The pairing password is 0000. Connection Mobi-Print supplies SPP service to other Bluetooth devices, receive data send by SPP agreement But it does not supply service to other Bluetooth SPP agreement define 2 virtual Bluetooth serial devices, device A and device B Device A Initiative device connecting to other device (main and host device) Device B receive device to accept the conneting (receiver and secondary device) Mobi-Print is device B only after host device send SPP connection could receivd data and print. SPP,Most of data processing terminal device( Mobile phone,pc PDA,data acquisition ) support SPP, part of device may not support SPP or only could receive but could not send, please check your device before use. For devices use windows windows mobile symbia system, Mobi-Print could be used as a serial port receive device,before connecting, need to assign a virtual Bluetooth serial port number to printer, it may automatic or onwer manual assign according to different device. Connecting for host device mean open virtul bluetooth serial port, details please reference development manual or your supplier. Data sending For device using windows windows mobile symbian system,programming and send data is the same as operate other serial, details of programming reference to development or your supplier. Remark : After send the data, makre sure turn off the connecting to save power.for more information of Bluetooth and SPP please reference to website http://www.bluetooth.org Boyen Technology 11 / 54
Part Name and Function Description 4.3 Black label detection 4.3.1 Black label detection sensor On both left and right side there is a black label detection sensor for preprint black label detect, the left is the main sensor while the right is the secondary, the min black label sensor is to detect paper run out. Main black label detection sensor (left side ) Secondary black label detection sensor (right side) Black label detection sensor Printing Position: as illustrated by the figure at the left side, the black label should be printed at the right margin of text area. Width Range: 7mm Height Range: 4mm Height 6mm Infrared ray reflectivity: <10% (the Infrared ray reflectivity of other parts of the paper beyond the black label width: >65%) Hps: Hps is defined as the distance between the top margin of the black label and the default printing top margin. 0mm Hps 1mm Boyen Technology 12 / 54
Part Name and Function Description 4.3.2 Black label print Black label print In case that the preprint black label is used for the positioning of receipts or invoices, the following printing specification for black label preprint must be observed; otherwise the printer may fail to recognize the black label. Take right right black label as example z: Printing Position: as illustrated by the figure at the left side, the black label should be printed at the right margin of text area. Width Range: 7mm Height Range: 4mm Height 6mm Hps: Hps is defined as the distance between the top margin of the black label and the default printing top margin. 0mm Hps 1mm Remark (1):The way to use left and right balck label is the same Remark(2): Do not print deep color mark in the black label detection area, otherswise mistake may occure Boyen Technology 13 / 54
Printer Status 5. Printer Status indicator Status Power light Function light Charge Buzzer light power on Light on twinkling - (1) di. Standby twinkling (1.5S) - - - Power lack twinkling (0.5s) - - di. di. Paper run out - twinkling(0.5s) - di...di...di... Paper run without lid close twinkling(0.5s) twinkling(0.5s) - di. di. di. di. di. di. Charging - - RED - Charging complete - - GREEN - (1): - mean printer status do not have relevance with item Boyen Technology 14 / 54
6. Mobi-Print uses ESC/POS compatible control commands. The following is a simplified table of printing commands, which are classified by their functions: Section Commands Description Commands of Basic Control 6.1.1 ESC @ Initialize the printer 6.1.2 FF Print and Form feed (Available in black mark positioning only) 6.1.3 SO Print and Line feed 6.1.4 LF Print and Carriage return 6.1.5 CR Print and feed n dots vertically 6.1.6 ESC J n Print and feed n lines 6.1.7 ESC d n Move the printing cursor to the position of next horizontal tab 6.1.8 HT Initialize the printer Commands of Character Parameter Setting 6.2.1 ESC! n Configure the style of the printing characters 6.2.2 GS! n Set the size of the printing characters 6.2.3 ESC M n Set the font of the printing characters 6.2.4 ESC n Underline enabled/disenabled 6.2.5 ESC E n Overstriking printing enabled/disenabled 6.2.7 GS B n Double-strike printing enabled/disenabled 6.2.8 ESC V n white/black reversed printing enabled/disenabled Commands of Typesetting 6.3.1 ESC $ nl nh Set absolute printing position 6.3.2 ESC D n1 n2 nk NULL Set the position of horizontal tab 6.3.4 ESC 2 Set the default line spacing 6.3.5 ESC 3 n Set the line spacing (n dots) 6.3.6 ESC SP n Set the character spacing 6.3.7 ESC a n Set the alignment mode Commands of Graphic/Image Printing 6.4.1 ESC * m nl nh d1 dk Print black/white bitmap image 6.4.2 GS * x y d1 dk Define download bitmap images 6.4.3 GS / n Print download bitmap images 6.4.4 FS P n Print the prestored bitmap images Commands of Bar Code Printing 6.5.1 GS h n Set the height of the bar code in printing 6.5.2 GS w n Set the width of the bar code in printing 6.5.3 GS H n Set the position of the HRI characters in printing 6.5.4 GS f n Set the font of the HRI characters Boyen Technology 15 / 54
6.5.5 GS k Print bar code 6.5.6 GS k m v r Print Binary bar code Commands of Curve Printing 6.6.1 GS Print n line segments in a line row 6.6.2 GS Print the letters on the curves Commands of User-defined Character Printing 6.7.1 ESC % n Enable /disenable the user-defined character set 6.7.2 ESC & y c1 c2 Define user-defined characters 6.7.3 ESC? Cancel the user-defined character Commands of Chinese Character Printing 6.8.1 FS & Enable Chinese character printing 6.8.2 FS 2 c1 c2 d1 dk Define user-defined Chinese character 6.8.3 FS. Disenable Chinese character printing In this chapter, the usage of each printing command will be described in detail. The format of the commands is described as follows: [COMMAND] + [parameter] [COMMAND] is the command part of a command, which consist of escape characters and command characters. Only few single-byte commands have no escape characters. [parameter] is the parameter part of a command, and is expressed in italic. Parameter is not a numerical character; it is the value of the character. All the examples in this chapter are written in the C program language. PrtSendData is a virtual function which shows the usage of the command. The developer should rewrite it according to the host device selected. The following shows the definition of the function PrtSendData: PrtSendData(char *buf, int len) Description: char *buf: int len: Send printing data to the printer; Printing data pointer Data length. Unit: byte 6.1 Commands of Basic Control 6.1.1 ESC @ [Name] Initialize the printer [Format] ASCII ESC @ HEX 1B 40 Decimal 27 64 [Description] Clear the printing buffer, and restore the printer to default setting. Boyen Technology 16 / 54
[Example] char SendStr[3]; SendStr[0] = 0x1B SendStr[1] = 0x40; PrtSendData(SendStr, 2); PrtSendData(SendStr, 2); 6.1.2 FF [Name] Print and Form feed [Format] ASCII FF HEX 0C Decimal 12 [Description] Print out the data in the print buffer collectively and the the printer returns to the standard mode. [Notes] The data in the printer buffer will be deleted after printing. This command sets the print position to the beginning of the line. If the printer is working in the black label detecting mode, the printer will feed to the position of the black label or feed to 0.5m if there is no black mark detected. Please refer to Appendix C for the details about the specifications of preprint black label. [Example] char SendStr[2]; SendStr[0] = 0x0C; PrtSendData( SendStr, 1); ; 6.1.3 SO [Name] Print and return to black label [Format] ASCII SO Hex 0E Decimal 14 [Description] Print out the data in the print buffer collectively and the the printer returns to black label. [Notes] The commands is for localization of black label, if use with FF commands could preprinting receipt The data in the printer buffer will be deleted after printing. This command sets the print position to the beginning of the line. If the printer is working in the black label detecting mode, the printer will feed to the position of the black label or feed to 0.5m if there is no black mark detected. Please refer to Appendix C for the details about the specifications of preprint black label. [Reference] FF [Example ] char SendStr[2]; SendStr[0] = 0x0E; PrtSendData( SendStr, 1); Boyen Technology 17 / 54
6.1.4 LF [Name] Print and Line feed [Format] ASCII LF HEX 0A Decimal 10 [Description] Print out the data in the print buffer and line feed. [Notes] When printing is complete, the printing cursor goes to the beginning of the next line. [Reference] CR [Example] char SendStr[2]; SendStr[0]= \n ; PrtSendData( SendStr, 1); 6.1.5 CR [Name] Print and carriage return [Format] ASCII CR HEX 0D Decimal 13 [Description] Print out the data in the print buffer and carriage return. [Notes] [Reference] LF [Example] char SendStr[2]; SendStr[0]= \r ; PrtSendData(SendStr,1); 6.1.6 ESC J n [Name] Print and feed n dots vertically [Format] ASCII ESC J n HEX 1B 4A n Decimal 27 74 n [Range] 0 n 255 [Description] Print out the data in the print buffer and feed n dots vertically. [Notes] n 2 vertical dots h is 0.125mm, and the same applies below. [Reference] ESC d [Example] char SendStr[4]; SendStr[0] = 0x1B; SendStr[1] = J ; SendStr[2] = 8; PrtSendData( SendStr, 3);//Feed 1mm(8 dots) Boyen Technology 18 / 54
SendStr[1] = J ; SendStr[2] = 8; PrtSendData( SendStr, 3);//1mm 6.1.7 ESC d n [Name] Print and feed n lines. [Format] ASCII ESC d n HEX 1B 64 n Decimal 27 100 n [Range] 0 n 255 [Description] Print the data in the print buffer and feed n lines. [Notes] [Reference] ESC J [Example] char SendStr[4]; SendStr[0] = 0x1B; SendStr[1] = d ; SendStr[2] = 2; PrtSendData( SendStr, 3);//Feed 2 lines 6.1.8 HT [Name] Move the print cursor to the position of next horizontal tab [Format] ASCII HT HEX 09 Decimal 9 [Description] Move the print cursor to the position of next horizontal tab. [Notes] The position of the horizontal tab can be set using the command ESC D. he default tab positions are at intervals of 8 characters (columns 9, 17, 25, ). [Reference] ESC D [Example] char NextPos = 9; PrtSendData( TRADE NAME,6); PrtSendData(&NextPos,1); PrtSendData( PRICE,4); PrtSendData(&NextPos,1); PrtSendData( QUANTITY,4); PrtSendData(&NextPos,1); PrtSendData( MONEY,4); Boyen Technology 19 / 54
6.1.9 FS U nl nh [Name] Print Unicode characters [Format] ASCII FS U nl nh HEX 1C 55 nl nh Decimal 28 85 nl nh [Description] Print n(n=nl+nh*256) Unicode characters. [Notes] characters. supported by this command. tension specification specified by the National IT Standardization Technical Committee for more informations about GBK character set. For more details please visit the official website of Unicode http://www.unicode.org. characters [Example] char SendStr[64]; SendStr[0]=0x1C; SendStr[1]= U ; SendStr[2]=11; SendStr[3]=0; SendStr[4]=0x00; SendStr[5]=0x55; //U+0055: U SendStr[6]=0x00; SendStr[7]=0x4E; //U+004E: N SendStr[8]=0x00; SendStr[9]=0x49; //U+0049: I SendStr[10]=0x00; SendStr[11]=0x43; //U+0043: C SendStr[12]=0x00; SendStr[13]=0x4F; //U+004F: O SendStr[14]=0x00; SendStr[15]=0x44; //U+0044: D SendStr[16]=0x00; SendStr[17]=0x45; //U+0045: E SendStr[18]=0x62; SendStr[19]=0x53; //U+6253: 打 SendStr[20]=0x53; SendStr[21]=0x70; //U+5370: 印 SendStr[22]=0x6D; SendStr[23]=0x4B; //U+6D4B: 测 SendStr[24]=0x8B; SendStr[25]=0xD5; //U+8BD5: 试 PrtSendData(SendStr,26); PrtSendData( \n,1); -defined 6.2 Commands of Character Parameter Setting 6.2.1 ESC! n [Name] Set the style of the printing characters. [Format] ASCII ESC! n HEX 1B 21 n Decimal 27 33 n [Range] 0 n 255 Boyen Technology 20 / 54
[Description] Assign the parameter [n] to set the style of the printing characters, the definition of the parameter [n] is showed below: Bit Value Function 0 0 Character (half-width) font A(12 24); Chinese character(full-width) font A(24 24) 1 Character (half-width) font B(8 16), Chinese character(full-width) font B(16 16) 1 - Undefined 2 - Undefined 3 0 Overstriking enabled 1 Overstriking disenabled 4 0 Double-height enabled 1 Double-height disenabled 5 0 Double-width enabled 1 Double-width disenabled 6 - Undefined 7 0 Underline enabled 1 Underline disenabled [Notes] When both double-height and double-width modes are enabled, the characters printed out will be quadruple size. The printer can underline all characters except the blank printed using the command of HT and the characters clockwise rotated. All the characters snap to the base of the line when normal characters are in coexistence of multiple-height characters. The style of the printing characters can also be set using the Command ESC M. The command ESC E has an effect on the Overstriking enabled/disenabled too. The command ESC also has an effect on the Underline enabled/disenabled. The command GS! has an effect on the character size setting. This command effects on all kinds of characters including English letters, numerical characters and Chinese characters. [Default] n = 0 [Reference] ESC -, ESC E, GS!,ESC M [Example] char SendStr[4]; SendStr[0] = 0x1B; SendStr[1] =! ; SendStr[2] = 0x28;// (00101000) both Double-width and Overstriking enabled PrtSendData( SendStr, 3); Boyen Technology 21 / 54
6.2.2 GS! n [Name] Set the size of the printing characters [Format] ASCII GS! n HEX 1D 21 n Decimal 29 33 n [Range] 0 n 255 (1 height 8; 1 width 8) [Description] Assign bit 0~3 of the parameter [n] to set the height of the printing character, and assign bit 4~7 to set the width. Here follows the definition: 0 1 2 3 Height 0 0 0 0 1 x 1 0 0 0 2 x 4 5 6 7 Width 0 0 0 0 1 x 1 0 0 0 2 x [Notes] This command has an effect on all the printing characters (characters and Chinese characters) except HRI characters. If the parameter [n] is assigned out of the specified range above, the command will be ignored. The vertical direction is the same as the feed direction, and the horizontal direction is perpendicular to the feed direction. The command ESC V has an execution priority over this command. When both commands are enabled at the same time, the characters display in the order of rotation first, and then magnification. All the characters snap to the base of the line when normal characters are in coexistence of multiple-height characters. The command ESC! also has an effect on character size setting. [Default] n = 0 [Reference] ESC! [Example] char SendStr[4]; SendStr[0] = 0x1D; SendStr[1] =! ; SendStr[2] = 0x01;// 00000001 double-height PrtSendData( SendStr, 3); 6.2.3 ESC M n [Name] Set the font of the printing characters [Format] ASCII ESC M n Hex 1B 4D n Decimal 27 77 n [Range] n = 0, 1, 16,17,18,19 [Description] Set the printing font. Here followed shows the details. N (decimal) FUNCTION 0 Character(half-width); Font (12*24) Boyen Technology 22 / 54
1 Character(half-width); Font (8*16) 16 Chinese Simplified Character 24*24 17 Chinese Simplified Character 16*16 18 BIG5 Chinese Character 24*24 19 BIG5 Chinese Character 16*16 [Notes] The command ESC! also has an effect on the font setting. This command can be used to set the English character font and the Chinese character font separately. [Reference] ESC! [Example] char SendStr[8]; SendStr[0]=0x1B; SendStr[1]= M ; SendStr[2]=0;// English character 24 24 SendStr[0]=0x1B; SendStr[1]= M ; SendStr[2]=0x10;// Chinese simplified character 16 16 PrtSendData( SendStr, 6); 6.2.4 ESC n [Name] Underline enabled/disenabled [Format] ASCII ESC n HEX 1B 2D n Decimal 27 45 n [Range] n [Description] Assign the parameter [n] to configure the underline mode of the character printing. The following shows the definition: n (Decimal) Function 0 Underline disenabled 1 Underline enabled (1 dot in width) 2 Underline enabled (2 dots in width) [Notes] reversed characters. and ESC! also has an effect on the underline setting. [Default] n = 0 Boyen Technology 23 / 54
[Reference] ESC! [Example] char SendStr[3]; SendStr[0] = 0x1B; SendStr[1] = - ; SendStr[2] = 1;//underline of 1 dot in width PrtSendData( SendStr, 3); 6.2.5 ESC E n [Name] Overstriking printing enabled/disenabled [Format] ASCII ESC E n HEX 1B 45 n Decimal 27 69 n [Range] 0 n 255 [Description] Overstriking enabled/disenabled. Assign the parameter [n] to configure the overstriking printing of characters. The following shows definition: Overstriking is enabled when the Least Significant Bit of the parameter [n] is assigned to 0. Overstriking is disenabled when the Least Significant Bit of the parameter [n] is assigned to 1. [Notes] n] is allowed. ESC! also has an effect on the overstriking setting. [Default] n = 0 [Reference] ESC!, ESC G [Example] char SendStr[3]; SendStr[0] = 0x1B; SendStr[1] = E ; SendStr[2] = 1;//Overstriking enabled PrtSendData(SendStr,3); 6.2.6 ESC G n [Name] Double-strike printing enabled/disenabled [Format] ASCII ESC G n HEX 1B 47 n Decimal 27 71 n [Range] 0 n 255 [Description] Double-strike enabled/disenabled Double-strike is disenabled when the Least Significant Bit of the parameter [n] is assigned to 0. Double-strike is enabled when the Least Significant Bit of the parameter [n] is assigned to 1. Boyen Technology 24 / 54
[Notes] Last Significant Bit of the parameter [n] is allowed. -strike is the same as overstriking. [Default] n = 0 [Reference] ESC E, ESC! [Example] char SendStr[3]; SendStr[0] = 0x1B; SendStr[1] = G ; SendStr[2] = 1;//double-strike enabled PrtSendData( SendStr, 3); 6.2.7 GS B n Name] white/black reversed printing enabled/disenabled [Format] ASCII GS B n HEX 1D 42 n Decimal 29 66 n [Range] 0 n 255 [Description] white/black reversed printing enabled/disenabled. white/black reversed printing is disenabled when the Least Significant Bit of the parameter [n] is assigned to 0. white/black reversed printing is enabled when the Least Significant Bit of the parameter [n] is assigned to 1. [Notes] nly the assignment of the Last Significant Bit of the parameter [n] is allowed. -defined characters. ESC SP. d has no effect on the printing of bitmap, user-defined bitmap, bar code, HRI characters, and the blank set by the commands of HT, ESC $, and ESC \. ESC n. In case of white/black reversed printing, the function of underline will be forbidden but not canceled. [Default] n = 0 [Example] char SendStr[3]; SendStr[0] = 0x1D; SendStr[1] = B ; SendStr[2] = 1;// white/black reversed printing enabled PrtSendData( SendStr, 3); 6.2.8 ESC V n [Name] Rotation printing of the characters enabled/disenabled [Format] ASCII ESC V n HEX 1B 56 n Boyen Technology 25 / 54
Decimal 27 86 n [Range] 0 n 3 [Description] Character rotation printing enabled/disenabled n (decimal) Function 0 Character rotation printing disenabled 1 Character rotation of 90 CW printing enabled 2 Character rotation of 180 CW printing enabled 3 Character rotation of 270 CW printing enabled [Notes] ESC n. [Default] n = 0 [Reference] ESC!, ESC [Example] char SendStr[3]; SendStr[0] = 0x1B; SendStr[1] = V ; SendStr[2] = 2;//180 CW rotation PrtSendData( SendStr, 3); 6.3 Commands of Typesetting 6.3.1 ESC $ nl nh [Name] Set absolute printing position [Format] ASCII ESC $ nl nh HEX 1B 24 nl nh Decimal 27 36 nl nh [Range] 0 nl 255 0 nh 255 [Description] Assign the parameters [nl], [nh] to Set the distance from the start of the line to the position at which subsequent characters are to be printed. The distance from the start of the line to the print position is N horizontal dots wide. The parameters [nl], [nh] are respectively the low byte and the high byte of the binary unsigned integer N: N=nL + nh*256 [Notes] N>384), the value of N will be automatically reset to the max(n=384). [Reference] ESC \ [Example] char SendStr[4]; SendStr[0] = 0x1B; SendStr[1] = $ ; Boyen Technology 26 / 54
SendStr[2] = 24;//3 8=24 PrtSendData( SendStr, 3); // The absolute print position is set 3mm from the start of the line (24 dots) PrtSendData( print in the position of 3mm away form the start of the line\n, 22); 6.3.2 ESC D n1 n2 nk NULL [Name] Set the position of horizontal tab [Format] ASCII ESC D n1 nk NULL HEX 1B 44 n1 nk 00 Decimal 27 68 n1 nk 0 [Range] 1 n 255 0 k 8 [Description] Set the position of horizontal tab. [Notes] [Default] [Reference] [Example] Assign the parameter [n] to specify the distance between the horizontal tabs. The parameter [k] indicates the total number of the horizontal tabs. The distance between the horizontal tabs is measured by the multiple of an English character width specified by the parameter [n]. The character width includes the default width of the character spacing. The commands ESC! and GS! have no effect on the magnification of the distance between the horizontal tabs. n] is assigned to 8, an execution of the command HT will move the printing position to the 9 th column in a line. k = 8) can be set in a line at most. this command, the value of [nk] must be larger than [n(k-1)], otherwise the tab setting will end at [n(k-1)] and all the date after that will be processed as normal data. An execution of the command tabs. width changes. ESC D NULL will cancel all the setting of the horizontal The horizontal tabs are positioned at intervals of 8 characters( Font A) as default setting (columns 9, 17,25 ). HT char SendStr[16]; char NextPos = 9; SendStr[0] = 0x1B; SendStr[1] = D ; SendStr[2] = 11;// column 11 SendStr[3] = 17; SendStr[4] = 23; SendStr[5] = 29;// Set the position of horizontal tabs Boyen Technology 27 / 54
SendStr[6] = 0; // end PrtSendData(SendStr,7) PrtSendData( name,4); PrtSendData(&NextPos,1); PrtSendData( Chinese,4); PrtSendData(&NextPos,1); PrtSendData( Math,4); PrtSendData(&NextPos,1); PrtSendData( English,4); PrtSendData(&NextPos,1); PrtSendData( Total,4); 6.3.3 ESC 2 [Name] Set the default line spacing [Format] ASCII ESC 2 HEX 1B 32 Decimal 27 50 [Description] Set the default line spacing to 1mm (he length of 8 vertical dots). [Notes] e spacing between the image and the character. [Reference] ESC 3 [Example] char SendStr[4]; SendStr[0] = 0x1B; SendStr[1] = 2 ; PrtSendData(SendStr,2); 6.3.4 ESC 3 n [Name] Set the line spacing [Format] ASCII ESC 3 n HEX 1B 33 n Decimal 27 51 n [Range] 0 n 255 [Description] Set the line spacing to the length of n vertical dots. [Notes] character. [Default] n = 8 [Reference] ESC 2 [Reference] char SendStr[4]; SendStr[0] = 0x1B; Boyen Technology 28 / 54
SendStr[1] = 3 ; SendStr[2] = 16; PrtSendData(SendStr,3);//The line spacing is set to 2mm(16 dots) 6.3.5 ESC SP n [Name] Set the character spacing [Format] ASCII ESC SP n HEX 1B 20 n Decimal 27 32 n [Range] 0 n 255 [Description] Set the character spacing which is at the right side of the character to the length of n horizontal dots. [Notes] -width mode, the character spacing will be twice the normal value. When characters enlarged, the character spacing is enlarged too. [Default] n = 0 [Example] char SendStr[4]; SendStr[0] = 0x1B; SendStr[1] = 0x20; SendStr[2] = 8; PrtSendData(SendStr,3);//The character spacing is set to 1mm(8dots) 6.3.6 ESC a n [Name] Set the alignment mode [Format] ASCII ESC a n HEX 1B 61 n Decimal 27 97 n [Range] 0 n 2 [Description] Assign the parameter n to set the alignment of the characters in a line. The selectable n and the corresponding type of alignment are as follows: n Function 0 Left alignment 1 Centering 2 Right alignment [Default] n = 0 [Example] char SendStr[4]; SendStr[0] = 0x1B; SendStr[1] = a ; Boyen Technology 29 / 54
SendStr[2] = 1; PrtSendData(SendStr,3);//centering 6.3.7 GS L nl nh [Name] Set the left margin [Format] ASCII GS L nl nh HEX 1D 4C nl nh Decimal 29 76 nl nh [Range] 0 nl 255 0 nh 255 [Description] After the execution of this command, The left margin is set to the length of N horizontal dots. The parameters nl and nh are respectively the low byte and high byte of an unsigned integer N(N=nL+nH*256). The left margin is equal to the distance from the left of the printable area to the printing area. [Notes] The maximum of the left margin is 336. [Default] nl = 0, nh = 0 [Example] char SendStr[4]; SendStr[0] = 0x1B; SendStr[1] = L ; SendStr[2] = 16; SendStr[3] = 0; PrtSendData(SendStr,4);//The left margin is set to length of 16 dots(2mm) Boyen Technology 30 / 54
6.4 Commands of Graphic/Image Printing [Name] Print black/white bitmap image [Format] ASCII ESC * m nl nh d1 dk HEX 1B 2A m nl nh d1 dk Decimal 27 42 m nl nh d1 dk [Range] m = 0, 1, 32, 33 0 nl 255 0 nh 1 0 d 255 [Description] This command can only be used to print 8 dots or 24 dots height white/black bitmap images. Assign the parameter m to specify the printing mode of the bitmap image. Assign the parameters nl, nh to specify the number of the horizontal dots of the bitmap image. m Number of vertical Dots Mode (Height) 0 8 Double width 1 8 Single width 32 24 Double width 33 24 Single width The parameters nl and nh indicate the low byte and high byte of an unsigned binary integer N which specifies the number of the horizontal dots of the image. The maximum value of N is 384 in the single-width mode, wheras 384 in the double-width mode The parameters d1 dk are actually the data of the image which indicate the figure of the image. [Example] 1. When m=0(8dots, double width), the parameter d1 specifies the dots of column 1 and 2 of the image, while the parameter dk specifies column 2k-1 and 2k of the image. (the parameter bn means the n th bit of a byte) The following shows the relationship between the parameters d1 dk and the bitmap image defined. Boyen Technology 31 / 54
d1 d2 d3 d4 d5 d6 d7 d8 d9 0 1 0 0 0 0 0 1 0 b7 0 1 1 0 0 0 1 1 0 b6 0 1 1 0 0 0 1 1 0 b5 0 1 0 1 0 1 0 1 0 b4 0 1 0 1 0 1 0 1 0 b3 0 1 0 1 0 1 0 1 0 b2 0 1 0 0 1 0 0 1 0 b1 Print Sample (Amplificatory Image) 0 1 0 0 1 0 0 1 0 b0 [demonstration] char SendStr[16]; SendStr[0] = 0x1B; SendStr[1] = * ; SendStr[2] = 0;//m=0(8 dots high, double width) SendStr[3] = 9;//9 dots wide SendStr[4] = 0; SendStr[5] = 0;//image data SendStr[6] = 0xFF; SendStr[7] = 0x60; SendStr[8] = 0x1C; SendStr[9] = 0x03; SendStr[10] = 0x1C; SendStr[11] = 0x60; SendStr[12] = 0xFF; SendStr[13] = 0; PrtSendData(SendStr,14);//print the image 2. When m=1(8 dots, single width), the parameter d1 specifies the dots of column 1 of the image, while the parameter dk specifies column k. ( bn means the n th bit of a byte) d1 d2 d3 d4 d5 d6 d7 d8 d9 0 1 0 0 0 0 0 1 0 b7 0 1 1 0 0 0 1 1 0 b6 0 1 1 0 0 0 1 1 0 b5 0 1 0 1 0 1 0 1 0 b4 0 1 0 1 0 1 0 1 0 b3 0 1 0 1 0 1 0 1 0 b2 0 1 0 0 1 0 0 1 0 b1 Print Sample (Amplificatory Image) 0 1 0 0 1 0 0 1 0 b0 [demonstration] Boyen Technology 32 / 54
char SendStr[16]; SendStr[0] = 0x1B; SendStr[1] = * ; SendStr[2] = 1;//m=1(8 dots high, single width) SendStr[3] = 9;//9 dots wide SendStr[4] = 0; SendStr[5] = 0;//image data SendStr[6] = 0xFF; SendStr[7] = 0x60; SendStr[8] = 0x1C; SendStr[9] = 0x03; SendStr[10] = 0x1C; SendStr[11] = 0x60; SendStr[12] = 0xFF; SendStr[13] = 0; PrtSendData(SendStr,14);//print the image 3. When m=32(24 dots, double width), the parameters d1, d2, d3 specify the dots of column 1 and 2 of the image, and the like. ( bn means the n th bit of a byte) d1 d2 d3 d 4 d 7 d49 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 b7 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 b6 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 b5 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 b4 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 b3 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 b2 0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 1 0 b1 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 0 0 b0 0 0 0 0 1 0 0 1 1 1 0 0 1 1 0 0 0 b7 0 0 0 0 1 0 0 1 1 1 1 1 1 0 0 0 0 b6 0 0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 0 b5 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 b4 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 b3 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0 b2 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0 b1 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0 b0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 1 0 0 b7 0 0 1 1 0 0 0 0 0 0 0 0 1 1 1 0 0 b6 0 0 1 1 1 0 0 0 0 0 0 1 1 1 0 0 0 b5 0 0 1 0 1 1 0 0 0 0 1 1 1 1 0 0 0 b4 0 0 1 0 0 1 1 1 1 1 1 1 1 0 0 0 0 b3 0 0 1 0 0 0 0 1 1 1 1 0 0 0 0 0 0 b2 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 b1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 b0 Print Sample (Amplificatory Image) [demonstration] Boyen Technology 33 / 54
char SendStr[64]; SendStr[0] = 0x1B; SendStr[1] = * ; SendStr[2] = 32;//m=32(24 dots high, double width) SendStr[3] = 17;//17 dots wide SendStr[4] = 0;//image data SendStr[5] = 0x00; SendStr[6] = 0x00; SendStr[7] = 0x00;//1 SendStr[8] = 0x00; SendStr[9] = 0x00; SendStr[10] = 0x03;//2 SendStr[11] = 0x00; SendStr[12] = 0x00; SendStr[13] = 0xFE;//3 SendStr[14] = 0x00; SendStr[15] = 0x3F; SendStr[16] = 0xE0;//4 SendStr[17] = 0x03; SendStr[18] = 0xE0; SendStr[19] = 0x30;//5 SendStr[20] = 0x0E; SendStr[21] = 0x00; SendStr[22] = 0x18;//6 SendStr[23] = 0x11; SendStr[24] = 0x00; SendStr[25] = 0x08;//7 SendStr[26] = 0x20; SendStr[27] = 0xC0; SendStr[28] = 0x0C;//8 SendStr[29] = 0x40; SendStr[30] = 0xC0; SendStr[31] = 0x0C;//9 SendStr[32] = 0x80; SendStr[33] = 0xC0; SendStr[34] = 0x0C;//10 SendStr[35] = 0x80; SendStr[36] = 0x40; SendStr[37] = 0x1C;//11 SendStr[38] = 0x80; SendStr[39] = 0x60; SendStr[40] = 0x1C;//12 SendStr[41] = 0x80; SendStr[42] = 0xFF; SendStr[43] = 0xF8;//13 SendStr[44] = 0x43; SendStr[45] = 0x9F; SendStr[46] = 0xF0;//14 SendStr[47] = 0x7F; SendStr[48] = 0x07; SendStr[49] = 0xC0;//15 SendStr[50] = 0x3E; SendStr[51] = 0x00; SendStr[52] = 0x00;//16 SendStr[53] = 0x00; SendStr[54] = 0x00; SendStr[55] = 0x00;//17 PrtSendData(SendStr,56);//print the data d1 d2 4. When m=33(24 dots, single width), the parameters d1, d2, d3 specify the dots of column 1 of the image, and the like. ( bn means the n th bit of a byte) d 4 d 7 d49 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 b7 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 b6 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 b5 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 b4 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 b3 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 b2 0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 1 0 b1 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 1 0 b0 0 0 0 0 1 0 0 1 1 1 0 0 1 1 0 0 0 b7 0 0 0 0 1 0 0 1 1 1 1 1 1 0 0 0 0 b6 0 0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 0 b5 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 b4 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 b3 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0 b2 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0 b1 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0 b0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 1 0 0 b7 0 0 1 1 0 0 0 0 0 0 0 0 1 1 1 0 0 b6 0 0 1 1 1 0 0 0 0 0 0 1 1 1 0 0 0 b5 Boyen Technology Print Sample 34 / 54 d3 0 0 1 0 1 1 0 0 0 0 1 1 1 1 0 0 0 b4 (Amplificatory Image) 0 0 1 0 0 1 1 1 1 1 1 1 1 0 0 0 0 b3 0 0 1 0 0 0 0 1 1 1 1 0 0 0 0 0 0 b2 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 b1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 b0
[demonstration] char SendStr[64]; SendStr[0] = 0x1B; SendStr[1] = * ; SendStr[2] = 33;//m=33(24 dots high, single width) SendStr[3] = 17;//17 dots wide SendStr[4] = 0;//image data SendStr[5] = 0x00; SendStr[6] = 0x00; SendStr[7] = 0x00;//1 SendStr[8] = 0x00; SendStr[9] = 0x00; SendStr[10] = 0x03;//2 SendStr[11] = 0x00; SendStr[12] = 0x00; SendStr[13] = 0xFE;//3 SendStr[14] = 0x00; SendStr[15] = 0x3F; SendStr[16] = 0xE0;//4 SendStr[17] = 0x03; SendStr[18] = 0xE0; SendStr[19] = 0x30;//5 SendStr[20] = 0x0E; SendStr[21] = 0x00; SendStr[22] = 0x18;//6 SendStr[23] = 0x11; SendStr[24] = 0x00; SendStr[25] = 0x08;//7 SendStr[26] = 0x20; SendStr[27] = 0xC0; SendStr[28] = 0x0C;//8 SendStr[29] = 0x40; SendStr[30] = 0xC0; SendStr[31] = 0x0C;//9 SendStr[32] = 0x80; SendStr[33] = 0xC0; SendStr[34] = 0x0C;//10 SendStr[35] = 0x80; SendStr[36] = 0x40; SendStr[37] = 0x1C;//11 SendStr[38] = 0x80; SendStr[39] = 0x60; SendStr[40] = 0x1C;//12 SendStr[41] = 0x80; SendStr[42] = 0xFF; SendStr[43] = 0xF8;//13 SendStr[44] = 0x43; SendStr[45] = 0x9F; SendStr[46] = 0xF0;//14 SendStr[47] = 0x7F; SendStr[48] = 0x07; SendStr[49] = 0xC0;//15 SendStr[50] = 0x3E; SendStr[51] = 0x00; SendStr[52] = 0x00;//16 SendStr[53] = 0x00; SendStr[54] = 0x00; SendStr[55] = 0x00;//17 PrtSendData(SendStr,56);//print the image [Notes] m is assigned to a value which is out of the range above, something unpredictable may occur. mode setting ( such as overstriking, double-strike, underline and so on). 6.4.2 GS * x y d1 dk [Name] Define download bitmap image [Format] ASCII GS * x y d1 dk HEX 1D 2A x y d1 dk Decimal 29 42 x y d1 dk [Range] 0 x 255 1 y 8 Boyen Technology 35 / 54
x*y 1536 0 d 255 k = x*y*8 [Description] assign the parameters x, y to specify the number of the dots of the download bitmap image. x*8 indicates the number of horizontal dots of the image. y*8 indicates the number of vertical dots of the image. [Notes] [Example] This command will be ignored in case that the value of x*y exceeds the range specified above. The parameters d1 dk indicates the figure of the bitmap image. Assign the corresponding parameters dk to the value of 1 to define a printing dot of the image. Use the command GS / n to print the download bitmap image defined by this command. Clear the definition of the download bit-map in the following circumstances: 1. Use the command ESC @. 2. The printer is reset or powered off. The following shows the relationship between the download bitmap image and the parameters d1 dk. If x=2, y=3, and the value of d1 dk is designated as the form below, the bitmap image will be as follows: d 4 d 7 d45 d1 d2 dy y=3 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 b7 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 b6 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 b5 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 b4 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 b3 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 b2 0 0 0 0 1 1 0 0 0 0 0 0 0 1 1 1 b1 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 1 b0 0 0 0 0 1 0 0 1 1 1 0 0 1 1 0 0 b7 0 0 0 0 1 0 0 1 1 1 1 1 1 0 0 0 b6 0 0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 b5 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 b4 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 b3 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 b2 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 b1 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 b0 0 0 1 1 0 0 0 0 0 0 0 0 1 1 1 0 b7 0 0 1 1 0 0 0 0 0 0 0 0 1 1 1 0 b6 0 0 1 1 1 0 0 0 0 0 0 1 1 1 0 0 b5 0 0 1 0 1 1 0 0 0 0 1 1 1 1 0 0 b4 0 0 1 0 0 1 1 1 1 1 1 1 1 0 0 0 b3 0 0 1 0 0 0 0 1 1 1 1 0 0 0 0 0 b2 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 b1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 b0 Print Sample (Amplificatory Image) [demonstration] char SendStr[64]; 打 印 放 大 图 Boyen Technology 36 / 54
SendStr[0] = 0x1D; SendStr[1] = '*'; SendStr[2] = 2;//x=2(16 dots wide) SendStr[3] = 3;//y=3(24 dots high) //data of the image SendStr[4] = 0x00; SendStr[5] = 0x00; SendStr[6] = 0x00;//1 SendStr[7] = 0x00; SendStr[8] = 0x00; SendStr[9] = 0x03;//2 SendStr[10] = 0x00; SendStr[11] = 0x00; SendStr[12] = 0xFE;//3 SendStr[13] = 0x00; SendStr[14] = 0x3F; SendStr[15] = 0xE0;//4 SendStr[16] = 0x03; SendStr[17] = 0xE0; SendStr[18] = 0x30;//5 SendStr[19] = 0x0E; SendStr[20] = 0x00; SendStr[21] = 0x18;//6 SendStr[22] = 0x11; SendStr[23] = 0x00; SendStr[24] = 0x08;//7 SendStr[25] = 0x20; SendStr[26] = 0xC0; SendStr[27] = 0x0C;//8 SendStr[28] = 0x40; SendStr[29] = 0xC0; SendStr[30] = 0x0C;//9 SendStr[31] = 0x80; SendStr[32] = 0xC0; SendStr[33] = 0x0C;//10 SendStr[34] = 0x80; SendStr[35] = 0x40; SendStr[36] = 0x1C;//11 SendStr[37] = 0x80; SendStr[38] = 0x60; SendStr[39] = 0x1C;//12 SendStr[40] = 0x80; SendStr[41] = 0xFF; SendStr[42] = 0xF8;//13 SendStr[43] = 0x43; SendStr[44] = 0x9F; SendStr[45] = 0xF0;//14 SendStr[46] = 0x7F; SendStr[47] = 0x07; SendStr[48] = 0xC0;//15 SendStr[49] = 0x3E; SendStr[50] = 0x00; SendStr[51] = 0x00;//16 PrtSendData(SendStr,52);//define the download bitmap image SendStr[0] = 0x1D; SendStr[1] = 0x2F; SendStr[2] = 0x00; PrtSendData(SendStr,3);//print the image 6.4.3 GS/ n [Name] Print download bitmap images [Format] ASCII GS / n HEX 1D 2F n Decimal 29 47 n [Range] 0 x 3 [Description] Print the download bitmap image defined by the command GS * x y d1 dk. The printing mode of the image can be specified by assigning the value of the parameter n: n Mode 0 Normal 1 Double width 2 Double height Boyen Technology 37 / 54
3 Double width and double height [Notes] This command will be ignored in case that there is no download bitmap image defined. double-strike, underline and so on). s will be ignored. If the width of the printable area is less than the width of the image to be print, the left margin will be reduced in order to print the image. This command will be ignored in case that the height of the bitmap image defined exceeds 64 dots. While in double height printing mode, the height of the bitmap image can t exceed 32 dots. [Reference] GS * [Example] Please refer to the example in 4.4.2 6.4.4 FS P n [Name] Print download bitmap images [Format] ASCII GS / n HEX 1D 2F n Decimal 29 47 n [Range] 0 x 3 [Description] Print the download bitmap image defined by the command GS * x y d1 dk. The printing mode of the image can be specified by assigning the value of the parameter n: n Mode 0 Normal 1 Double width 2 Double height 3 Double width and double height [Notes] This command will be ignored in case that there is no download bitmap image defined. double-strike, underline and so on). image data to be print exceeds the printable area, the excess will be ignored. If the width of the printable area is less than the width of the image to be print, the left margin will be reduced in order to print the image. This command will be ignored in case that the height of the bitmap image defined exceeds 64 dots. While in double height printing mode, the height of the bitmap image can t exceed 32 dots. [Reference] GS * [Example] Please refer to the example in 4.4.2 Boyen Technology 38 / 54
6.4.5 FS P n [Name] Print the prestored bitmap image [Format] ASCII FS P n HEX Decimal [Range] 0 n 7 28 80 n 1C 50 n [Description] Print the bitmap images prestored in the NVM memory of the printer which can be generated and written to the printer using the specific software toolkit on PC. The maximal size of the prestored image is 128*64. Assign the parameter [n] to specify the image to print. [Notes] n] does not exist. ing (such as overstriking, double-strike, underline and so on). ignored. [Reference] ESC *, GS / [Example] C. Please refer to Chapter 3 Application Tools for details. char SendStr[4]; SendStr[0] = 0x1C; SendStr[1] = P ; SendStr[2] = 1; PrtSendData(SendStr,3);//Print the #1 bitmap image Boyen Technology 39 / 54
6.5 Commands of Bar Code Printing 6.5.1 GS h n [Name] Set the height of the printing bar code [Format] ASCII GS h n HEX 1D 68 n Decimal 29 104 n [Range] 1 n 40 [Description] Set the height of the bar code. Assign the parameter [n] to specify the number of the vertical dots of the printing bar code. [Notes] n is assigned to a value which is larger than 40, the height of the bar code will be designated to 40 automatically. [Default] n = 36 [Reference] GS k [Example] Please refer to the example of the command GS k in 4.5.5. 6.5.2 GS w n [Name] Set the width of the printing bar code [Format] ASCII GS w n HEX 1D 77 n Decimal 29 119 n [Range] 1 n 4 [Description] Set the horizontal size of the bar code. The following is the definition of the parameter [n]: N Unit Width of the Multilevel Bar Width of the Binary Bar Code Code(mm) Width of the Narrow Bar Width of the Wide Bar 1 0.125 0.125 0.25 2 0.25 0.25 0.50 3 0.375 0.375 0.75 4 0.50 0.50 1.0 Multilevel bar codes: UPC-A, UPC-E, EAN13, EAN8, CODE93, CODE128 Binary bar codes: CODE39, CODABAR [Default] n = 2 [Reference] GS k [Example] Please refer to the example of the command GS k in 4.5.5 Boyen Technology 40 / 54
6.5.3 GS H n [Name] Set the position of the HRI characters in printing [Format] ASCII GS H n HEX 1D 48 n Decimal 29 72 n [Range] [Description] Set the printing position of Human Readable Interpretation (HRI) characters when printing a bar code. The following shows the definition of the parameter [n]: n Printing Position 0 hidden 1 Above the bar code 2 Below the bar code [Notes] Use the command GS f to set the font of the HRI characters. overstriking, double-strike, underline and so on). [Default] n = 0 [Reference] GS f, GS k [Example] Please refer to the example of the command GS k in 4.5.5. 6.5.4 GS f n [Name] Set the font of the HRI characters [Format] ASCII GS f n HEX 1D 66 n Decimal 29 102 n [Range] n = [Description] Set the font of the HRI characters in printing. The following shows the definition of the parameter [n]: n The font of the HRI characters 0 1 Font B (8*16) [Note] GS H. [Default] n = 0 e to the commands of printing mode setting. Boyen Technology 41 / 54
[Reference] GS H, GS k [Example] Please refer to the example of the command GS k in 4.5.5 6.5.5 GS k m d1...dk [NULL] [Name] [Format] Print 1D bar code This command has two formats: Format 1 ( 0 m 8 ) ASCII GS k m d1 dk NUL HEX 1D 6B m d1 dk 00 Decimal 29 107 m d1 dk 0 Format 2 ( 65 m 73 ) ASCII GS k m n d1 dn HEX 1D 6B m n d1 dn Decimal 29 107 m n d1 dn [Range] 0 m 8 (the parameters [k] and [d] depends on which bar code system is in use) 65 m 73 (the parameters [n] and [d] depends on which bar code system is in use) [n] indicates the length of the bar code data to be printed. [Description] Select a bar code system and prints the bar code. Assign the parameter m to to specify the bar code system as follows: M Bar Code System 0, 65 UPC-A 1, 66 UPC-E 2, 67 EAN8 3, 68 EAN13 4, 69 CODE39 5, 70 INTERLEAVED 25(ITF) 6, 71 CODABAR 7, 72 CODE93 8, 73 CODE128 [Notes] using format 1, if the character length of the bar code is specified by the bar code system in use, the parameter [k] (bar code length) should be equal to the specific length. otherwise this command will be ignored. Please refer to the Appendix B for details. The characters of the bar code data received by the printer should be contained in the specified bar code character sets. Otherwise this command will be ignored. Please refer to the Appendix A for details. format 2, if the character length of the bar code is specified by the Boyen Technology 42 / 54
bar code system in use, the parameter [n] must be equal to the specific length. Otherwise this command will be ignored. Please refer to the Appendix B for details. The character length of the ITF bar code must be even. When printing ITF in format 1, the parameter [k] should be an even number, otherwise the last letter of the bar code will be ignored. While in the case of format 2, the parameter [n] should be even for the same reason. If the width of the printing bar code exceeds the printable area, only the part of the bar code in the printing area will be printed. command is immune to the commands of character parameter setting. bar code printed out is not scannable. does not calculate the check code. If the check code is necessary, it should be contained in the data of bar code. The printer is not responsible to check the correctness of check code. Wrong check code may result in that the barcode printed out is unreadable. CODE128 which cannot be printed out will be replaced by. e CODE 39. -selecting character (CODE A, CODE B, or CODE C). the coding set selected can be changed inside a bar code of CODE 128. Special characters can be defined by adding the character { in front. The ASCII character { can be defined by transmitting twice the { consecutively. ASCII HEX Function {A 7B, 41 Select set A {B 7B, 42 Select set B {C 7B, 43 Select set B {S 7B, 53 SHIFT {1 7B, 31 FNC1 {2 7B, 32 FNC2 {3 7B, 33 FNC3 {4 7B, 34 FNC4 [Example] char SendStr[16]; SendStr[0] = 0x1D; SendStr[1] = h ; SendStr[2] = 40; PrtSendData(SendStr,3); //The height of the bar code is set to 5mm(40 dots) SendStr[0] = 0x1D; SendStr[1] = w ; SendStr[2] = 2; Boyen Technology 43 / 54
PrtSendData(SendStr,3); //The width of the bar code is set to level 2 SendStr[1] = H ; SendStr[2] = 2; PrtSendData(SendStr,3);//Set the position of the HRI in printing SendStr[0] = 0x1D; SendStr[1] = f ; SendStr[2] = 0; PrtSendData(SendStr,3);//Set the font of HRI(12*24) SendStr[0] = 0x1D; SendStr[1] = k ; SendStr[2] = 4; SendStr[3] = * ; SendStr[4] = T ; SendStr[5] = E ; SendStr[6] = S ; SendStr[7] = T ; SendStr[8] = 8 ; SendStr[9] = 0 ; SendStr[10] = 5 ; SendStr[11] = 2 ; SendStr[12] = * ; SendStr[13] = 0; PrtSendData(SendStr,14); //Print the bar code TEST8052 of CODE39 in format 1 SendStr[0] = 0x1D; 6.5.6 GS k m v r d1 dk [NULL] [Name] Print QRCODE binary barcode [Format] This commands have 2 formats : Format 1 m=32 ASCII GS k m v r d1 dk NUL Hex 1D 6B m v r d1 dk 00 Decimal 29 107 m v r d1 dk 0 Format2 m=97 ASCII GS k m v r nl nh d1 dn Hex 1D 6B m v r nl nh d1 dn Decimal 29 107 m v r nl nh d1 dn [Range] m=32 or97 1 v 20 1 r 4 [Description] v is version code of DQCODE r=1 correction rate is L r=2 Correction rate is M r=3 Correction rate is Q r=4 correction rate is H The parameters nl and nh indicate the low byte and high byte of an unsigned binary integer N which specifies the number of the horizontal dots of the image. Under format 1(m=32),the command end with 0x00, the parameters d1 dk are actually the data of the image which indicate the figure of the image. Under format 2(m=97),the command end with 0x00, the parameters n=nh *256+nL byte are actually Boyen Technology 44 / 54
the data of the image which indicate the figure of the image 6.6 Commands of Curve Printing 6.6.1 GS n x1sl x1sh x1el x1eh xnsl xnsh xnel xneh Name] Print n line segments in a line row [Format] ASCII GS n x1sl x1sh x1el x1eh xnsl xnsh xnel xneh HEX 1D 27 n x1sl x1sh x1el x1eh xnsl xnsh xnel xneh Decimal 29 39 n x1sl x1sh x1el x1eh xnsl xnsh xnel xneh [Range] 0 n 8 [Description] This command is used to print n horizontal line segments in a line row. Use this command in sequence to print the curves which are composed of many horizontal line segments. The following are the details: n xksl xksh xkel The number of the line segments; The low byte of the abscissa of the start of the line segment k The high byte of the abscissa of the start of the line segment k The low byte of the abscissa of the end of the line segment k Boyen Technology 45 / 54
xkeh The high byte of the abscissa of the end of the line segment k The coordinates start from the leftmost side of the printing area, the minimum of which is 0 while the maximum is 383. It means that: xkel+xkeh*256 383 [Notes] xkel=xksl, xkeh=xksh [Reference] ESC [Example] Print the function curves of [sinx] and [cosx]. char SendStr[8]; int i; short y1,y2,y1s,y2s; //printing the curve of y-axis SendStr[0] = 0x1D; SendStr[1] = 0x27; SendStr[2] = 1; //one line segment SendStr[3] = 30; //start from the dot of #30(abscissa) SendStr[4] = 0; Printing SendStr[5] = 104; example //end at the dot of #360(abscissa) SendStr[6] = 1; PrtSendData(SendStr,7); //print the curve SendStr[0] = 0x1D; SendStr[1] = 0x27; SendStr[2] = 3; //print three curves: x-axis, function sinx and function cosx SendStr[3] = 180; SendStr[4] = 0; SendStr[5] = 180; SendStr[6] = 0; for(i=1;i<1200;i++){ y1 = sin(i/180*3.1416)*(380-30)/2+180; //count the coordinates of the function curve [sinx] y2 = cos(i/180*3.1416)*(380-30)/2+180; //count the coordinates of the function curve [cosx] if(i==1) { y1s = y1; y2s = y2; } PrtSendData( SendStr, 7 ); PrtSendData( &y1s, 2 ); //the starting point of the function curve [sinx] in the corresponding row PrtSendData( &y1, 2 ); Boyen Technology 46 / 54
//the ending point of the function curve [sinx] in the corresponding row PrtSendData( &y2s, 2 ); //the starting point of the function curve [cosx] in the corresponding row PrtSendData( &y2, 2 ); //the ending point of the function curve [cosx] in the corresponding row y1s = y1; //Set the starting point in the next printing row of the function curve [sinx] y2s = y2; //Set the starting point in the next printing row of the function curve [cosx] } 6.6.2 GS n xl xh c1 c2 NULL Name] Print characters on the curves [Format] ASCII GS n xl xh c1 c2 NULL HEX 1D 22 n xl xh c1 c2 00 Decimal 29 34 n xl xh c2 0 [Range] n [Description] This command is used to print the characters on the curves. The characters printed out are 90 deasil rotated in integration. [n] the number of the letters which can only be assigned to 0 or 1. xl xh the data of the abscissa of the character in printing. c1 c2 NULL the character string which ends with the letter 0. [Notes] ESC [Reference] ESC [Example] Print the function curves of [sinx] and [cosx] with characters: char SendStr1[8], SendStr2[16]; int i; short y1,y2,y1s,y2s; //printing the curve of y-axis SendStr1[0] = 0x1D; SendStr1[1] = 0x27; SendStr1[2] = 1; // one line segment SendStr1[3] = 30; //start from the dot of #30(abscissa) SendStr1[4] = 0; SendStr1[5] = 104; //end at the dot of #360(abscissa) SendStr1[6] = 1; Printing example Boyen Technology 47 / 54
//print the origin letter 0 PrtSendData(SendStr,7); SendStr2[0] = 0x1D; SendStr2[1] = 0x22; SendStr2[2] = 0; SendStr2[3] = 150; //the abscissa of the letter is 150 in printing SendStr2[4] = 0; SendStr2[5] = 0 ;//character 0 SendStr2[6] = 0; PrtSendData(SendStr2,7); //print curve SendStr1[0] = 0x1D; SendStr1[1] = 0x27; SendStr1[2] = 3; //print three curves: x-axis, function [sinx] and function [cosx] SendStr1[3] = 180; SendStr1[4] = 0; SendStr1[5] = 180; SendStr1[6] = 0; //letters SendStr2[0] = 0x1D; SendStr2[1] = 0x22; SendStr2[2] = 0; SendStr2[3] = 150; SendStr2[4] = 0; SendStr2[5] = 0; SendStr2[6] = 0; for(i=1;i<1200;i++){ y1 = sin(i/180*3.1416)*(380-30)/2+180; //count the coordinates of the function curve [sinx] y2 = cos(i/180*3.1416)*(380-30)/2+180; //count the coordinates of the function curve [cosx] if(i==1) { y1s = y1; y2s = y2; } PrtSendData( SendStr1, 7 ); PrtSendData( &y1s, 2 ); PrtSendData( &y1, 2 ); PrtSendData( &y2s, 2 ); PrtSendData( &y2, 2 ); y1s = y1; y2s = y2; if(i%180==0) SendStr2[5] = 0 +i/180; //print guage of the x-axis curve Boyen Technology 48 / 54
//printing letter on the x-axis PrtSendData( SendStr1, 7 ); } 6.7 Commands of User-defined Character Printing 6.7.1 ESC % n [Name] Enable /disenable the user-defined character set [Format] ASCII ESC % n HEX 1B 25 n Decimal 27 37 n [Range] 0 n 255 [Description] Enable or disenable the character set user-defined. Assign the LSB of the parameter [n] to 0 to disenable the character set user-defined. Assign the LSB of the parameter [n] to 1 to enable the character set user-defined. [Notes] er-defined character set is disenabled, the internal character set will be enabled automatically. n] is allowed. [Default] n = 0 [Reference] ESC &, ESC? [Example] char SendStr[4]; SendStr[0] = 0x1B; SendStr[1] = % ; SendStr[2] = 1; PrtSendData(SendStr,3);//user-defined character set is enabled 6.7.2 ESC & y c1 c2 [x1 d1...d(y * x1)]...[xk d1...d(y * xk)] [Name] Define user-defined characters [Format] ASCII ESC & y c1 c2 [x1 d1 d(y * x1)] [xk d1...d(y * xk)] HEX 1B 26 y c1 c2 [x1 d1 d(y * x1)] [xk d1...d(y * xk)] Decimal 27 38 y c1 c2 [x1 d1 d(y * x1)] [xk d1...d(y * xk)] [Range] 3 font A (12*24) y font B (8*16) c1 c2 x = 12 font A (12*24) x = 8 font B (8*16) * xk) [Description] Define user-defined characters. Assign the parameter [y] to specify the number of bytes in vertical direction relating to the font of the user-defined character. Boyen Technology 49 / 54
When defining Font A characters, the parameter [y] should be assigned to 3. When defining Font B characters, the parameter [y] should be assigned to 2. The parameter [c1] specifies the start code of the characters while the parameter [c2] specifies the ending code of the characters. The parameter [x] specifies the quantity of dots in horizontal direction relating to the font of the user-defined character. When defining Font A characters, the parameter [x] should be assigned 12. When defining Font B characters, the parameter [x] should be assigned 8. k=c2-c1+1 [Notes] user-defined characters allowed ranges from 0x20 to 0x7E of the ASCII code page (95 characters). can be used to define a serial of use-defined characters. In case that only one character is defined, assign the parameter c1 the same as c2. d1, d2 d(y * xk) are the dot data of the matrix of use-defined characters. assign the corresponding paramenter dn to 1 to print a dot. -defined characters is y x bytes. -defined characters of the same code for different fonts. e user-defined characters and the downloading bit images can t exceed 32k bytes. -defined characters will be cleared in the following cases: 1. The command ESC @ is executed. 2. The command ESC? is executed. 3. The printer is reset or powered off. [Example] Define a user-defined character of the capital character B (with the code of 0x42). y=3, x=12(font A) 0 0 0 0 0 0 0 0 0 0 0 0 b 7 0 0 0 1 1 1 1 1 0 0 0 0 b 6 0 1 1 0 0 0 0 1 1 0 0 0 b 5 d1 0 1 0 0 0 0 0 0 1 1 0 0 b 4 1 1 0 0 0 0 0 0 1 1 0 0 b 3 1 1 0 0 0 0 0 0 1 1 0 0 b 2 d2 1 1 0 0 0 0 0 0 1 1 0 0 b 1 1 1 0 0 0 0 0 1 1 0 0 0 b 0 1 1 0 0 1 1 1 1 0 0 0 0 b 7 1 1 0 0 0 0 0 0 1 0 0 0 b 6 1 1 0 0 0 0 0 0 1 1 0 0 b 5 1 1 0 0 0 0 0 0 0 1 1 0 b 4 1 1 0 0 0 0 0 0 0 1 1 0 b 3 1 1 0 0 0 0 0 0 0 1 1 0 b 2 1 1 0 0 0 0 0 0 0 1 1 0 b 1 1 1 0 0 0 0 0 0 0 1 1 0 b 0 1 1 0 0 0 0 0 0 1 1 0 0 b 7 1 1 1 0 0 0 0 1 1 0 0 0 b 6 Enlarged picture 1 1 0 1 1 1 1 1 0 0 0 0 b 5 Boyen Technology d3 1 1 0 0 0 0 0 0 0 0 0 0 b 4 50 / 54 1 1 0 0 0 0 0 0 0 0 0 0 b 3 1 1 0 0 0 0 0 0 0 0 0 0 b 2 1 1 0 0 0 0 0 0 0 0 0 0 b 1 1 1 0 0 0 0 0 0 0 0 0 0 b 0
char SendStr[16]; SendStr[0] = 0x1B; SendStr[1] = & ; SendStr[2] = 3; //y=3 the user-defined character is 24 dots high SendStr[3] = 0x42; //The character B (0x42)will be redefined SendStr[4] = x042; SendStr[5] = 12; //x=12 the user-defined character is 12 dots high SendStr[6] = 0x0F; SendStr[7] = 0xFF; SendStr[8] = 0xFF;//1 SendStr[9] = 0x3F; SendStr[10] = 0xFF; SendStr[11] = 0xFF;//2 SendStr[12] = 0x20; SendStr[13] = 0x00; SendStr[14] = 0x40;//3 SendStr[15] = 0x40; SendStr[16] = 0x00; SendStr[17] = 0x20;//4 SendStr[18] = 0x40; SendStr[19] = 0x80; SendStr[20] = 0x20;//5 SendStr[21] = 0x40; SendStr[22] = 0x80; SendStr[23] = 0x20;//6 SendStr[24] = 0x40; SendStr[25] = 0x80; SendStr[26] = 0x20;//7 SendStr[27] = 0x61; SendStr[28] = 0x80; SendStr[29] = 0x60;//8 SendStr[30] = 0x3F; SendStr[31] = 0x60; SendStr[32] = 0xC0;//9 SendStr[33] = 0x1E; SendStr[34] = 0x3F; SendStr[35] = 0x80;//10 SendStr[36] = 0x00; SendStr[37] = 0x1F; SendStr[38] = 0x00;//11 SendStr[39] = 0x00; SendStr[40] = 0x00; SendStr[41] = 0x00;//12 PrtSendData(SendStr,42);//enable the use-defined character set 6.7.3 ESC? [Command] disenable the user-defined character [Format] ASCII ESC? n HEX 1B 3F n Decimal 27 63 n [Range] n [Description] disenable the user-defined characters. [Notes] -defined character specified by the parameter [n]. -defined character corresponding to the parameter [n], this command will be ignored. [Reference] ESC &, ESC % [Example] char SendStr[4]; SendStr[0] = 0x1B; SendStr[1] =? ; SendStr[2] = 0x42; PrtSendData(SendStr,3); //disenable the user-defined character with the code 0x42 Boyen Technology 51 / 54
6.8 Commands of Chinese Character Printing 6.8.1 FS & [Name] Enable Chinese character printing [Format] ASCII FS & HEX 1C 26 Decimal 28 38 [Description] Enable Chinese character printing [Notes] -on. [Reference] FS., FS C [Example] char SendStr[4]; SendStr[0] = 0x1B; SendStr[1] = & ; PrtSendData(SendStr,2);//enable Chinese character printing 6.8.2 FS 2 c1 c2 d1 dk [Name] Define user-defined Chinese character [Format] ASCII FS 2 c1 c2 d1...dk HEX 1C 32 c1 c2 d1...dk Decimal 28 50 c1 c2 d1...dk [Range] c1 = FEH k = 72 [Description] Assign the parameters c1 and c2 to specify the code of the user-defined Chinese character. [Notes] c1 is the first byte of the code of the user-defined character while c2 is the second byte. Assign the parameters d1, d2, d3 to specify the dot data of the character matrix. Set the corresponding parameter to 1 to print a dot in the character matrix. The format of the data definition of this command is the same as the command ESC &. -defined Chinese character should be a matrix of 24 dots, while a matrix of 16 dots apply when Font B is enabled. [Default] Blank [Reference] ESC & 6.8.3 FS. [[Name] Disenable Chinese character printing [Format] ASCII FS. HEX 1C 2E Boyen Technology 52 / 54
Decimal 28 46 [Description] In case that the Chinese character printing is disenabled, the characters with the code from 0x80 in the character set will be processed as ASCII characters. [Notes] -on. [Reference] FS &, FS C [Example] char SendStr[4]; SendStr[0] = 0x1B; SendStr[1] =. ; PrtSendData(SendStr,2); //disenable Chinese character printing Boyen Technology 53 / 54
VIR P rotocol Appendices: A.Priting Character Set The characters with the addressing from 0x80 can be printed out in the condition of Chinese printing disenabled. Please refer to the Chinese National Standard GB-2312 and code page CP936 of Microsoft for the details on Chinese character set. HE X 20 ( 空 HE X 21! HE X 22 HE X 23 # HE X 24 $ HE X 25 % HE X 26 & HE X 27 28 格 ( ) 29 ) 2A * 2B + 2C, 2D - 2E. 2F / 30 0 31 1 32 2 33 3 34 4 35 5 36 6 37 7 38 8 39 9 3A : 3B ; 3C < 3D = 3E > 3F? 40 @ 41 A 42 B 43 C 44 D 45 E 46 F 47 G 48 H 49 I 4A J 4B K 4C L 4D M 4E N 4F O 50 P 51 Q 52 R 53 S 54 T 55 U 56 V 57 W 58 X 59 Y 5A Z 5B [ 5C \ 5D ] 5E ^ 5F _ 60 ` 61 a 62 b 63 c 64 c 65 e 66 f 67 g 68 h 69 i 6A j 6B k 6C l 6D m 6E n 6F o 70 p 71 q 72 r 73 s 74 t 75 u 76 v 77 w 78 x 79 y 7A z 7B { 7C 7D } 7E ~ 7F 80 Ç 81 ü 82 é 83 â 84 ä 85 à! 86 å 87 ç 88 ê 89 ë 8A è 8B ï 8C î 8D ì 8E Ä 8F Å 90 É 91 æ 92 Æ 93 ô 94 ö 95 ò 96 û 97 ù 98 ÿ 99 Ö 9A Ü 9B 9C 9D 9E 9F ƒ A0 á A1 í A2 ó A3 ú A4 ñ A5 Ñ A6 ª A7 º A8 A9 AA AB ½ AC ¼ AD AE «AF» B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF E0 α E1 β E2 г E3 П E4 Σ E5 σ E6 μ E7 γ E8 Φ E9 θ EA Ω EB δ EC ED φ EE Є EF F0 F1 ± F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC ⁿ FD ² FE FF Boyen Technology 54 / 54