6-1Programming
CHAPTER 6PROGRAMMING
Introduction
The
P9012 printer can be configured by from the control panel to respond to
Printronix
P-SeĆ
ries or Serial Matrix control codes. This dual compatibility allows the programmer to choose
one of two standard protocols. If equipped with the Intelligent Graphics Processor (IGP) opĆ
tion,
the printer will respond to the Special F
unction Control
Character and IGP commands as
described
in the IGP User's R
eference Manual. This chapter describes:
nOverstrike/Overlay Mode nA
ttribute Set and R
eset Codes
n
Control Code F
unctions n
Control Code R
eference Index
n
Special F
unction Control
n
Individual Control Code Descriptions
Code Header

Overstrike/Overlay Mode

Data in the print buffer can be underlined or overstruck when the carriage return code (hex
0D) is configured for carriage return only (not carriage return and line feed). Any printable
characters in the data stream can overstrike printable characters or spaces already loaded in
the
print buffer as long as a paper motion command (ie: line feed, form feed) has not been re
Ć
ceived. The printer is in the Overstrike Mode when configured from the control panel for
OVERSTRIKE ENABLE. The Overstrike Mode causes the printer to double strike any dots
following
the carriage return that lay on top of dots placed
before
the carriage return. T
o make a
character
bold, send the character, a carriage return, and the character again.
The printer is in the Overlay Mode when configured from the control panel with OVERĆ
STRIKE
DIS
ABLE
.
The Overlay Mode causes dots following the carriage return to be laid on
top of existing data received before the carriage return. (No dots will be double struck.) The
Overlay
Mode results in faster printing because it does not have to strike
dots twice; however,
the
Overlay Mode does not allow character bolding with the use of carriage returns. An exam
Ć
ple
of overstrike/overlay and underlining characters is shown in Figure 6-1.
Enter in Print Buffer Printed Result
P9000 SERIES PRINTER (CR)
CR = Carriage Return (0D Hex)*
LF = Line Feed (0A Hex)
SS/// (CR)
_ = Underline (5F Hex)
_____ (LF)
S = Space (20 Hex)
* NOTE: The printer must be configured for CR=CR only. If configured for a carriage return
plus
line feed on receipt of the CR code, the contents of the buffer will be printed.
P9000 SERIES PRINTER///
Figure 6-1. Overstrike/Overlay and Underline Examples