61Programming
CHAPTER 6PROGRAMMING
Introduction
You
can configure the printer from the control
panel to respond to control codes in one of two standard
protocols: Printronix PSeries or Serial Matrix. If equipped with the Intelligent Graphics Processor
(IGP) option, the printer responds to the Special Function Control Character and IGP commands as
described in the IGP User
s Reference Manual. This programming chapter describes:
Overstrike/Overlay Mode Page 61. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Control Code Functions
Page 62. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Special Function Control Code Header Page 62. . . . . . . . . . . . . . . . . .
Attribute Set and Reset Codes
Page 63. . . . . . . . . . . . . . . . . . . . . . . . .
Control Code Reference Index Page 64. . . . . . . . . . . . . . . . . . . . . . . . .
Individual Control Code Descriptions Page 67. . . . . . . . . . . . . . . . . . .

Overstrike/Overlay Mode

You
can underline or overstrike data
in the print buf
fer when the carriage return code (hex 0D) is con
-
figured
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 buf
fer as long as a paper
motion command (i.e., line feed, form feed) has not been received. The printer is in the Overstrike
Mode when configured from the control panel for OVERSTRIKE ENABLE. This 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 OVERSTRIKE DIS
-
ABLE.
The Overlay Mode causes dots following the carriage return to lay on top of existing data re
-
ceived before the carriage return. (No dots will double strike.) The Overlay Mode results in faster
printing
because it does not have to strike dots twice; however
, the Overlay Mode does not allow char
-
acter bolding with the use of carriage returns. An example of overstrike/overlay and underlining char
-
acters is shown in Figure 61.
Enter in Print Buffer Printed Result
P3000 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 configur
ed for
CR=CR only
. If configur
ed for a carriage r
eturn and
line
feed on r
eceipt of the CR code, the contents of the buffer will print.
P3000 SERIES PRINTER///
Figure 61. Overstrike/Overlay and Underline Examples