Application Note
532 Fellowship Rd. Mount Laurel, NJ 08054
an OKI AMERICA company
FAXABLE FACTS 800-654-6651
609-235-2600 Fax: 609-778-4184
OKILINK II Support BBS: 609-234-5344
Document #:
Date:
02/05/96
Category:
Application
Title:
Control Codes for the OL400e / OL410e / OL410e-PS
Replaces Doc #:
Product Model:
OL400e, OL410e, OL410e-PS
This document contains the complete command set for the OL400e, OL410e and the OL410e/PS (PCL
Mode) printer emulations. Usually these codes will be transparent to the user. We include the command
set for those software applications which require you to enter printer commands to select printer features.
About the Escape Sequences
In the sequences below, ESC represents the escape character (decimal 27,
hexadecimal 1B). The letters l and O are printed in italics to distinguish them
from the numbers 1 and 0.
The spaces in the font command sequences were added for legibility. Do not
enter them as part of a command.
In all font-related escape sequences the character `` ( '' is used to indicate
primary font characteristics. You should substitute the character`` ) '' for a
secondary font.
The font commands below include the escape sequences that specify all of each
font's characteristics. In some cases the entire sequence is not necessary to
change fonts, but if you shorten the sequence, keep two things in mind, in
order to avoid unexpected results:
Make sure that the new font you requested (bold or italic, for
example) is available.
Remember that a higher priority font characteristic will override a
lower priority one.
Escape sequences with the same beginning characters can be combined. To do
this, change the final letter of the first sequence from upper case to lower case
and omit the common characters. For example, combining proportional
spacing ESC(s1P with 10 point character height ESC(s10V results in
the following:
ESC(s1p10V
Keep in mind that there should only be one uppercase letter in a combined
sequence, and that uppercase letter must come at the end of the sequence. Also
remember that the commands are executed in the order in which they are
given.