Home
Commands Manual
Contents
1. Code ASCII GS k pL pH cn fn n Hex 1D 28 6B 03 00 31 45 n Decimal 29 40 107 3 0 49 69 n Range pL pH x 256 3 pL 3 pH 0 cn 49 fn 69 48sns51 Default n 48 Description This command sets the error correction level for QR Code n Function Recovery Amount 48 Error Correction Level L T 49 Error Correction Level M 15 50 Error Correction Level Q 25 51 Error Correction Level H 30 Remarks E The setting of this command affects the processing of lt Function 181 gt and lt Function 182 gt m Reed Solomon correction is employed to generate a series of error correction codewords E The setting of this command remains effective until ESC printer reset or power cycling is executed Differences None Rev 1 00 99 Metapace T 3 Code ASCII GS k pL pH cn fn m d1 dk Hex 1D 28 6B pL pH 31 50 30 d1 dk Decimal 29 40 107 pL pH 49 80 48 d1 dk Range 4 lt pL pH x 256 7092 0 lt pL lt 255 0 lt pH lt 27 cn 49 fn 80 m 48 0 lt d lt 255 k pL pH x 256 3 Default None Description This command saves symbol data of the QR Code to the symbol storage area Remarks m The symbol data is defined stored to the symbol storage area by Function 180 and printed by the specification of Function 181 The data remains reserved after completion of printing E The following shows the data availab
2. Range None Default None Description E Set the power saving mode for low power consumption E When the printer is entered power saving mode printer is wait external interrupt Remarks E If external interrupt is occurred printer is wake up e Communication Serial Parallel USB Cover sensor Feed switch Differences None Rev 1 00 133 Metapace T 3 Code ASCII BS A P fn m t Hex 08 5E 50 fn m t Decimal 08 94 84 fn m t Range fn 0 48 0 lt s lt m lt 1 5 lt t lt 255 Default m 1 t 20 Description m Set the power saving mode and time to change the sataus of printer Remarks m The m 0 power saving mode disable E The m 1 power saving mode enable m The power saving set time is t x 1s and the default time is 20 sec e If n is smaller than 5 the power saving time is set to defaut 20 x 1s Differences None Rev 1 00 134 Metapace T 3 Code ASCII BS A P fn Hex 08 5E 50 fn Decimal 08 94 84 fn Range fn 1 49 Default None Description E Read the power saving mode satatus and sleep time Remarks m Power saving data is consist of Header NULL data as shown below Transmitted data Hex Decimal Amount of data Depends on the setting Depends on the setting Depends on the setting Depends on the setting 1byte Pp NUE J OA tbyte fk Differences None Rev 1 00 135
3. Code ASCII GS L pL pH m fn Hex 1D 28 4C pL pH m fn Decimal 29 40 76 pL pH m fn Range pL pH x 256 2 pL 2 pH 0 m 48 fn 3 51 Default None Description This command transmits the setting value of the memory switch corresponding to a Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Identifier 21H 33 1 byte Setting value 30H 39H 48 57 1 8 bytes NUL OOH 0 1 byte E The setting value is sent from bit 8 to bit 1 consisting of 8 bytes in total Off Hexadecimal 30H Decimal 48 On Hexadecimal 31H Decimal 49 Remarks None Differences None Rev 1 00 72 Metapace T 3 Code ASCII GS L pL pH m fn d1 d2 Hex 1D 28 4C pL pH m fn d1 d2 Decimal 29 40 76 pL pH m fn d1 d2 Range pL pH x 256 4 pL 4 pH 0 m 48 fn 64 d1 75 d2 67 Default None Description E Transmits the defined NV graphics key code list Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Flag 72H 114 1 byte Status 40H or 41H 64 or 65 1 byte Data 30H 39H 48 57 2 80 bytes NUL OOH 0 1 byte E When the key code is not present Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Flag 72H 114 1 byte Status 40H 64 1 byte NUL 00H 0 1 byte Rev 1 00 13 Remarks Differences Rev 1 00 Metapace T 3 E f the number of the key code exceed 40 the ke
4. Range 0 lt n lt 255 Default n 0 Description W This command selects white black reverse printing mode by setting the least significant bit of n When the LSB of n is 0 white black reverse mode is turned off e When the LSB of n is 1 white black reverse mode is turned on Remarks E This command does not affect multi byte characters such as Kanji Japanese and Korean E The right space defined by ESC SP is affected by this command E In white black reverse mode the underline mode is not effective m This mode remains effective until ESC printer reset or power cycling is executed Differences None Rev 1 00 109 Metapace T 3 Function Selects print position of HRI characters Code ASCII GS H n Hex 1D 48 Decimal 29 72 n Range Osns3 48sns51 Default n 0 Description E This command selects the printing position of HRI Human Readable Interpretation characters when printing a bar code e The printing position is set according to the value of as follows Printing position n 0 48 Not printed 1 49 Above the bar code 2 50 Below the bar code 3 51 Both above and below the bar code Remarks E The font of the HRI characters is defined by GS f E The setting of this command remains effective until ESC printer reset or power cycling is executed Differences None Rev 1 00 110 Metapace T 3 Function Transmits printer ID Code ASCI
5. Code ASCII ESC t n Hex 1B 74 n Decimal 27 116 n Range Osns5 16sns19 21 lt n lt 31 33 lt n lt 41 n 255 Default For model not supporting Thai character n 0 For model supporting Thai character support n 20 Description This command specifies code page according to the value of n as follows n Code page Page 0 437 USA Standard Europe 1 Page 1 _ Katakana 2 Page 2 850 Multilingual 3 Page 3 860 Portuguese 4 Page 4 863 Canadian French 5 Page 5 865 Nordic 16 Page 16 1252 Latin 17 Page 17 866 Cyrillic 2 18 Page 18 852 Latin 2 19 Page 19 858 Euro 21 Page 21 862 Hebrew DOS code 22 Page 22 864 Arabic 23 Page 23 Thai42 24 Page 24 1253 Greek 25 Page 25 1254 Turkish Rev 1 00 48 Remarks Differences Rev 1 00 n Code page 26 Page 26 1257 Baltic 27 Page 27 Farsi 28 Page 28 1251 Cyrillic 29 Page 29 737 Greek 30 Page 30 775 Baltic 31 Page 31 Thai14 33 Page 33 1255 Hebrew New code 34 Page 34 Thai 11 35 Page 35 Thai 18 36 Page 36 855 Cyrillic 37 Page 37 857 Turkish 38 Page 38 928 Greek 39 Page 39 Thai 16 40 Page 40 1256 Arabic 41 Page 41 1258 Vietnam 42 Page 42 Khmer Cambodia 47 Page 47 1250 Czech 255 User Code Page Space Metapace T 3 E The setting of this command remains effective unt
6. Rev 1 00 53 Metapace T 3 Function Define NV bit image Code ASCII FS q n kL xH yLd1 dk 1 xL xH_yLd1 dk n Hex 1C 71 xL xH yLdi dk 1 xL xH_yLd1 dk n Decimal 28 113 n xL xH yLd1 dk 1 xL xH yLd1 dk n n lt 255 xL xH x256 lt 1023 0 lt xL lt 255 0 lt xH lt 3 yL yH x256 lt 288 0 lt yL lt 255 yH 0 1 d lt 255 xL xH x 256 x yL yH x 256 x 8 Range Il IA IA IA IA xo nm Default None Description W This command defines the NV bit image in the NV memory n denotes the number of the NV being defined e xL xH and yL yH set the number of dots in the horizontal and vertical directions to xL xH x 256 x 8 and yL yH x 256 x 8 respectively for the NV bit image Remarks m GS Land GS 8 can be used for defining NV bit image E When this command is entered all NV bit images previously defined are removed from the NV memory E After completion of this command the printer executes a software reset to restore the settings as when turned on E The NV bit image is printed by FS p Rev 1 00 54 Differences Rev 1 00 E During the execution of this command paper feed button LSB and real time functions will not operate Bit image data and print result are as follows d1 dY 1 d2 dY 2 dk 2 dk 1 dY dY x2 dk MSB LSB MSB LSB MSB LSB MSB LSB
7. Differences None Rev 1 00 79 Metapace T 3 Code ASCII GS L pL pH m fn a bx by c xL xH yL yH d1 dk Hex 1D 28 4C pL pH m fn a bx by c xL xH yL yH d1 dk Decimal 29 40 76 pL pH m fn a bx by c xL xH yL yH d1 dk Range GS L parameter 11 lt pL pL x 256 lt 65535 O lt pL lt 255 Os pH lt 255 GS 8 L parameter 11 lt p1 p2 x 256 p3 x 65535 p4 x 16777216 lt 4294967295 0 lt p1L lt 255 O lt p2 lt 255 0 lt p3 lt 255 0 lt p4 lt 255 Common parameter m 48 fn 112 a 48 c 49 When The monochrome paper is selected c 50 When The two color paper is selected When single color paper secified 1 lt xL xH x 256 lt 1662 When by 1 1 lt xL xH x 256 lt 831 When by 2 When two color paper secified lt xL xH x 256 lt 831 When by 1 lt xL xH x 256 lt 415 When by 2 lt d lt 255 int xL xH x 256 7 8 x yL yHx 256 Default None Rev 1 00 80 Description Remarks Differences Rev 1 00 Metapace T 3 m This command stores the raster graphics data in the print buffer enlarged by bx and by in the horizontal and vertical directions XL xH specifies the raster graphics data in the horizontal directionas xL xH x 256 dots e yL yH specifies the raster graphics data in the vertical direction to yL yH x 256 dots d denotes the stored data raster format e k denotes
8. Rev 1 00 ASCII GS L pL pH m fn Hex 1D 28 4C pL pH m fn Decimal 29 40 76 pL pH m fn pL pH x 256 1 pL 2 pH 0 m 48 fn 0 48 None Tramsmits the total capacityu of the NV bit image momory number of bytes in the memory area Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Identifier 21H 33 1 byte Setting value 30H or 31H 48 or 49 8 bytes NUL 00H 0 1 byte E The total capacity data is converted to character codes corresponding to decial data then transmitted from the MSB E The data length is variable E The total capacitu of the NV user memory is selectable as any one of 0 64K 128K 192K 256K bytes with GS E The default value is 256K None 70 Metapace T 3 Code ASCII GS L pL pH m fn Hex 1D 28 4C pL pH m fn Decimal 29 40 76 pL pH m fn Range pL pH x 256 1 pL 2 pH 0 m 48 fn 2 50 Default None Description This command prints the graphics data defined by the process of Function 112 Remarks m The graphics data stored in the printer buffer is printed E This command is available in standard mode not in page mode E The graphics data is defined by Function 112 E The required amount of line feed pitch is used for printing graphics data regardless of the existing setting value of the pitch Differences None Rev 1 00 71 Metapace T 3
9. 3 51 Quadruple 90 90 e XL xH specifies xL xH x 256 byte s in the horizontal direction for the bit image e yL yH specifies yL yH x 256 dot s in the vertical direction for the bit image e d specifies the definition data of the bit image data Remarks E In standard mode this command is effective when the printer buffer is empty and the printer is in the beginning of the Rev 1 00 line If the buffer is not empty after processing m the printer treats the following data as normal data E In page mode the bit image is stored in the print buffer not being printed E None of the print modes such as emphasized double strike etc affects the printing of the bit image m The default dot density set by GS L is applied to printing of the bit image 126 Differences Rev 1 00 Metapace T 3 DPI Dots per Inch 25 4mm m Mode Vertical dot density DPI Horizontal dot density DPI 0 48 Normal 180 180 1 49 Double width 180 90 2 50 Double height 90 180 3 51 Quadruple 90 90 127 Metapace T 3 Function Set bar code width Code ASCII GS Ww n Hex 1D 77 Decimal 29 119 n Range 2 lt ns6 Default n 3 Description E This command sets the horizontal size of the bar code using n as follows a Multi level bar code module Binary level bar code width mm Thin element width mm Thick element width mm 2 0 2
10. Right space n x horizontal motion units Remarks E In a double width mode the right space will be doubled E Horizontal motion unit varies depending the printer model Differences Horizontal motion unit 0 141mm 1 180 inch Rev 1 00 17 Metapace T 3 Function Set print mode Code ASCII ESC n Hex 1B 21 Decimal 27 33 n 3 Range 0 lt n lt 255 Default n 0 Description This command selects print mode s with bits having following meanings Bit Off On Hex Decimal Function 0 Off 00 0 Character font A selected On 01 1 Character font B selected 1 2 Off 00 0 Reserved 3 Off 00 0 Emphasized mode not selected On 08 8 Emphasized mode selected 4 Off 00 0 Double height mode not selected On 10 16 Double height mode selected 5 Off 00 0 Double width mode not selected On 20 32 Double width mode selected 6 Off 00 0 Reserved 7 Off 00 0 Underline mode not selected Remarks E As alternative to this command ESC M ESC E and ESC can be used for the selection for character font emphasized mode and underline mode respectively E The entire character print width is underlined but the space skipped by HT is not E f both double width and double height are selected the characters will be quadrupled Differences None Rev 1 00 18 Metapace T 3 Function Set absolute print position Code ASCII ESC nL nH Hex 1B 24 nL
11. 0 48 68 n Range pL pH x 256 3 pL 3 pH 0 cn 48 fn 68 2 lt n lt 8 Default n 3 Description This command sets the module height of PDF417 to the module width x n Remarks E Settings of this command affect the processing of Functions 081 and 082 E The setting of this command remains effective until ESC printer reset or power cycling is executed Differences None Rev 1 00 89 Metapace T 3 Code ASCII GS k pL pH cn fn m n Hex 1D 28 6B 04 00 30 45 m n Decimal 29 40 107 4 0 48 69 m n Range pL pH x 256 4 pL 4 pH 0 cn 48 fn 69 m 48 48 lt n lt 56 Default None Description E This command specifies the error correction level for PDF417 e The error correction level is set by level Remarks E Settings of this function affect the processing of Functions 081 and 082 E Error correction level specified by level m 48 is as follows The number of the error correction codeword is unchanged regardless of the number of codeword in the data area n Function Number of error correction codeword 48 Error correction level 0 2 49 Error correction level 1 4 50 Error correction level 2 8 51 Error correction level 3 16 52 Error correction level 4 32 53 Error correction level 5 64 54 Error correction level 6 128 55 Error correction level 7 256 56 Error correction level 8 512 E The setting of this comma
12. 00 0 No error On 40 64 Error has occurred Off 00 0 Fixed n 3 Error status Bit Binary Hex Decimal Status 0 0 00 0 Not used Fixed to Off 1 1 02 2 Not used Fixed to On 2 0 00 0 Not used Fixed to Off 3 0 00 0 No autocutter error 1 08 8 Autocutter error occurred 4 1 10 16 Not used Fixed to On 5 0 00 0 Not used Fixed to Off 6 0 00 0 Not used Fixed to Off 7 0 00 0 Not used Fixed to Off Rev 1 00 13 Remarks Differences Rev 1 00 Metapace T 3 n 4 paper sensor status Bit Binary Hex Decimal Status 0 0 00 0 Not used Fixed to Off 1 1 02 2 Not used Fixed to On 23 00 00 0 Paper near end sensor paper adequate i 11 OC 12 Paper near end sensor paper near end 4 1 10 16 Not used Fixed to On 56 00 00 0 Paper end sensor paper present i 11 60 96 Paper end sensor paper not present 7 0 00 0 Not used Fixed to Off E the status is transmitted to the host upon being requested that can check the printer operational condition with it and takes appropriate measures accordingly E The real time command is stored into the receive buffer and executed with higher priority than other commands None 14 Metapace T 3 Function Generate pulse at real time Code ASCII DLE DC4 n m t Hex 10 14 n m t Decimal 16 20 n m t Range n 1 m 0 1 1 lt t lt 8 Default None Description E Output the pulse specified by t to connector pin m as fo
13. 00 0 Reserved 7 Off 00 0 Fixed Rev 1 00 124 Metapace T 3 Bits 2 and 3 This command can not be executed when the printer is offline due to the lack of paper Therefore the status of bit 2 1 and bit 3 1 is not transmitted e Drawer kick out connector status n 2 50 Bit Off On Hex Decimal Function 0 Off 00 0 Drawer kick out connector pin 3 is LOW On 01 1 Drawer kick out connector pin 3 is HIGH 1 Off 00 0 Reserved 2 Off 00 0 Reserved 3 Off 00 0 Reserved 4 Off 00 0 Fixed 5 Off 00 0 Reserved 6 Off 00 0 Reserved 7 Off 00 0 Fixed E This command can be executed in real time mode using DLE Differences None Rev 1 00 125 Metapace T 3 Function Print raster bit image Code ASCII GS V 0 m xL xH yL yH d1 dk Hex 1D 76 30 m xL xH yL yH d1 dk Decimal 29 118 48 m xL xH yL yH d1 dk Range O lt m lt 3 48 lt s lt m lt 51 1 lt xL xH x 256 lt 128 0 lt xL lt 128 xh 0 1 lt yL yH x 256 lt 4095 0 lt yL lt 255 0 lt yH lt 15 0 lt d lt 255 k xL xH x 256 x yL yH x 256 Default None Description This command prints a raster bit image according to the mode defined by m DPI Dots per Inch 25 4mm m Mode Vertical dot density DPI Horizontal dot density DPI 0 48 Normal 180 180 1 49 Double width 180 90 2 50 Double height 90 180
14. Character 3 Printer feature ID 0x63 66 Manufacturer Metapace 67 Printer model Metapace T 3 69 Language of Font Code page currently being used Refer to cod page setting command ESC t Rev 1 00 112 Metapace T 3 Function Set left margin Code ASCII GS L nL nH Hex 1D 4C nL nH Decimal 29 76 nL nH Range 0 lt nL lt 255 0 lt nH lt 255 Default nL nH x 256 0 nL 0 nH 0 Description This command sets the left margin specified to nL nH x 256 x horizontal motion units Remarks E The left margin is not effective in page mode If the left margin is enabled in page mode the setting is available when the printer returns to standard mode m When the setting is beyond the printable area the left margin is automatically set to the maximum value of the printable area E Since the left margin is the same as the leftmost side of the printable area the left side of the printable area is changed according to the left margin specified E The setting of this command remains effective until ESC printer reset or power cycling is executed Printable area Left margin Printing area width Differences None Rev 1 00 113 Metapace T 3 Function Select cut mode and cut paper Code ASCII GS V m Hex 1D 56 m Decimal 29 86 m ASCII GS V m n Hex 1D 56 m n Decimal 29 86 m n Range m 0 1 48 49
15. Hex 1B 2A m nL nH d1 dk Decimal 27 42 m nL nH d1 dk m 0 1 32 33 0 lt nL lt 255 O lt s lt nH lt 3 0 lt d lt 255 k nL nH x 256 in case of m 0 1 k nL nH x 256 x 3 in case of m 32 33 None m This command specifies the bit image for the mode m as to the number of dots specified by nL and nH e d specifies the bit image data with 1 for printed data and 0 for not printed k denotes the number of horizontal dots E f the bit image data being entered is beyond the number of dots to be printed the surplus will be discarded E f the value of m is beyond the conditions the subsequent data after m will be treated as normal data DPI Dots per Inch 25 4mm Number of dots in Vertical dot Horizontal dot m Moda vertical direction density DPI density pP Number of bytes k 0 8 dot single density 8 60 90 nL nH x 256 1 8 dot double density 8 60 180 nL nH x 256 32 24 dot single density 24 180 90 nL nH x 256 x 3 33 24 dot double density 24 180 180 nL nH x 256 x 3 23 Metapace T 3 Function Turn underline mode on off Code ASCII ESC n Hex 1B 2D n Decimal 27 45 n Range Osns2 48 lt sns50 Default n 0 Description m This command enables the print data following it to be printer out underlined The underline mode varied depending on the following values of n n Function 0 48 Turns off underline mode 1 49 Turn
16. Metapace T 3 E NV memory is devided into 2 areas for mono and 2 color graphics The capacity of each NV memory area is 256KB None 55 Metapace T 3 Function Select character size Code ASCII GS n Hex 1D 21 n Decimal 29 33 n Range 0 lt n lt 255 1 lt Vertical enlargement lt 8 1 lt Horizontal enlargement lt 8 Default n 0 Description m This command selects the character height and width using bits 0 to 3 and bits 4 to 7 respectively as follows Bit Function Setting 0 1 Specifies the number of times normal font Refer to Table 2 2 size in the vertical direction Enlarged in vertical direction 3 4 5 Specifies the number of times normal font G Table t me heb Enlarged in horizontal 6 size in the horizontal direction ae 7 direction Rev 1 00 56 Remarks Differences Rev 1 00 e Table 1 Enlarged in horizontal direction Hex Decimal Enlargement 00 0 1 time standard 10 16 2 times 20 32 3 times 30 48 4 times 40 64 5 times 50 80 6 times 60 96 7 times 70 112 8 times e Table 2 Enlarged in vertical direction Hex Decimal Enlargement 00 0 1 time standard 01 1 2 times 02 2 3 times 03 3 4 times 04 4 5 times 05 5 6 times 06 6 7 times 07 T 8 times Metapace T 3 m The character size set by this command is valid for alphanumeric user de
17. Msw2 8 Msw2 7 Msw2 6 Msw2 5 Msw2 4 Msw2 3 Character Table Thai 11 WPC1250 E The setting items of the memory switch 3 are as follows Specify the emulations to be enabled using the memory switch 3 1 through 3 3 Msw3 3 Msw3 2 Msw3 1 Emulation seletion Remark Emulation 1 default Emulation 2 E Single byte font selection using the memory switch 4 3 through 4 4 4 value 3 Single byte font selection Remark Font A 12x24 4 3 4 Font B 9x17 49 Font C 9x24 Metapace T 3 65 Remarks Differences Rev 1 00 m The setting items of the memory switch 5 are as follows Metapace T 3 Msw Value Function 5 1 48 Reserved 5 2 48 Reserved 5 3 48 2 Color printing disable 49 2 Color printing enable 5 4 48 Auto line feed disable 5 5 6 48 Reserved 5 7 48 Left 2inch mode disable 49 Left 2inch mode enable 5 8 48 Center 2inch mode disable 49 Center 2inch mode enable E The setting items of the memory switch 6 are as follows Msw Value Function 6 1 48 Auto internal buzzer after cutting disable 49 Auto internal buzzer after cutting enable 6 2 48 Auto internal buzzer option 3 times 49 Auto internal buzzer option 1 times 6 3 48 Auto internal buzzer with cash drawer disable 49 Auto internal buzzer with cash drawer enable 6 4 48 Auto external buzzer after cutting disable 49 Auto external buzzer after cutting enable 6 5 8 48 Rese
18. None Description E This command prints a specified pattern for testing on a roll paper Roll paper is selected with n specified as follows n Paper type 0 48 1 49 Roll paper 2 50 e Different kinds of test patterns are selected according to m as follows m Test pattern 1 49 Hexadecimal dump mode 2 50 Self test printing configuration default codepage 3 51 Not operated Remarks E The printer cancels a macro definition in progress If this command is processed The macro becomes invalid gm After completion of this command a software reset is executed automatically to restore the printer status set during power cycling E All of the data transmitted from the host to the printer is printed and identified in hexadecimal dump mode E The real time command and LSB operations are not executed during the printing of printer configuration m 2 50 Differences None Rev 1 00 59 Metapace T 3 Function Code Range Default Description Remarks Differences Rev 1 00 Set NV user memory area ASCIl GS E pL pH fn parameter Hex 1D 28 45 pL pH fn parameter Decimal 29 40 69 pL pH fn parameter None None This command stores the customized values to the NV user memory area and uses them for the printer operation The table below explains the functions available in this command Executes commands related to the user setting m
19. and right The descriptor of symbol length the first code word in the data area The error correction code word calculated by modulus 929 Pad codeword E The data area includes the following codewords e Data specified by Function 080 The descriptor of symbol length the first code word in the data area Rev 1 00 93 Differences Rev 1 00 Metapace T 3 e The error correction code word calculated by modulus 929 e Pad codeword E When automatic processing Function 065 is specified the number of columns is calculated using the following information e Current printing area e Module width Function 067 e Option setting Function 070 e Codeword in the data area e The maximum number of columns is 30 E When auto processing Function 066 is specified in page mode the number of rows is calculated using the following information e Current printing area e Module height Function 068 e Codeword in the data area e The maximum number of rows is 90 E Except for character size and upside down printing mode none of print mode such as emphasized double strike etc affects the printing of the symbol E In standard mode the paper feed amount set by the paper feed setting command does not affect printing of the symbol The printing position returns to the left side of the printable area after printing the symbol E In page mode the printer stores the symbol data in the print buffer without executing actual printing E The
20. fn fn No Format Function 0 48 48 GS L pL pH mfn Transmits the NV graphics momory capacity 2 50 50 GS LpL pH mfn Prints the graphics data in the print buffer 3 51 51 GS L pL pH mfn e i the remaining capacity of the NV grapics 64 64 GS L pL pH m fn d1 d2 Transmits the defined NV graphics key code list 65 65 GS L pL pH m fn d1 d2 d3 Deletes all NV graphics data 66 66 GS L pL pH m fn kc1 kc2 Deletes the specified NV graphics data GS L pL pH m fn kc1 kc2 b xL xH 67 67 yL yH cd1 dk 1 c d1 dk b Defines the graphics data in the non volatile memory 69 69 GS L pL pH m fn kc1 kc2 x y Prints the specified NV graphics data 112 112 oo RPE primi ape Dy CxLAn yt Stores the graphics data in the print buffer memory yH d1 dk 68 Remarks Differences Rev 1 00 Metapace T 3 E This command is adapted to print image data E pL pH specifies the number of bytes following pH using pL pH x 256 E Since frequent writing operation could cause the damage to the NV memory it is recommended to write only when being required E While storing data by this command the printer is in BUSY state where receiving of data is not available Therefore it is not recommended to send data during this process E The real time commands and LSB operations are not allowed during NV memory operation process None 69 Metapace T 3 Code Range Default Description Remarks Differences
21. lt 57 65 lt d lt 90 69 CODE39 1 lt n lt 255 d 32 36 37 43 45 46 47 70 ITF 1 lt n 255 even number 48 lt d lt 57 48 lt d lt 57 65 lt d lt 68 71 CODABAR 1 lt n lt 255 d 36 43 45 46 47 58 72 CODE93 1 lt n lt 255 O lt d lt 127 73 CODE128 2 lt ns255 O lt sd lt 127 Remarks E The bar code width exceeding the print area can not be specified m Except for character size and upside down printing mode none of print mode such as emphasized double strike etc affects the printing of the barcode m The quiet zone of the bar code left and right spaces of the bar code should be considered when using this command Differences None Rev 1 00 123 Metapace T 3 Function Transmit status Code ASCII GS r n Hex 1D 72 Decimal 29 114 n Range n 1 2 49 50 Default None Description The command transmits the status specified by n as follows n Function 1 49 Transmits paper sensor status 2 50 Transmits drawer kick out connector status Remarks E The status is one byte E The status to be transmitted is as follows Paper sensor status n 1 49 Bit Off On Hex Decimal Function 0 1 Off 00 0 Paper near end sensor Paper adequate f On 03 3 Paper near end sensor Paper near end 23 Off 00 0 Paper end sensor Paper present On OC 12 Paper end sensor Paper not present 4 Off 00 0 Fixed 5 Off 00 0 Reserved 6 Off
22. lt sn lt 90 Default n 0 Description E This command specifies the number of rows in the data area of PDF417 e When n 0 automatic processing is set e When n is not 0 the number of rows is set to n rows Remarks E Settings of this function affect the processing of Functions 081 and 082 E With auto processing n 0 specified the maximum number of rows is set to 90 E With auto processing n 0 specified the number of rows is calculated by using the following information e Printing area when processing Functions 081 082 e Module height Function 068 E The setting of this command remains effective until ESC printer reset or power cycling is executed Differences None Rev 1 00 87 Metapace T 3 Code ASCII GS k pL pH cn fn n Hex 1D 28 6B 03 00 30 43 n Decimal 29 40 107 3 0 48 67 n Range pL pH x 256 3 pL 3 pH 0 cn 48 fn 67 1sns4 Default n 3 Description This command sets the width of the module of PDF417 symbol to n dots Remarks E Settings of this command affect the processing of Functions 081 and 082 E The setting unit for printer models varies E The setting of this command remains effective until ESC printer reset or power cycling is executed Differences E Setting unit 1 dot 0 141 1 180 inch Rev 1 00 88 Metapace T 3 Code ASCII GS k pL pH cn fn n Hex 1D 28 6B 03 00 30 44 n Decimal 29 40 107 3
23. quiet zone is not included in the printing data Be sure to include the adequate quiet zone for executing of this command The quiet zone means the spaces surrounding the symbol such as upper lower left and right spaces None 94 Metapace T 3 Code Range Default Description Remarks Rev 1 00 ASCII GS k pL pH cn fn m Hex 1D 28 6B 03 00 30 52 m Decimal 29 40 107 3 0 48 82 m pL pH x 256 3 pL 3 pH 0 cn 48 fn 82 m 48 None This command encodes and sends the size information of the PDF417 symbol data in the symbol storage area E In standard mode this command is available only when printer is at the beginning of a line or the printer buffer is empty E The size information for each data is as follows Send data Hex Decimal Data Header 37H 55 1 byte Identifier 2FH 47 1 byte Horizontal size 30H 39H 48 57 1 5 byte Separator 1FH 31 1 byte Vertical size 30H 39H 48 57 1 5 byte Separator 1FH 31 1 byte Fixed value 31H 49 1 byte Separator 1FH 31 1 byte Other information 30H or 31H 48 or 49 1 byte NUL 00H 0 1 byte e Horizontal size and vertical size denotes the number of dots of the symbol 95 Differences Rev 1 00 E The following data indicates whether or not printing of the symbol is possible Metapace T 3 Hex Decimal Condition 30H 48
24. respectively e D defines the bit image data K denotes the number of the definition data Remarks E The bit image can be printed by downloaded graphics function GS 8 E The downloaded bit image is available until ESC printer reset or power cycling is executed E The user defined character and the downloaded bit image cannot be defined simultaneously e The user defined character is cleared preceding the execution of this command e The downloaded bit image data is cleared with ESC amp executed Differences None Rev 1 00 105 Metapace T 3 Function Print downloaded bit image Code ASCII GS m Hex 1D 2F m Decimal 29 47 m Range Osms3 48sms51 Default None Description This command prints the downloaded bit image defined by GS according to the mode denoted by m DPI Dots per Inch 25 4mm m Mode Vertical dot density DPI Horizontal dot density DPI 0 48 Normal 180 180 1 49 Double width 180 90 2 50 Double height 90 180 3 51 Quadruple 90 90 Remarks m The download bit image is defined by GS E This command is ignored when if a downloaded bit image is not defined E In standard mode this command works only when the print buffer is empty and the printer is in the start of the line m is treated as normal data if the print buffer has data E In page mode the bit image data is accumulated in the print buffer but does not perform the actual printin
25. using Functions 165 through 169 E By using Function 182 the symbol size printed by Function 181 is available None 85 Metapace T 3 Code ASCII GS k pL pH cn fn n Hex 1D 28 6B 03 00 30 41 n Decimal 29 40 107 3 0 48 65 n Range pL pH x 256 3 pL 3 pH 0 cn 48 fn 65 0 lt n lt 30 Default n 0 Description E This command specifies the number of columns in the data area of PDF417 e When n 0 automatic processing is set e When n is not 0 the number of columns of the data area is set to n code word Remarks E Settings of this command affect the processing of Functions 081 and 082 E With auto processing n 0 specified the maximum number of columns in the data area is set to 30 columns E The following data is excluded from the number of columns e Start and stop patterns e Indicator code word of left and right E With auto processing n 0 specified the number of columns is calculated using the following information e Printing area when processing Functions 081 082 e Module width Function 067 e Option setting Function 070 E The setting of this command remains effective until ESC printer reset or power cycling is executed Differences None Rev 1 00 86 Metapace T 3 Code ASCII GS k pL pH cn fn n Hex 1D 28 6B 03 00 30 42 n Decimal 29 40 107 3 0 48 66 n Range pL pH x 256 3 pL 3 pH 0 cn 48 fn 66 n 0 3
26. 1 Metapace T 3 Function Transmit real time status Code ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n Range 1 lt ns4 Default None Description This command enables commands to be operable in real time This command transmits the printer related status specified by n as follows Function Transmit printer status Transmit off line status Transmit error status Transmit paper roll sensor status AJIN E Printer transmits the following status n 1 Printer status Bit Binary Hex Decimal Status 0 0 00 0 Not used Fixed to Off 1 1 02 2 Not used Fixed to On 2 0 00 0 Drawer kick out connector pin 3 is LOW 1 04 4 Drawer kick out connector pin 3 is HIGH 0 00 0 Online 1 08 8 Offline 4 1 10 16 Not used Fixed to On 5 0 00 0 Not used Fixed to Off Rev 1 00 12 Metapace T 3 Bit Binary Hex Decimal Status 6 0 00 0 Not used Fixed to Off 7 0 00 0 Not used Fixed to Off n 2 Off line status Bit Off On Hex Decimal Status 0 Off 00 0 Fixed 1 On 02 2 Fixed 2 Off 00 0 Cover is closed On 04 4 Cover is open 3 Off 00 0 Paper is not being fed by using the paper FEED button On 08 8 Paper is being fed by the paper FEED button 4 On 10 16 Fixed 5 Off 00 0 No paper end stop On 20 32 Printing is being stopped Off
27. 1 00 2 Control Commands List in Alphanumeric Order Metapace T 3 No Command Function No Command Function 1 IHT Horizontal tab 26 ESCM Select character font MSR card read 2 ILF Print and line feed 27 ESCR Specify an international character set 3 FF Form feed in page mode 28 ESC S Select standard mode 4 ICR Print and carriage return 29 ESCT Select print direction in page mode 5 CAN Cancel the print data in page mode 30 ESC V Turn 90 clockwise rotation mode on off 6 DLEEOT Transmit real time status 31 ESC W Set print area in page mode 7 DLE DC4 Generate pulse at real time 32 ESC Set relative print position 8 ESC FF Print data in page mode 33 ESC a Set position alignment 9 ESC SP Set the character right space 34 ESC d Print and feed n lines 10 ESC Set print mode 35 ESC i Partial cut 11 ESC Set absolute print position 36 ESC m Partial cut 12 ESC Select cancel user defined character set 37 ESC p Generate pulse 13 ESC amp Define user defined character set 38 ESC t Select character code table 14 ESC Specify bit image mode 39 ESC v Transmit paper sensor status 15 ESC Turn underline mode on off 40 ESC Turn upside down print mode on off 16 ESC 2 Select default line spacing 41 FSp Print NV bit image 17 ESC 3 Set line spacing 42 FSq Define NV bit image 18 ESC Select peripheral device 43 GS Select character siz
28. 1 00 35 Metapace T 3 Function Specify international character set Code ASCII ESC R n Hex 1B 52 n Decimal 27 82 n Range O lt n lt 13 Default n 0 Description This command specifies international characters according to n values n Character set n Character set 0 U S A 7 Spain 1 France 9 Norway 2 Germany 10 Denmark Il 3 U K 11 Spain II 4 Denmark 12 Latin America 5 Sweden 13 Korea 6 Italy Remarks E The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Differences None Rev 1 00 36 Metapace T 3 Function Select standard mode Code ASCII ESC S Hex 1B 53 Decimal 27 83 Range None Default None Description This command enables standard mode Remarks m The data in the printer buffer is cleared and the setting by ESC W returns to the default The conditions by the following commands are defined independently in standard mode and page mode e ESC SP ESC 2 and ESC 3 E In standard mode CAN ESC FF and GS are ignored Differences None Rev 1 00 37 Metapace T 3 Function Select print direction in page mode Code ASCII ESC T n Hex 1B 54 Decimal 27 84 n Range O lt n lt 3 48 lt n lt 51 Default n 0 Description This command selects the print direction and starting position in pa
29. 82 0 282 0 706 3 0 423 0 423 1 129 4 0 564 0 564 1 411 5 0 706 0 706 1 834 6 0 847 0 847 2 258 n specifies the bar code module width Remarks E The setting of this command is effective for the following bar codes e Multi level bar codes UPC A UPC E JAN13 HAN8 CODE93 CODE128 e Binary level bar codes CODE39 ITF CODABAR E The setting of this command remains effective until ESC printer reset or power cycling is executed Rev 1 00 128 Differences Rev 1 00 Metapace T 3 Multi level bar code module Binary level bar code n width mm Thin element width mm Thick element width mm 2 0 282 0 282 0 706 3 0 423 0 423 1 129 4 0 564 0 564 1 411 5 0 706 0 706 1 834 129 Metapace T 3 Function Select device font type Code ASCII BS M n m Hex 08 4D n m Decimal 08 77 n m Range 65 lt m lt 67 m 65 66 67 Default n 0 Description W This command selects print mode s with bits having following meanings Bit Off On Hex Decimal Function 0 Off 00 0 Resident ASCII font selected On 01 1 Customized ASCII font selected 1 Off 00 0 Resident codepage font selected On 02 2 Customized character font selected m Function Select font type 65 Font A 12x24 66 Font B 9x17 67 Font C 9x24 E The printer supports 3 font types by selecting m function Remarks E The setting of this comma
30. Define user defined character set Code ASCII ESC amp y c1 c2 x1 d1 d yxxt xk d1 d y x xk Hex 1B 26 y c1 c2 x1 d1 d yxx1 xk d1 d y x xk Decimal 27 38 y c1 c2 x1 d1 d yxxt xk d1 d y x xk Range y 3 32 lt c1 lt c2 lt 126 0 lt x lt 12 Font A 0 lt x lt 9 Font B 0 lt d lt 255 k c2 c1 1 Default None Description m This command defines user defined characters for character codes in a designated range from the start character code c1 to the end character code c2 y denotes the number of bytes in the vertical direction x the number of dots in the horizontal direction and d the dot data for the user defined characters Remarks E Alphanumeric characters 20H decimal 32 to 7EH decimal 126 are definable E Once user defined characters are defined they remain available until they are redefined ESC or ESC is executed the printer is reset E The following shows the relationship between the definition data and printing result with downloaded character consisting of 9x7 dots Rev 1 00 21 Differences Rev 1 00 d1 d3 d5 d7 d9 d11 d13 d2 d4 d6 d8 d10 d12 d14 None MSB LSB MSB LSB Metapace T 3 22 Metapace T 3 Function Code Range Default Description Remarks Differences Rev 1 00 Specify bit image mode ASCII ESC m nL nH d1 dk
31. Function 180 Remarks E In standard mode this command is available only when printer is at the beginning of a line or the printer buffer is empty E The size information of each data is as follows Send data Hex Decimal Data Header 37H 55 1 byte Flag 36H 54 1 byte Horizontal size 30H 39H 48 57 1 5 byte Separator 1FH 31 1 byte Vertical size 30H 39H 48 57 1 5 byte Separator 1FH 31 1 byte Fixed Value 31H 49 1 byte Separator 1FH 31 1 byte Other Information 30H or 31H 48 or 49 1 byte NUL OOH 0 1 byte e Horizontal size and vertical size denotes the number of dots of the symbol Rev 1 00 103 Differences Rev 1 00 E The following data indicates whether or not printing of the symbol is possible Hex Decimal Condition 30H 48 Printing is possible 31H 49 Printing is impossible E The quiet zone is not included in size information None Metapace T 3 104 Metapace T 3 Function Define downloaded bit image Code ASCII GS i xX y d1 d x x y x 8 Hex 1D 2A X y d1 d x x y x 8 Decimal 29 42 X y d1 d x x y x 8 Range 1 lt xs 255 1 lt y lt 48 where x x y lt 1536 0 lt d lt 255 Default None Description m This command defines the downloaded bit image using the number of dots specified by x and y e x and y specify the number of dots in the horizontal and vertical directions
32. I GS n Hex 1D 49 Decimal 29 73 n Range 1 lt ns lt 69 Default None Description E This command transmits the printer ID or information e Transmits 1 byte of printer ID using n as follows n Printer ID Specification 1 49 Printer model ID Printer model 2 50 Type ID Printer type 3 51 Printer feature ID Printing method and Printer size e Transmits specified printer information using n as follows n Printer ID type Specification 65 Firmware version Firmware version 66 Manufacturer Metapace 67 Printer model Printer model 69 Code page Currently enabled code page Remarks E Printer information When n 65 66 67 69 consist of Header NULL data as shown below Transmitted data Hex Decimal Amount of data 1byte Printer information Depends on the model Depends on the model 0 15 bytes Po NUE a tyte E The firmware version can be confirmed by self test printing Rev 1 00 111 Differences E The printer ID is shown according to printer models as follows Metapace T 3 Printer ID Metapace T 3 1 Printer model ID 0x20 2 Type ID Type ID varies depending on functions the printer supports as follows 0x01 Multi byte character 0x02 Autocutter 0x03 Autocutter Multi byte character 0x04 Customer display 0x05 Multi byte character Display 0x07 Customer display Autocutter Multi byte
33. IGH Off 00 0 On line On 08 8 Off line On 10 16 Not used Fixed to On Off 00 0 Cover is close On 20 32 Cover is open 6 Off 00 0 Paper is not being fed by the paper feed button On 40 64 Paper is being fed by the paper feed butto Off 00 0 Not used Fixed to Off e Second byte printer information Bit Off On Hex Decimal Function 0 Off 00 0 Not used Fixed to Off 1 Off 00 0 Not used Fixed to Off 2 Off 00 0 No mechanical error On 04 4 Mechanical error Off 00 0 No auto cutter error On 08 8 Auto cutter error occurred Off 00 0 Not used Fixed to Off Off 00 0 No unrecoverable error On 20 32 Unrecoverable error 6 Off 00 0 No automatically recoverable error On 40 64 Automatically recoverable error occurred 7 Off 00 0 Not used Fixed to Off If mechanical error bit 2 or auto cutter error bit 3 occurs due to paper jams or the like it is possible to recover by correcting a cause of the error and executing ENQ in real time mode Rev 1 00 118 Metapace T 3 If an unrecoverable error bit 5 occurs turn off the power as soon as possible e Third byte paper sensor information Bit Off On Hex Decimal Function 04 Off 00 0 Paper near end sensor paper adequate On 03 3 Paper near end sensor paper near end 23 Off 00 0 Paper end sensor paper present i On oC 12 Paper end sensor no paper present 4 Off 00 0 Not used Fixed to Off 5 Off 00 0 No
34. METAPACE Metapace T 3 Command Manual Rev 1 00 http www metapace com Metapace T 3 E Contents MAN OMICS ass EEEE bese ecetacscascnebecs se ceteee sc saheGeaecccstac Sasesadenacaceneesesesssosscens T 3 2 Control Commands List in Alphanumeric Ordet cccccccceeeeneeeeeeeee eres enee ee eeeeeeeeeeeeeeaae eee eeeeeeeeeenaaasnaaeeaeeeeeseeeeeaaeaeaseeeeeseeeeeaaeeeeeeeeeees 4 2 1 COmmMand Description tens anann nebinc nail r E r A aa aae Ea shins sega aah A Ea A a a AA Ea a edea fa 6 2 2 Details Or COMMON Command S eiee e toad ct a eaa a aa baad Slat a a a a ero dutuneeRIGtOKS 7 Rev 1 00 2 Metapace T 3 1 Notice This document contains proprietary information of Metapace Corporation and its affiliates You may utilize the information solely for the purpose of facilitating authorized sales and service of or developing software and similar products for authorized use with Metapace products provided that such proprietary information may not be used reproduced or disclosed to any other parties for any other purpose without the prior written permission of Metapace Corporation Metapace has no liability for loss or damage arising from or relating to your use of or reliance on the information in the document We at Metapace maintain ongoing efforts to enhance and upgrade the functions and quality of all our products In following product specifications and or user manual content may be changed without prior notice Rev
35. Printing is possible 31H 49 Printing is impossible E The quiet zone is not included in the printing data Be sure to include the adequate quiet zone for executing of this command None 96 Metapace T 3 Code ASCII GS k pL pH cn fn n1 n2 Hex 1D 28 6B 04 00 31 41 n1 n2 Decimal 29 40 107 4 0 49 65 n1 n2 Range pL pH x 256 3 pL 3 pH 0 cn 49 fn 65 n1 49 50 n2 0 Default n1 50 n2 0 Description This command sets the QR Code model as follows n1 Function 49 Model 1 50 Model 2 Remarks m The setting of this command affects lt Function 181 gt and lt Function 182 gt E The setting of this command remains effective until ESC printer reset or power cycling is executed Differences None Rev 1 00 97 Metapace T 3 Code ASCII GS k pL pH cn fn n Hex 1D 28 6B 03 00 31 43 n Decimal 29 40 107 3 0 49 67 n Range pL pH x 256 3 pL 3 pH 0 cn 49 fn 67 1 lt n lt 8 Default n 3 Description This command sets the size of the QR Code module to n dots Remarks E The setting of this command affects the processing of lt Function 181 gt and lt Function 182 gt E Since the QR CODE module is square n module width module height E The setting of this command remains effective until ESC printer reset or power cycling is executed Differences None Rev 1 00 98 Metapace T 3
36. ata mode Kanji Data mode 8 bit Data mode Rev 1 00 101 Differences Rev 1 00 Metapace T 3 E The following data is automatically added by the encoding processing e Position sensor pattern e Segregator for the position sensor pattern e Timing pattern e Format information e Version information e Error correction code text e Pad code text e Indicator for counting bits of bytes e Mode indicator e Concluder e Queue pattern when model 2 is selected e Expansion pattern when model 1 is selected E Except for character size and upside down printing mode none of print mode such as emphasized double strike etc affects the printing of the symbol E In standard mode the paper feed amount set by the paper feed setting command does not affect printing of the symbol The printing position returns to the left side of the printable area after printing the symbol E In page mode the printer stores the symbol data in the print buffer without executing actual printing E The quiet zone is not included in the printing data Be sure to include the adequate quiet zone for executing of this command None 102 Metapace T 3 Code ASCII GS k pL pH cn fn m Hex 1D 28 6B 03 00 31 52 m Decimal 29 40 107 3 0 49 82 m Range pL pH x 256 3 pL 3 pH 0 cn 49 fn 82 m 48 Default None Description This command transmits the size information of the QR Code symbol data encoded by
37. bk8 bk1 Hex 1D 28 45 pL fn a1 b18 b11 ak bk8 bk1 Decimal 29 40 69 pL fn a1 b18 b11 ak bk8 bk1 10 lt pL pH x 256 lt 65535 fn 3 a 1 2 3 4 5 6 11 12 b 48 49 50 All switches are set to Off b 48 m This command changes all the Memory Switch Msw 1 through 8 to the value specified by b simultaneously as follows e When b 48 49 the corresponding bit is set to Off and On respectively e When b 50 there is no change in the memory switch E The setting items of the memory switch 1 are as follows Value Print speed 3 1 1 2 Print speed 2 Remark 250 mm s 230 mm s 200 mm s Print speed 1 The printer supports 3 different printing speeds Please be sure that the printing quality at higher speed may be worse than at the lower 63 Metapace T 3 E The eee items of the memory switch 2 are as follows Value Specification for Destination Single byte country 49 Specification for Destination Double byte country E Code page selection using the memory switch 2 3 through 2 8 Msw2 7 Msw2 6 Msw2 5 Msw2 4 Msw2 3 Character Table PC437 Katakana PC850 PC860 PC863 PC865 WPC1252 PC866 PC852 PC858 PC862 PC864 Thai42 WPC1253 WPC1254 WPC1257 Msw2 8 Msw2 7 Msw2 6 Msw2 5 Msw2 4 Msw2 3 Character Table Farsi WPC1251 Hebrew old code WPC1255 Rev 1 00 64 Rev 1 00
38. cal motion unit is used E The line spacing is settable independently for each of standard and page modes Differences Vertical or horizontal motion unit and maximum line spacing settable Vertical unit Horizontal unit Max line spacing 0 0705mm 1 360 inch 0 141mm 1 180 inch 17 98mm Rev 1 00 26 Metapace T 3 Function Select peripheral device Code ASCII ESC n Hex 1B 3D n Decimal 27 61 n Range 1 lt ns3 Default None Description This command selects the device to which the host computer communicates according to n as follows n Function 1 Enables the printer 2 Disables the printer 3 Enables the printer Remarks m The printer discards all of the received data commands with the exception of ESC and real time commands while being disabled E The normal operation will be resumed by ESC power cycling or printer reset E f LSB is activated when the printer is disabled by this command the status is transmitted to the host at a preset interval Differences None Rev 1 00 27 Metapace T 3 Function Cancel user defined characters Code ASCII ESC n Hex 1B 3F Decimal 27 63 n 5 Range 32 lt n lt 126 Default None Description This command removes user defined character specified by character code n Remarks E In place of the deleted user defined character the cooresponding resident character is pri
39. cimal and decimal codes Range Argument value Setting range for the command Default Initial argument value for the command Description Detailed command function description Remarks Additional information about using the command Differences Variations depending on the printer model Rev 1 00 6 Metapace T 3 2 2 Details of Control Commands Function Horizontal tab Code ASCII HT Hex 09 Decimal 9 Range None Default None Description This command moves the print position to the next horizontal tab position If the next horizontal tab position is not specified this command will be void Remarks E The horizontal tab position is set by lt ESC gt D E With the underline mode turned on the underline printing is not applied to the tab space created by this command Differences None Rev 1 00 7 Metapace T 3 Function Print and line feed Code ASCII LF Hex OA Decimal 10 Range None Default None Description This command prints the data in the print buffer and feeds one line based on the current set line spacing in standard mode Remarks E In page mode the printer does not perform actual printing but moving only the print position to the next line Differences None Rev 1 00 8 Metapace T 3 Function Form feed in page mode Code ASCII FF Hex oC Decimal 12 Range None Default None Description This commands prints al
40. e 19 ESC Cancel user defined characters 44 GS vs aa vertical print position in page 20 ESC Initialize printer 45 GS A Execute test print 21 ESCD Set horizontal tab positions 46 GS E Set NV user memory area 22 ESC E Turn emphasized mode on off 47 pa i Select graphics data 23 ESC G Turn double strike mode on off 48 GS N Select character color 24 ESC J Print and feed paper 49 GS k Specify and print the symbol 25 ESCL Select page mode 50 GS Define downloaded bit image Rev 1 00 No Command Function 51 GS Print downloaded bit image 52 GS Start end macro definition 53 IGS B Turn white black reverse print mode on off 54 GS H Select print position of HRI characters 55 GS1 Transmit printer ID 56 GSL Set left margin 57 IGS V Select cut mode and executes a partial cut 58 GS W Set print area width 59 GS Execute macro 60 GSa Enable Disable Automatic Status Back ASB 61 IGS f Select font for HRI characters 62 GSh Set bar code height 63 IGS k Print bar code 64 GSr Transmit status 65 GS v0 Print raster bit image 66 GS w Set bar code width 67 BSM Select device font type 68 BSV cut mode and executes a partial full 69 IBS P Set power saving mode Rev 1 00 Metapace T 3 Metapace T 3 2 1 Command Description Items Function Command function outline Code Command format expressed in ASCII hexade
41. e executed e Performing Function 080 Performing ESC e Performing the printer reset and power off E The setting values of Functions 065 to 070 are utilized for the processing of Function 080 or 082 The printable area must be large enough to accommodate different size symbols If not the symbol may not be printed E The same symbol data is repeatedly printed by executing Function 081 after performing Function 080 m The same symbol data is printed differently by executing Function 081 after setting the feature of the symbol by using Functions 065 through 070 E By using Function 082 the symbol size printed by Function 081 is Available QRCODE Symbol Data cn 49 m The symbol data is defined stored to the symbol storage area by Function 180 and printed by the specification of Function 181 The symbol data in the area remains reserved until the following processes are executed e Performing Function 180 Performing ESC e Performing the printer reset and power off 84 Differences Rev 1 00 Metapace T 3 E The setting values of Functions 165 to 169 are utilized for the processing of Function 180 or 182 The printable area must be large enough to accommodate different size symbols If not the symbol may not be printed E The same symbol data is repeatedly printed by executing Function 181 after performing Function 180 E The same symbol data is printed differently by executing Function 181 after setting the feature of the symbol by
42. fective until ESC printer reset or power cycling is executed Differences Unit of one dot 0 141mm 1 180 inch Rev 1 00 121 Metapace T 3 Function Print bar code Code ASCII GS k m d1 dk NUL Hex 1D 6B m d1 dk NUL Decimal 29 107 m d1 dk NUL ASCII GS k m n d1 dn Hex 1D 6B m n d1 dn Decimal 29 107 m n d1 dn Range MOsms6 65 lt sm lt 73 K m n depend on the barcode system Default None Description E This command selects a bar code system and prints the bar code e k indicates the number of bytes of bar code data e n specifies the number of bytes of bar code data e d specifies the character code data of the bar code data to be printed For range m Bar Code System Range of k Range of d 0 UPC A 11 lt k lt 12 48 lt d lt 57 1 UPC E 11 lt k lt 12 48 lt d lt 57 2 JAN13 EAN 12 lt k lt 13 48 lt d lt 57 3 JAN8 EAN 7 lt k lt 8 48 lt d lt 57 48 lt d lt 57 65 lt d lt 90 CODES ra d 32 36 37 43 45 46 47 5 ITF 1 lt k even number 48 lt d lt 57 48 lt d lt 57 65 lt d lt 68 6 CODABAR 1sk d 36 43 45 46 47 58 Rev 1 00 122 Metapace T 3 For range m Bar Code System Range of k Range of d 65 UPC A 11 lt n lt 12 48 lt d lt 57 66 UPC E 11 lt n lt 12 48 lt d lt 57 67 JAN13 EAN 12 lt ns13 48 lt d lt 57 68 JAN8 EAN 7 lt ns lt 8 48 lt d lt 57 48 lt d
43. fined characters multi byte code characters such as Chinese Japanese and Korean E Double width and double height modes can be set by ESC E Multi byte code characters are specified only by this command E The setting of this command remains effective until ESC printer reset or power cycling is executed None 57 Metapace T 3 Function Set absolute vertical print position in page mode Code ASCII GS nL nH Hex 1D 24 nL nH Decimal 29 36 nL nH Range 0 lt nL nH x 256 lt 65535 0 lt nL lt 255 0 lt nH lt 255 Default None Description This command sets the absolute vertical print starting position to nL nH x 256 x vertical or horizontal motion unit Remarks E This command is activated only in page mode and ignored in standard mode E Either vertical or horizontal motion unit is used according to the print direction set by ESC T as follows e With the starting position of the upper left or lower right on the print area the vertical motion unit is used In other cases the horizontal motion unit is used E The configuration beyond the print area set by ESC W is ignored Differences None Rev 1 00 58 Metapace T 3 Function Execute test print Code ASCII GS A pL pH n Hex 1D 28 41 pL pH Decimal 29 40 65 pL pH n 3 3 3 Range pL pH x 256 2 pL 2 pH 0 Osns2 48sn lt s50 1 lt ms2 49 lt sms50 Default
44. fn cn Type of Symbol 48 PDF417 2 dimensional code 49 QR CODE 2 dimensional code cn fn Function 65 Function 065 PDF417 Specify the number of columns 66 Function 066 PDF417 Specify the number of rows 67 Function 067 PDF417 Specify the width of module 68 Function 068 PDF417 Specify the module height 69 Function 069 PDF417 Specify the error correction level 70 Function 070 PDF417 Specify the option 48 PDF417 Store the received data in the symbol 80 Function 080 storage area PDF417 Print the symbol data in the symbol 81 Function 081 storage area PDF417 Send the size information of the 82 Function 082 symbol data in the symbol storage area Rev 1 00 83 Remarks Rev 1 00 Metapace T 3 cn fn Function 65 Function 165 QR CODE Select the module 67 Function 167 QR CODE Select the size of module 69 Function 169 QR CODE Select the error correction level 80 Function 180 QR CODE Store the data in the symbol 49 storage area 81 Function 181 QR CODE A data in the symbol storage QR CODE Transmit the size information of the 82 Function 182 symbol data in the symbol storage area PDF417 symbol data when cn 48 m The symbol data is defined stored to the symbol storage area by Function 080 and printed by the specification of Function 081 The symbol data in the area remains reserved until the following processes ar
45. fn kc1 kc2 Hex 1D 28 4C pL pH m fn kc1 kc2 Decimal 29 40 76 pL pH m fn kc1 kc2 Range pL pH x 256 4 pL 4 pH 0 m 48 fn 66 32 lt kc1 lt 126 32 lt kc2 lt 126 Default None Description Deletes the NV graphics data defined by the codes kc1 and kc2 Remarks E The graphics data is define by Function 67 Differences None Rev 1 00 76 Metapace T 3 Code ASCII GS L pL pH m fn kc1 kc2 b xL XH yL yH cd1 dk 1 c d1 dk b Hex 1D 28 4C pL pH m fn kc1 kc2 b xL XH yL yH cd1 dk 1 c d1 dk b Decimal 29 40 76 pL pH m fn kc1 kc2 b xL XH yL yH cd1 dk 1 c d1 dk b Range GS L parameter 3 lt pL pL x 256 lt 65535 OSpLs255 OS pH lt 255 GS 8 parameter 3 lt p1 p2 x 256 p3 x 65535 p4 x 16777216 lt 4294967295 0 lt p1L lt 255 O lt p2 lt 255 O lt p3 lt 255 0 lt p4 lt 255 Common parameter m 48 fn 67 a 48 32 lt kc1 lt 126 32 lt kc2 lt 126 b 1 2 1 lt xL xH x 256 lt 8192 1 lt yL yH x 256 lt 2304 c 49 When The monochrome paper is selected c 50 When The two color paper is selected 0 lt d lt 255 k int xL xH x 256 7 8 x yL yHx 256 Default None Rev 1 00 77 Metapace T 3 Description m The following parameters are used to define the raster graphics data b specifies the number of colors for the defined data xL and xH specify the number of dots in ho
46. g m Except for character size and upside down printing mode none of print mode such as emphasized double strike etc affects the printing of the downloaded bit image m The default dot density set by GS L is applied to printing of the downloaded bit image Rev 1 00 106 Differences Rev 1 00 Metapace T 3 DPI Dots per Inch 25 4mm m Mode Vertical dot density DPI Horizontal dot density DPI 0 48 Normal 180 180 1 49 Double width 180 90 2 50 Double height 90 180 3 51 Quadruple 90 90 107 Metapace T 3 Function Start end macro definition Code ASCII GS Hex 1D 3A Decimal 29 58 Range None Default None Description E This command starts or ends macro definition Remarks E The printer starts macro definition during normal operation and finishes it during macro definition upon receiving this command E The printer performs printing during macro definition m The macro is executed by GS E The maximum number of macro data to be defined varies with respect to printer models The data exceeding this limit is not stored m ESC does not clear the existing defined macro The macro remains effective until the printer reset and power cycling are executed Differences None Rev 1 00 108 Metapace T 3 Function Turns white black reverse printing mode on off Code ASCII GS B n Hex 1D 42 Decimal 29 66 n
47. ge mode n Print Direction Starting Position 0 48 Left right Upper left 1 49 Bottom to top Lower left 2 50 Right left Lower right 3 51 Top bottom Upper right Remarks E The print direction set by this command id not effective in standard mode E f this command is processed in standard mode the setting by this command is effective when the printer changes to page mode m Depending on the print starting position set by this command the horizontal motion unit or vertical motion unit is used for the following commands e When the starting position is the upper left or lower right of the print area ESC SP ESC ESC use the horizontal motion unit and ESC 3 ESC J GS the vertical motion unit e When the starting position is the upper right or lower left of the print area ESC SP ESC ESC use the vertical motion unit and ESC 3 ESC J GS the horizontal motion unit E The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Differences None Rev 1 00 38 Metapace T 3 Function Turn 90 clockwise rotation mode on off Code ASCII ESC V n Hex 1B 56 Decimal 27 86 n Range Osns2 48 lt n lt 50 Default n 0 Description W This command turns 90 clockwise rotation mode on off in standard mode according to the value of n as following When the value of n is equal to 0 or 48 90 clockwise rotation mode is turned off e When the value
48. h of the printer not equipped with autocutter is set the printer does not operate displaying the error signal by LED Rev 1 00 45 Metapace T 3 Function Partial cut Code ASCII ESC m Hex 1B 6D Decimal 27 109 Range None Default None Description This command executes a partial cut of the paper with one point left uncut Remarks m The same partial cut as this command is executed using ESC i and GS V Differences E This command is effective for the printer equipped with an autocutter E Autocutter operation should be enabled by setting the autocutter control DIP switch E f the autocutter control DIP switch of the printer not equipped with autocutter is set the printer does not operate displaying the error signal by LED Rev 1 00 46 Metapace T 3 Function Generate pulse Code ASCII ESC p m ti t2 Hex 1B 70 m t1 t2 Decimal 27 112 m t1 t2 Range m 0 1 48 49 O lt t1 lt 255 0 lt t2 lt 255 Default None Description This command outputs the signals specified with t1 and t2 to the connector pins defined by m m Connector pin 0 48 Drawer kick out connector pin 2 1 49 Drawer kick out connector pin 5 Remarks E The ON time is t1 x 2ms and the OFF time is as t2 x 2ms If t2 is smaller than t1 OFF time is set to t1 x 2ms Differences None Rev 1 00 47 Metapace T 3 Function Select character code table
49. il ESC ESC printer reset or power cycling is executed None 49 Metapace T 3 Function Transmit paper sensor status Code ASCII ESC V Hex 1B 76 Decimal 27 118 Range None Default None Description m This command transmits a byte of data specifying the paper sensor status E The status of paper near end and paper end sensors is sent to the host as follows e When paper near end is detected 0x03 is transmitted e When paper end is detected OxC is transmitted Remarks E The paper sensor status can be transmitted using GS r E The near end senor is optional while paper end sensor required E If the printer is not equipped with a near end sensor the paper near end sensor is considered as normal condition Differences None Rev 1 00 50 Metapace T 3 Function Code Range Default Description Remarks Differences Rev 1 00 Turns upside down printing mode on off ASCII ESC n Hex 1B 7B Decimal 27 123 n 0 lt n lt 255 n 0 This command selects deselects upside down printing mode according to the least significant bit as follows LSB Upside down mode 0 Turned off 1 Turned on E This command is valid only when entered at the beginning of the line m The upside down print mode has no effect in page mode If this command is processed in page mode upside down printing mode is enabled when the printer retu
50. in E The setting of this command remains effective until ESC printer reset or power cycling is executed Printable area Left margin Printing area width Differences None Rev 1 00 115 Metapace T 3 Function Execute macro Code ASCII GS A r t m Hex 1D 5E r t m Decimal 29 94 r t m Range O lt r lt 255 0 lt t lt 255 m O 1 Default None Description W This command executes a macro using parameters as following r specifies the number of times to execute the macro e t specifies the waiting time before the macro is executed m specifies macro executing mode as shown below m Function 0 Executes the macro r times continuously at the interval specified by t 1 The printer waits for the paper FEED button to be pressed for the time specified by t The macro is executed once when the button is pressed This operation is repeated r times Remarks m The macro is defined by GS E f the macro is not defined or r 0 the command is ignored m The macro function is useful to print the same data repeatedly Differences None Rev 1 00 116 Metapace T 3 Function Enable Disable Automatic Status Back ASB Code ASCII GS a n Hex 1D 61 Decimal 29 97 n Range 0 lt n lt 255 Default n 0 Description W This enables or disables ASB Automatic Status Back according to n ASB is enabled when n gt 0 Remarks E ASB i
51. in the symbol data d1 dk since this information is automatically added by the printer e Start pattern and stop pattern e Indicator codeword of left and right The descriptor of symbol length the first code word in the data area e The error correction codeword calculated by modulus 929 E The setting of this command remains effective until the following processing is performed e Executing Function 080 Executing ESC e Executing printer reset or power off None 92 Metapace T 3 Code ASCII GS k pL pH cn fn m Hex 1D 28 6B 03 00 30 51 m Decimal 29 40 107 3 0 48 81 m Range pL pH x 256 3 pL 3 pH 0 cn 48 fn 81 m 48 Default None Description This command encodes and prints the PDF417 symbol data in the symbol save area Remarks E In standard mode this command is available only when printer is at the beginning of a line or the printer buffer is empty E A symbol exceeding the printing area in size can not be printed E Printing operation is not processed under the following conditions There is no data Function 080 is not processed If number of columns x number of rows lt number of code word when automatic processing is specified for number of columns and number of rows e Number of code word exceeds 928 in the data area E The following data is added automatically by the encode processing e Start pattern and stop pattern e Indicator code word of left
52. is transmitted in the ascending order and ends with a NUL code m ESC D NUL cancels all horizontal tab positions E Tab position is set at the value of character width x n from the beginning of the line E The character width includes the space to the right of the character and it will be twice the normal character when the double width characters are selected E If the data n k is equal to or smaller than the preceding data n k 1 the horizontal tab setting has been completed E Up to 32 horizontal tabs can be set the data exceeding this limit is processed as normal ones E Even if the character width is changed after setting the horizontal tab positions the horizontal tab positions remain unchanged Differences None Rev 1 00 30 Metapace T 3 Function Turn emphasized mode on off Code ASCII ESC E n Hex 1B 45 Decimal 27 69 n 5 Range 0 lt n lt 255 Default n 0 Description m This command turns emphasized mode on or off by toggling the least significant bit of n like following e When the LSB of n is 0 emphasized mode is turned off e When the LSB of n is 1 emphasized mode is turned on Remarks E The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Differences None Rev 1 00 31 Metapace T 3 Function Turn double strike mode on off Code ASCII ESC G n Hex 1B 47 n Decimal 27 71 n Ra
53. l data collected in the printer buffer In page mode After completion of printing the printer is returned to standard mode if the printer receive next data then the printer buffer is evacuated Remarks E The printer is returned to standard mode after completion of printing E After being printed all of the existing data in the printer buffer is not evacuated and the print position changes to the beginning of the line E This command works in page mode enabled by ESC L E This command is only effective in standard mode E If the paper is positioned at the print starting position this command is ignored not performing actual paper feeding operation Differences None Rev 1 00 9 Metapace T 3 Function Print and carriage return Code ASCII CR Hex oD Decimal 13 Range None Default None Description This command prints the data With auto line feed enabled it performs printing and one line feeding same as LF Remarks E Auto line feed is only enabled using the memory switch m Auto line feed is turned on by setting dip switch 1 1 Differences None Rev 1 00 10 Metapace T 3 Function Cancel the print data in page mode Code ASCII CAN Hex 18 Decimal 24 Range None Default None Description This command clears the receive buffer and print buffers in page mode Remarks E This command is effective only in page mode that is set by ESC L Differences None Rev 1 00 1
54. le for encoding of QR code Character Type Usable Characters Numeric Data 0 9 Alphanumeric Data 0 9 A Z SP n h Kanji Data Shift JIS value 8bit Byte Data 00H FFH E The setting of this command remains effective until the following processing is performed e Performing Function 180 Performing ESC e Performing the printer reset or power off Differences None Rev 1 00 100 Metapace T 3 Code ASCII GS k pL pH cn fn m Hex 1D 28 6B 03 00 31 51 m Decimal 29 40 107 3 0 49 81 m Range pL pH x 256 3 pL 3 pH 0 cn 49 fn 81 m 48 Default None Description This command encodes and prints QR Code symbol data saved in the symbol storage area Remarks E In standard mode this command is available only when printer is at the beginning of a line or the printer buffer is empty E A symbol exceeding the printing area in size can not be printed E Printing operation is not processed under the following conditions e There is no data Function 180 is not executed If number of columns x number of rows lt number of code words the numbers of columns and rows are automatically processed e The four types of data compression modes are listed below According to the symbol data in the data storage area automatically selects the best suitable compression mode Numeric Data Code Alphanumeric D
55. llowing m Connector pin 0 Drawer kick out connector pin 2 1 Drawer kick out connector pin 5 E This command generates the drive pulse to connector pin m with pulse width defined by t as following e Drawer kick out connector pin 2 is selected with m 0 while pin 5 chosen for m 1 e Pulse ON time is t x100 ms and OFF time t x100 ms Remarks m Upon receiving this command the printer outputs the drive pulse to the specified connector pin E The real time command is stored into the receive buffer and executed with higher priority than other commands Differences None Rev 1 00 15 Metapace T 3 Function Print data in page mode Code ASCII ESC FF Hex 1B OC Decimal 27 12 Range None Default None Description This command prints the data in the print buffer collectively in page mode Remarks E This command is effective only in page mode that is selectd by ESC L E After printing the data in the print buffer and setting values are not cleared E The printer can print the data in the print buffer repeatedly using this command E The printer returns to standard mode by ESC S or ESC Differences None Rev 1 00 16 Metapace T 3 Function Set the character right space Code ASCII ESC SP n Hex 1B 20 Decimal 27 32 n Range 0 lt n lt 255 Default n 0 Description m This command sets the size of space to right of character
56. m 65 66 0 lt ns 255 Default None Description This command cuts paper in the specified mode as follows m Function 0 48 49 Executes a partial cut one point left uncut 65 Feeds paper to cutting position n x vertical motion unit and executes a partial cut one point left uncut Remarks For E f an auto cutter is not provided this command is ignored command is executed For E When n 0 the printer feeds the paper to the cutting position and cuts it E f an auto cutter is not provided the printer only feeds the paper for specified amount E Vertical motion unit is used for calculating a paper feed amount E Cutting mode is changed only by setting MSW5 1 Differences None Rev 1 00 114 Metapace T 3 Function Set printing area width Code ASCII GS W nL nH Hex 1D 57 nL nH Decimal 29 87 nL nH Range 0 lt nL lt 255 0 lt nH lt 255 Default nL nH x 256 512 nL 0 nH 2 When 80mm width of paper used Description This command sets the printing area width to nL nH x 256 x horizontal motion units Remarks E The printing area width is not effective in page mode If the printing area width is enabled in page mode the setting is available when the printer returns to standard mode E When left margin printing area width exceeds the printable area the printing area width is automatically set to printing area width left marg
57. mand starts the user setting mode enabling the printer to notify that the mode has changed as follows Mode change feedback Hexadecimal Decimal Number of Data Header 37H 55 1 byte Flag 20H 32 1 byte NUL OOH 0 1 byte m This command is effective only in standard mode not in page mode m Upon entering the user mode setting mode by this command the printer transmits mode change feedback to the host m The user setting mode should be enabled prior to processing lt Function 2 gt through 12 Otherwise those functions are ignored m After confirming mode change feedback it is recommended to send the command to reconfigure the NV user memory None 61 Metapace T 3 Code ASCII GS E pL pH fn d1 d2 d3 Hex 1D 28 45 pL pH fn d1 d2 d3 Decimal 29 40 69 pL pH fn d1 d2 d3 Range pL pH x256 1 pL 1 pH 0 fn 2 d1 79 d2 85 d3 84 Default None Description This command terminates the user setting mode and performs a software reset Remarks E This command activates setting items set in the user setting mode E All the setting items will be effective only after performing this command m After executing a software reset the printer resumes the setting in effect at power on Differences None Rev 1 00 62 Metapace T 3 Code Range Default Description Rev 1 00 ASCII GS E pL fn a1 b18 b11 ak
58. mmand switches from standard mode to page mode Remarks E For printing in page mode ESC T defines the print direction and starting position that is within the print area specified by ESC W The conditions by the following commands are defined independently in standard mode and page mode e ESC SP ESC 2 and ESC 3 E The following commands are not activated in page mode e ESC L FS q GS A GS E GS T E The following commands are not effective in page mode The conditions set by these commands in page mode are available when the printer returns to standard mode e ESC V ESC a ESC GS L and GS W E The printer resumes standard mode by the use of ESC S FF and ESC E In page mode the command FF prompts printing the data in the printer buffer collectively LF CR ESC J and ESC d just move the print position not performing actual printing Differences None Rev 1 00 34 Metapace T 3 Function Select character font Code ASCII ESC M n Hex 1B 4D Decimal 27 77 n Range n 0 1 48 49 Default n 0 Description This command selects only byte character fonts using n as following n Function 0 48 Character font A selected 1 49 Character font B selected Remarks E The printer model has it own configuration of Font A and B E The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Differences None Rev
59. n page mode If this command is processed in page mode the setting by this command becomes effective when the printer returns to standard mode E The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Differences None Rev 1 00 43 Metapace T 3 Function Print and feed n lines Code ASCII ESC d n Hex 1B 64 Decimal 27 100 n Range O lt sns255 Default None Description This command feeds the paper by n lines after printing the data in the print buffer Remarks E The per line paper feed amount is based on the value set by the line spacing related commands ESC 2 and ESC 3 E In page mode this command moves only the print position not performing actual print E f the feed amount set is beyond the maximum feed amount the feed amount will be set to the maximum feed amount automatically Differences None Rev 1 00 44 Metapace T 3 Function Partial cut Code ASCII ESC i Hex 1B 69 Decimal 27 105 Range None Default None Description This command executes a partial cut of the paper with one point left uncut Remarks m The same partial cut as this command is executed using ESC m and GS V Differences E This command is effective for the printer equipped with an autocutter E Autocutter operation should be enabled by setting the autocutter control DIP switch E f the autocutter control DIP switc
60. nH Decimal 27 36 nL nH Range 0 lt nL nH x 256 lt 65535 0 lt nH lt 255 0 lt nL lt 255 Default None Description This command specifies the next print starting position in reference to the left edge of the print area The printing start position is calculated using nL nH x 256 x vertical or horizontal motion units Remarks E Any setting values that go beyond the printable area is ignored E In standard mode the horizontal motion unit is used for the calculation E In page mode the horizontal motion unit is applied when printing start poison is defined to the upper right or lower right of print area using ESC T otherwise the vertical motion unit is used Differences Horizontal motion unit 0 141mm 1 180 inch Rev 1 00 19 Metapace T 3 Function Select cancel user defined character set Code ASCII ESC n Hex 1B 25 Decimal 27 37 n 5 Range 0 lt n lt 255 Default n 0 Description W This command selects deselects user defined character set that is downloaded by user To make it valid the least significant bit should be defined like following e When n 0 the user defined character set is deselected e When n 1 the user defined character set is selected Remarks E The resident character set is enabled and used right after canceling the user defined character set Differences None Rev 1 00 20 Metapace T 3 Function
61. nd remains effective until ESC ESC printer reset or power cycling is executed Differences None Rev 1 00 130 Metapace T 3 Function Select cut mode and cut paper Code ASCII BS V Hex 08 56 Decimal 08 86 3 3 3 3 3 3 ASCII BS V n Hex 08 56 n Decimal 08 86 n Range m 0 1 48 49 m 65 66 0 lt n lt 255 Default None Description This command cuts paper in the specified mode as follows Remarks For E f an auto cutter is not provided this command is ignored command is executed For m When n 0 the mechanism feeds the paper to the cutting position and cuts it E f an auto cutter is not provided the mechanism only feeds the paper for specified amount Rev 1 00 131 Differences Rev 1 00 Metapace T 3 E Vertical motion unit is used for calculating a paper feed amount m Function D 0 48 Executes a full cut cuts the paper completely 1 49 Executes a partial cut one point left uncut 65 Feeds paper to cutting position n x vertical motion unit and executes a full cut cuts the paper completely 66 Feeds paper to cutting position n x vertical motion unit and executes a partial cut one point left uncut E Cutting mode is changed only by setting dip switch 2 1 None 132 Metapace T 3 Function Set power saving mode Code ASCII BS A P fn Hex 08 5E 50 fn Decimal 08 94 84 fn
62. nd remains effective until ESC printer reset or power cycling is executed Differences None Rev 1 00 90 Metapace T 3 Code ASCII GS k pL pH cn fn m Hex 1D 28 6B 03 00 30 46 m Decimal 29 40 107 3 0 48 70 m Range pL pH x 256 3 pL 3 pH 0 cn 48 fn 70 m 0 1 Default m 0 Description This command selects the option for PDF417 m Function 0 Select the standard PDF417 1 Select the simplified PDF417 Remarks E Settings of this function affect the processing of Functions 081 and 082 E When simplified PDF417 symbol is canceled standard PDF417 symbol is automatically selected E The setting of this command remains effective until ESC printer reset or power cycling is executed Differences None Rev 1 00 91 Metapace T 3 Code Range Default Description Remarks Differences Rev 1 00 ASCII GS k pL pH cn fn m d1 dk Hex 1D 28 6B pL pH 30 50 30 d1 dk Decimal 29 40 107 pL pH 48 80 48 d1 dk 4 lt pL pH x 256 lt 65535 0 lt pL lt 255 0 lt pH lt 255 cn 48 fn 80 m 48 0 lt d lt 255 k pL pH x 256 3 None This command stores the PDF417 symbol data d1 dk in the symbol storage area E The data stored in the symbol storage area by this command remains reserved after processing Function 081 or 082 E The following data should not be included
63. ng e Horizontal starting position xL xH x 256 x horizontal motion units e Vertical starting position yL yH x 256 x vertical motion units e Horizontal printing area width dxL dxH x 256 x horizontal motion units e Vertical printing area width dyL dyH x 256 x vertical motion units 40 Remarks Differences Rev 1 00 Metapace T 3 E The horizontal and vertical starting positions are out of the printable area this command is canceled and the following data is processed as normal data E If Horizontal starting position Horizontal printing area width is beyond the printable area the Horizontal printing area width is set to Horizontal printing area Horizontal starting position E If Vertical starting position Vertical printing area width is beyond the printable area the Vertical printing area width is set to Vertical printing area Vertical starting position E This command is not effective in standard mode If this command is processed in standard mode the setting by this command is effective when the printer returns to page mode E The setting of this command remains effective until ESC ESC printer reset or power cycling is executed The maximum printable area Max horizontal printable area Max vertical printable area Max horizontal printable area Max vertical printable area 72 2mm 512dots 234 3mm 1662dots 41 Metapace T 3 F
64. nge O lt sns255 Default n 0 Description W This command turns double strike mode on or off by toggling the least significant bit of n like following e When the LSB of n is 0 emphasized mode is turned off e When the LSB of n is 1 emphasized mode is turned on Remarks E The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Differences None Rev 1 00 32 Metapace T 3 Function Print and feed paper Code ASCII ESC J n Hex 1B 4A n Decimal 27 74 n Range 0 lt n lt 255 Default None Description This command prints the data in the print buffer and feeds the paper n X vertical motion unit Remarks m The maximum feed amount available varies depending on the printer model E With standard mode selected the vertical motion unit is used E In page mode the horizontal motion unit is applied when printing start poison is defined to the upper right or lower right of print area using ESC T otherwise the vertical motion unit is used E When used in page mode this command moves only the print position not executing actual printing Differences Vertical motion unit and maximum feed amount Vertical unit Max feed amount 0 0705mm 1 360 inch 17 98mm Rev 1 00 33 Metapace T 3 Function Select page mode Code ASCII ESC L Hex 1B 4C Decimal 27 76 Range None Default None Description This co
65. nted E The user defined characters for each font can be deleted independently Differences None Rev 1 00 28 Metapace T 3 Function Initialize printer Code ASCII ESC Hex 1B 40 Decimal 27 64 Range None Default None Description This command cancels conditions previously set and initializes the printer to the conditions having existed at power on Remarks E The data in the printer buffer is cleared E The settings of DIP switch are not re read E The data in the receive buffer is not discarded E All of the settings such as print mode and line feed are cleared E NV graphics and NV user memory are not cleared E In page mode this command removes the data in print areas restores the initial settings and returns to standard mode Differences None Rev 1 00 29 Metapace T 3 Function Set horizontal tab position Code ASCII ESC D n1 nk NUL Hex 1B 44 n1 nk 00 Decimal 27 68 n1 nk 0 Range 1 lt ns255 0sks32 Default n 8 16 24 32 40 232 240 248 Description E This command sets the horizontal tab position e n defines the number of columns from the beginning of the line to the horizontal tab setting k denotes the number of horizontal tab positions to be set e The horizontal tab position is stored as a value of character width x n measured form the beginning of the line Remarks E The data n k signifying the set position
66. ode by specifying the function code fn fn Format No Function 1 GS E pL pH fn d1 d2 1 Start the user setting mode 2 GS E pL pH fn d1 d2 d3 2 End the user setting mode Performs a soft reset GS E pL pH fn a1 b18 b11 3 ak bk8 bk1 3 Set value s for the memory switch 4 GS E pL pH fna 4 Transmit the settings of the memory switch to the host E pL pH is used to set the number of bytes following pH to pL pH x 256 m The change in the items of the NV user memory is available only after entering the user setting mode m After completing the user setting mode Function 2 the printer performs software reset to restore the initial settings in effect at power on Receive and print buffers are cleared as well E Since frequent write operation by this command may deteriorate the performance of the NV memory it is recommended to write to NV memory when the significant change in the setting is required m While processing this command the printer remains busy Therefore the data transmission by the host is not available The real time commands and LSB operations are not processed None 60 Metapace T 3 Code Range Default Description Remarks Differences Rev 1 00 ASCII GS E pL pH fn d1 d2 Hex 1D 28 45 pL pH fn d1 d2 Decimal 29 40 69 pL pH fn d1 d2 pL pH x 256 1 pL 1 pH 0 fn 1 d1 73 d2 78 None This com
67. of n is equal to 1 2 48 or 50 90 clockwise rotation mode is turned on Remarks E In underline mode the underline printing for 90 clockwise rotated characters does not work and the relationship between vertical and horizontal directions is reversed m The 90 clockwise rotation mode is not effective in page mode E f set in page mode the 90 clockwise rotation mode has effect after the printer returns to standard mode E The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Differences None Rev 1 00 39 Metapace T 3 Function Code Range Default Description Rev 1 00 Set print area in page mode ASCII ESC W xL XH yL yH dxL dxH dyL dyH Hex 1B 57 xL xH yL yH dxL dxH dyL dyH Decimal 27 87 xL xH yL yH dxL dxH dyL dyH 0 lt xL xH x 256 lt 65535 0 lt xL lt 255 0 lt xH lt 255 0 lt yL yH x 256 lt 65535 0 lt yL lt 255 0 lt yH lt 255 1 lt dxL dxH x 256 lt 65535 0 lt dxL lt 255 0 lt dxH lt 255 1 lt dyL dyH x 256 lt 65535 0 lt dyL lt 255 0 lt dyH lt 255 When a paper width of 80mm 3 15 is selected xL xH x 256 0 xL 0 xH 0 yL yH x 256 0 yL 0 yH 0 dxL dxH x 256 512 dxL 0 dxH 2 dyL dyH x 256 1662 dyL 126 dyH 6 E This command set the position and the size of the printing area in page mode as followi
68. rizontal direction to xL xH x 256 yL and yH specify the number of dots in horizontal direction to yL yH x 256 dots e c specifies the color of the defined data c Defined data color 49 Color 1 50 Color 2 STP 103ll is can not use two color printing mode Remarks E Color 1 means black and Color 2 red that is available for 2 color paper E f new NV graphics data is saved or the existing data is modified all of the existing data in NV graphics memory are flushed and updated using this command The rest of NV graphics data groups having no change should be redefined along with the new group stored E When NV graphics data groups are saved each of the groups is allocated with N in the order of download Differences None Rev 1 00 78 Metapace T 3 Code ASCII GS L pL pH m fn kc1 kc2 X y Hex 1D 28 4C pL pH m fn kc1 kc2 X y Decimal 29 40 76 pL pH m fn kc1 kc2 X y Range pL pH x 256 6 pL 6 pH 0 m 48 fn 69 32 lt kc1 lt 126 32 lt kc2 lt 126 x 1 2 y 1 2 Default None Description m Prints the NV graphics data defined by the codes kc1 and kc2 e The graphics data is enlarged by x and y in the horizontal and vertical directions Remarks E This command prints the NV graphics data defined by Function 67 E In page mode this command is not effective m NV graphics data beyond the print area for one line is not printed
69. rns to standard mode m 180 rotated characters are printed from right to left in upside down print mode E The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Example Normal ABCDEF Upside down Mode ASa00E8Vv None 51 Metapace T 3 Function Print NV bit image Code ASCII FS p n m Hex 1C 70 n m Decimal 28 112 n m Range 1 lt n lt 255 Osms3 48sm lt s51 Default None Description This command prints NV bit image n using the mode specified by m as follows m Mode 0 48 Normal 1 49 Double width 2 50 Double height 3 51 Quadruple Remarks m GS Land GS 8 can be used for printing NV bit image E The NV bit image is defined by FS q E n is assigned to each NV bit image to be stored in download order by FS q E This command has no effect with NV bit image not defined in advance E In page mode the NV bit image is saved without being printed E The printer does not print the NV bit image that is beyond one line of print area E When using unidirectional print mode there will be no vertical misali gnment between the top and bottom parts of the printed pattern Rev 1 00 52 Metapace T 3 Differences DPI Dots per Inch 25 4mm Mode Vertical Dot Density DPI Horizontal Dot Density DPI Normal 180 180 Double width 180 90 Double height 90 180 Quadruple 90 90
70. rved e Printer generate pulse to internal buzzer automatically for cutting command ESC i and GS V e Printer generate pulse to internal buzzer automatically with cash drawer pulse by the setting None None 66 Metapace T 3 Code ASCII GS E pL pH fn a Hex 1D 28 45 02 00 04 a Decimal 29 40 69 2 0 4 a Range pL pH x 256 2 pL 2 pH 0 fn 4 a 1 2 3 4 5 6 11 12 Default None Description This command transmits the setting value of the memory switch corresponding to a Hexadecimal Decimal Amount of Data Header 37H 55 1 byte Identifier 21H 33 1 byte Setting value 30H or 31H 48 or 49 8 bytes NUL OOH 0 1 byte E The setting value is sent from bit 8 to bit 1 consisting of 8 bytes in total Off Hexadecimal 30H Decimal 48 e On Hexadecimal 31H Decimal 49 Remarks None Differences None Rev 1 00 67 Metapace T 3 Function Code Range Default Description Rev 1 00 Select graphics data ASCII GS L pL pH m fn parameter Hex 1D 28 4C pL pH m fn parameter Decimal 29 40 76 pL pH m fn parameter ASCII GS 8 L p1 p2 p3 p4 m fn parameter Hex 1D 38 4C p1 p2 p3 p4 m fn parameter Decimal 29 56 76 p1 p2 p3 p4 m fn parameter None None This command processes graphics data according to the function code
71. s on underline mode set at 1 dot thick 2 50 Turns on underline mode set at 2 dot thick Remarks E The spaces generated by horizontal tab are not underlined E Using bit 7 of ESC the underline mode can be activated deactivated as well Differences None Rev 1 00 24 Metapace T 3 Function Select default line spacing Code ASCII ESC 2 Hex 1B 32 Decimal 27 50 Range None Default None Description This command sets the default line spacing The default line spacing is approximately 3 75 mm which is equivalent to 30 dots Remarks E The line spacing can be set independently in standard mode and in page mode E The setting of this command remains effective until ESC ESC printer reset or power cycling is executed Differences Default line spacing 4 23 mm 30 dots Rev 1 00 25 Metapace T 3 Function Set line spacing Code ASCII ESC 3 n Hex 1B 33 n Decimal 27 51 n Range 0 lt n lt 255 Default Corresponding to the default line spacing defined by ESC 2 Description W This command sets the line spacing using a following rule e Line spacing n x vertical or horizontal motion units Remarks E With standard mode selected the vertical motion unit is used E In page mode the horizontal motion unit is applied when printing start poison is defined to the upper right or lower right of print area using ESC T otherwise the verti
72. s the function that transmit the printer status such as cover open close and Online Offline continuously at the time interval specified regardless of the status change if ASB is enabled Using this ASB function the host can check to see if the printer is running properly m Once ASB has been enabled the printer continues to transmit the current printer status at the specified interval until ASB is disabled m When n 0 ASB is disabled The printer stops transmitting the status E With parallel and USB interface the printer status is transmitted whenever the host computer changes to the reverse mode regardless of the printer status change It is recommended that the periodic time interval at which the host changes to reverse mode is more than 500ms in order to receive the correct status m With serial interface ASB status is transmitted continuously at the interval of 1 sec even if the status is not changed E The setting of this command remains effective until ESC printer reset or power cycling is executed Rev 1 00 117 E The printer information transmitted is comprised of 4 bytes as follows e First byte printer information Metapace T 3 Bit Off On Hex Decimal Function 0 Off 00 0 Not used Fixed to Off 1 Off 00 0 Not used Fixed to Off 2 Off 00 0 Drawer kick out connector pin 3 is LOW On 04 4 Drawer kick out connector pin 3 is H
73. t used Fixed to Off 6 Off 00 0 Not used Fixed to Off 7 Off 00 0 Not used Fixed to Off e Fourth byte paper sensor information Bit Off On Hex Decimal Function 0 On 01 1 Not used Fixed to On 1 On 02 2 Not used Fixed to On 2 On 04 4 Not used Fixed to On 3 On 08 8 Not used Fixed to On 4 Off 00 0 Not used Fixed to Off 5 Off 00 0 Not used Fixed to Off 6 Off 00 0 Not used Fixed to Off 7 Off 00 0 Not used Fixed to Off Differences None Rev 1 00 119 Metapace T 3 Function Select font for HRI characters Code ASCII GS f n Hex 1D 66 Decimal 29 102 n Range n 0 1 48 49 Default n 0 Description This command selects a font for the HRI Human Readable Interpretation characters used when printing a bar code using n as follows n Font 0 48 FontA 1 49 Font B Remarks E The setting of this command is applied to only HRI characters E The printing position of HRI characters are specified by GS H E The configurations of Font A and B vary depending on the printer model Differences None Rev 1 00 120 Metapace T 3 Function Selects bar code height Code ASCII GS h n Hex 1D 68 n Decimal 29 104 n Range 1 lt n lt 255 Default n 162 Description This command sets the height of the bar code to n dots Remarks E The unit of n depends on the printer model E The setting of this command remains ef
74. the number of the graphics data e c specifies the color of the defined data c Defined data color 49 Color 1 50 Color 2 e Color 1 means black and Color 2 red or blue that is available for 2 color paper E The graphics data is stored in the printer buffer directly E NV graphics data beyond the print area for one line is not printed E Real time command is not effective during processing of this command None 81 Metapace T 3 Function Select character color Code ASCII GS N pL pH n m Hex 1D 28 4E pL pH n m Decimal 29 40 78 pL pH n m Range pL pH x 256 2 pL 2 pH 0 n 48 m 49 when the monochrome paper is selected m 49 50 when the two color paper is selected Default m 49 Description m This command selects the color specified by m m Color 49 Color 1 50 Color 2 e Color 1 means black and Color 2 red Remarks E In white black reverse mode the characters are regarded as nonprinting dots and the background is printed in the color specified by this command E In underline mode the underline is printed in the color defined by this command Differences None Rev 1 00 82 Metapace T 3 Function Specify and print the symbol Code None Range None Default None Description E This command processes the data concerning two dimensional code e Symbol type is specified by cn e Function code is specified by
75. unction Set relative print position Code ASCII ESC A nL nH Hex 1B 5C nL nH Decimal 27 92 nL nH Range 0 lt nL nH x 256 lt 65535 0 lt nL 255 0 lt nH lt 255 Default None Description E This command sets the print starting position based on the current position to nL nH x 256 x horizontal or vertical motion unit The print starting position is moved to nL nH x 256 in the right direction based on the current position Remarks E The printer ignores any setting that exceeds the print area E When the print area has been exceeded this command is ignored E With standard mode selected the vertical motion unit is used E In page mode the horizontal motion unit is applied when printing start poison is defined to the upper right or lower right of print area using ESC T otherwise the vertical motion unit is used E Even if the underline mode is turned on the space skipped by this command is not printed underlined Differences None Rev 1 00 42 Metapace T 3 Function Set position alignment Code ASCII ESC a n Hex 1B 61 n Decimal 27 97 n Range 0 lt n lt 2 48 lt n lt 50 Default n 0 Description This command specifies position alignment for all data in one line in standard mode using n as follows n Alignment 0 48 Left alignment 1 49 Center alignment 2 50 Right alignment Remarks m This command is not effective i
76. y code is transmitted dividing up to 40 The status if the continuous transmission data block is present is 41H The status if the continuous transmission data block is not present is 40H E After the Header NULL is transmitted the printer receives a response from the hosg then it performs the process defined by the response See the tables below When the status existence of the next data block is Hexadecimal 41H Decimal 65 Response ASCII Process performed Decimal ACK 6 Transmits the next data NAK 21 Transmits the previous data again CAN 24 Ends the process When the status for the last data block is Hexadecimal 40H Decimal 64 Response ASCII Decimal Process performed ACK 6 Ends the process NAK 21 Transmits the previous data again CAN 24 Cancels the process None 74 Metapace T 3 Code ASCII GS L pL pH m fn d1 d2 d3 Hex 1D 28 4C pL pH m fn d1 d2 d3 Decimal 29 40 76 pL pH m fn d1 d2 d3 Range pL pH x 256 5 pL 5 pH 0 fn 65 d1 67 d2 76 d3 82 Default None Description This command removes all defined NV graphics data Remarks WE The graphics data is define by Function 67 into the NV graphics memory with the sector dedicated for storing NV graphics data Differences None Rev 1 00 75 Metapace T 3 Code ASCII GS L pL pH m
Download Pdf Manuals
Related Search
Related Contents
PDF-Bedienungsanleitung R0K5211B4S000BE User Manual 安全にお使いいただく ために ノ告 ` - User Manual MOEN YB2824ORB Installation Guide 2. Utilisation du BioSwitch 人工呼吸器安全使用のための指針 第 2 版 BAVARD DÉCEMBRE 2004 - Sainte M8000VET /M9000VET Veterinary Monitor User`s Manual HB400 Operating Instructions Copyright © All rights reserved.
Failed to retrieve file