beautypg.com

Chapter 2: emulations, Mt660 emulation, Character definition and format – Dascom T2250 User Guide IGP for Dot Matrix Printers User Manual

Page 23: Attributes, print position, and type styles, Mt660, Mulation

background image

Chapter 2: Emulations

23

Chapter 2: Emulations

MT660 Emulation

This language is an emulation of the MT660 native language, which was based on the ANSI 3.64
standard. This language has been enhanced as needed throughout the development of the
MT661 Series and T6000 Series printers. It is identified as the MT660 emulation on the control
panel and in printer reports.

Character Definition and Format

This section presents and explains the Reserved Control Codes and Escape Sequences that
control how printed output will look, where it will print, characters that are available, etc.

Attributes, Print Position, and Type Styles

This escape sequence is used for setting up fonts by allowing you to control the print attributes
(boldface, underline, overline, etc.), print position (superscript and subscript), and type style
selection. The basic sequence is:

ESC [ n1 ; n2 ; nx m ASCII

Command

1B

5B 3B 3B 6D Hex

Equivalent

This sequence changes both the primary and secondary fonts, but does not change the character
set selected except when changing into or out of the OCR sets. In this command you may
combine codes for attributes, print positions, and type styles. You may send all of the attributes
available and the printer will act on all of them. However, when you send type style codes and
super- and subscript codes, the printer will act only on the last type style code and whichever of
the super- and subscript commands appears last.

The codes in the following lists may be listed in any order in the command. Each code must be
separated from the following code by a semicolon.

Using this escape sequence, you can select such things as Italicized Courier font by sending a
code to select the Courier type style along with a code to select italic printing (see the next
section for an explanation of combining character definition and format codes).