26
Chapter 2 Configuring the P-SeriesEmulation with Control Codes
Configuring the P-Series Emulation with Control Codes
The remainder of this chapter describes the P-Series printer control language
codes that may be sent from a host computer attached to the printer, in order
to invoke and configure numerous P-Series emulation functions.
Format for Control Code Descriptions
The following information is listed for each code function (where applicable).
Name The title or function of the command.
ASCII Code The ASCII mnemonic for the command is shown. Command
sequences are in 7-bit (ASCII) form.
Hex Code The code or command sequence in hexadecimal numbers.
Dec Code The code or command sequence in decimal numbers.
Purpose The function(s) of the control code.
Comment A discussion of the uses of the code or command sequence,
including exceptions or limitations to its use.
Example A sample is provided for some control codes when it is poss ible
to illustrate the effect of a control code, or if a specific syntax is
required to complete the program statement (i.e. Horizontal Tab
set, Vertical Tab set/clear).
IMPORTANT
Ifyou specify any parameters for a control code other than the ones that
are defined in the control code description, unpredictable results may
occur.

Special Function Control Code-Control CodeHeader

A Special Function Control Code (SFCC) is used to extend the control code
protocol. The SFCC is the control code introducer (or header); it is the first
input in the sequence of parameters. The general control code sequenc e is:
(SFCC)(parameter 1)(parameter 2)...(parameter
n
)
P-Series codes can use any value from 1 through 255 (hex 01 through hex
FF)a s control code introducers. For example, bold print can be enabled in th e
P-Series protocol using any of the following control code introducers:
ASCII: SOH G Hex: 01 47 Dec: 171
ETX G 03 47 3 71
ESC G 1B47 27 71
^G5E479471
~G7E4712671
NOTE: The SFCC has been set to ESC for all examples.