Go to the Previous PageGo to the Main ViewGo to the Next PageGo to a printer friendly version of this document
Chapter 3 Control Code Reference
(User's Guide ML393/ML393C)
Combined Commands
Print mode combinationsE
ESC ! n
27 33 n
n=0 to 255
Print mode combinationsP A
ESC I n
27 73 n
These commands provide a shortcut for specifiying combinations of features in a single escape sequence. However, the two versions--Epson and IBM--differ both in the features accessible through the command and in the way you specify those features.

Epson

The Epson command lets you use any combination of the features listed in the table below. To determine the value of n, add up the values for all the features you wish to use. To turn off all these features and return to 10 cpi printing, substitute 0 for n.

Epson Print Mode Combinations

Feature
Underline128
Italics64
Double width32
Enhanced16
Emphasized8
Compressed4
Proportional2
Elite (12 cpi)1

For example, to print underlined italics at 12 cpi, assign n the value 193 (128 + 64 + 1).

Each time you send the ESC ! command, it sets or cancels the values for all nine of the features it controls (the eight features listed in the table, plus 10 cpi). This means that if you've requested 12 cpi underlined italics, and then want to add emphasized printing to these features, you must add 8 (the value for emphasized print) to l93 and send the command as: ESC ! 201. Just sending ESC ! 8 would turn off all the other features as it turned on emphasized print.

Example (Epson)

To see the range of print styles you can produce with ESC ! n, run the following short BASIC program, which prints a sample of each possible combination. (Since the program prints all 256 combinations, it will take a few minutes and about 12 pages for the entire sample to print.1

10 FOR I=0 TO 255
20 LPRINT:LPRINT
30 LPRINT CHR$(27);"!";CHR$(I);"ESC";I;"selects this combination."
40 NEXT I

IBM

This command allows you to select print quality and character spacing for either resident or cartridge fonts. Substitute a value for n from the Print Mode Combinations table below.

IBM

This command allows you to select print quality and character spacing for either resident or cartridge fonts. Substitute a value for n from the Print Mode Combinations table below.
Print Mode Combinations
010 cpi utility
210 cpi LQ
3Proportional LQ
812 cpi utility
1012 cpi LQ
1617.1 cpi utility
1817.1 cpi LQ

Character Spacing

Set character spacingE
ESC SP n
27 32 n
n=0 to 127
Use this command to adjust the amount of space to the right of each character. This value is expressed in dots; the number of dots per inch depends on the current print mode, as shown in the Character Spacing Increments table below.

Character Spacing Increments

Print modeDots per inch (dpi)
Utility120
Letter Quality180

Oki Data has taken care to insure that the information is complete, accurate and up-to-date. However, Oki Data assumes no responsibility for errors or omissions which may occur. All the information provided is subject to change from time to time at the sole discretion of Oki Data.
Copyright 2014, Oki Data, Americas, Inc.