Download Print this page
Hide thumbs Also See for T-1:

Advertisement

Command Manual
Metapace T-1
Thermal Printer
Rev. 1.00

Advertisement

loading
Need help?

Need help?

Do you have a question about the T-1 and is the answer not in the manual?

Questions and answers

Summary of Contents for Metapace T-1

  • Page 1 Command Manual Metapace T-1 Thermal Printer Rev. 1.00...
  • Page 2 Metapace T-1 1. Control Commands List Control codes Hexadecimal codes Function <HT> Horizontal tab <LF> Print and line feed Print and return to standard mode in page <FF> mode <CR> Print and carriage return <CAN> Cancel print data in page mode <DLE><EOT>...
  • Page 3 Metapace T-1 Control codes Hexadecimal codes Function <FS> p n m 1C 70 n m Print NT bit image <FS> q n …. 1C 71 n … Define NV bit image <GS> ! n 1D 21 n Select character size Set absolute vertical print position in page <GS>...
  • Page 4 Metapace T-1 2. Control Commands Details 2-1 Command Notation [Name] The name of the command. [Format] The code sequence. ASCII Indicates the ASCII equivalents. Hex indicates the hexadecimal equivalents. Decimal indicates the decimal equivalents. [ ] k indicates the contents of the [ ] should be repeated k times.
  • Page 5 Metapace T-1 [Name] Cancel print data in page mode. [Format] ASCII Decimal [Description] In page mode, deletes all the print data in the current printable area. DLE EOT n [Name] Real-time status transmission. [Format] ASCII Decimal [Range] 1 ≤n ≤4...
  • Page 6 Metapace T-1 n = 3 : Error status Off/On Decimal Function Not used. Fixed to Off. Not used. Fixed to On. Undefined. No auto-cutter error. Auto-cutter error occurs. Not used. Fixed to On. No unrecoverable error. Unrecoverable error occurs. No auto-recoverable error.
  • Page 7 Metapace T-1 ESC SP n [Name] Set right-side character spacing. [Format] ASCII Decimal [Range] 0 ≤n ≤255 [Description] Sets the character spacing for the right side of the character to [n ×horizontal or vertical motion units]. ESC ! n [Name] Select print modes.
  • Page 8 Metapace T-1 ESC % n [Name] Select / Cancel user-defined character set. [Format] ASCII Decimal [Range] 0 ≤n ≤255 [Description] Selects or cancels the user-defined character set. When the LSB is 0, the user-defined character set is canceled. When the LSB is 1, the user-defined character set is selected.
  • Page 9 Metapace T-1 ESC - n [Name] Turn underline mode on / off. [Format] ASCII Decimal [Range] 0 ≤n ≤2, 48 ≤H ≤50 [Description] Turns underline mode on or off, based on the following values of n : Function 0, 48 Turns off underline mode.
  • Page 10: Ascii Esc J 1B 4A

    Metapace T-1 ESC @ [Name] Initialize printer. [Format] ASCII Decimal [Range] 32 ≤n ≤126 [Description] Clears the data in the print buffer and resets the printer mode to the mode that was in effect when the power was turned on.
  • Page 11 Metapace T-1 ESC L [Name] Select page mode. [Format] ASCII Decimal [Description] Switches from standard mode to page mode. ESC M n [Name] Select character font. [Format] ASCII Decimal [Range] n = 0, 1, 48, 49 [Description] Selects character fonts.
  • Page 12 Metapace T-1 ESC T n [Name] Select print direction in page mode. [Format] ASCII Decimal [Range] 0 ≤n ≤3 [Description] 48 ≤n ≤51 [Default] Selects the print direction and starting position in page mode. n specifies the print direction and starting position as follows : A→→→→...
  • Page 13 Metapace T-1 ESC \ n [Name] Set relative print position. [Format] ASCII Decimal [Range] 0 ≤nL ≤255 0 ≤nH ≤255 [Description] Set the print starting position based on the current position by using the horizontal or vertical motion unit. * This command sets the distance from the current position to [(nL + nH ×256) ×horizontal or vertical motion unit]...
  • Page 14 Metapace T-1 ESC c 4 n [Name] Select paper sensor(s) to stop printing. [Format] ASCII Decimal [Range] 0 ≤nL ≤255 [Description] Selects the paper sensor(s) used to stop printing when a paper-end is detected, using n as follows : Off/On...
  • Page 15 Metapace T-1 ESC t n [Name] Select character code table. [Format] ASCII Decimal [Range] 0 ≤n ≤5, n = 255 [Description] Selects a page n from the character code table. Page 0 (PC437 {USA, standard Europe}) 1 (Katakana) 2 (PC850 {Multilingual})
  • Page 16 Metapace T-1 FS q n [xL xH yL yH d1…dk]1…[xL xH yL yH d1…dk]n [Name] Defined NV bit image. [Format] ASCII [xL xH yL yH d1…dk]1…[xL xH yL yH d1…dk]n n [xL xH yL yH d1…dk]1…[xL xH yL yH d1…dk]n Decimal 28 n [xL xH yL yH d1…dk]1…[xL xH yL yH d1…dk]n...
  • Page 17 Metapace T-1 GS $ nL nH [Name] Set absolute vertical print position in page mode. [Format] ASCII Decimal [Range] 0 ≤nL ≤255, 0 ≤nH ≤255 [Description] * Sets the absolute vertical print starting position for buffer character data in page mode.
  • Page 18 [Description] Transmits the printer ID specified by n as follows : Printer ID Specification ID (hexadecimal) 1, 49 Printer model ID Metapace T-1 series 2, 50 Type ID 3, 51 ROM version ID Depends on ROM version - 18 -...
  • Page 19 Metapace T-1 GS L nL nH [Name] Set left margin. [Format] ASCII Decimal [Range] 0 ≤nL ≤255, 0 ≤nH ≤255 [Description] Sets the left margin using nL and nH. * The left margin is set to [(nL + nH ×256) ×horizontal motion unit] inches.
  • Page 20 Metapace T-1 GS W nL nH [Name] Set printing area width. [Format] ASCII Decimal [Range] 0 ≤nL ≤255, 0 ≤nH ≤255 [Description] Sets the printing area width to the area specified by nL and nH. * The printing area width is set to [(nL + nH ×256) ×horizontal motion unit] inches.
  • Page 21 Metapace T-1 GS a n [Name] Enable/Disable Automatic Status Back. [Format] ASCII Decimal [Range] 0 ≤n ≤255 [Description] Enables or disables ASB and specifies the status items to include, using n as follows : Off/On Decimal Status for ASB Drawer kick-out connector pin 3 status disabled.
  • Page 22 Metapace T-1 First byte (printer information) Off/On Decimal Status for ASB Not used. Fixed to Off. Not used. Fixed to Off. Drawer kick-out connector pin 3 is LOW. Drawer kick-out connector pin 3 is HIGH. Online. Offline. Not used. Fixed to On.
  • Page 23 Metapace T-1 Third byte (paper sensor information) Off/On Decimal Status for ASB Paper roll Near-END sensor : paper adequate. Paper roll Near-END sensor : paper near end. Paper roll end sensor : paper present. Paper roll end sensor : paper not present.
  • Page 24 Metapace T-1 GS k m d1…dk NUL , GS k m n d1…dn ① ② [Name] Print bar code. [Format] ASCII d1…dk ① d1…dk Decimal d1…dk ASCII d1…dn ② d1…dn Decimal d1…dn [Range] 0 ≤m ≤6 (k and d depends on th e bar code system used.)
  • Page 25 Metapace T-1 GS v 0 m xL xH yL yH d1…dk [Name] Print raster bit image. [Format] ASCII d1…dk d1…dk Decimal d1…dk [Range] 0 ≤m ≤3, 48 ≤m ≤51 0 ≤xL ≤255 0 ≤xH ≤255 0 ≤yL ≤255 0 ≤d ≤255 k = (xL + xH ×256) ×(yL + yH ×256) (k ≠0)
  • Page 26 Metapace T-1 3. Appendix (Star Mode Command Summary) Control codes Hexadecimal codes Function <ESC> ”R” n 1B 52 n Select international character set <ESC> <GS> t n 1B 1D 74n Select character table <ESC> ”/” “1” 1B 2F 31 Select slash zero <ESC>...
  • Page 27 Metapace T-1 Control codes Hexadecimal codes Function <ESC> “0” 1B 30 Set line spacing to 3 mm <ESC> “J” n 1B 4A n One time n/4 mm feed <ESC> “I” n 1B 49 n One time n/8 mm feed <ESC>...