
CHAPTER 6
PROGRAMMING
Introduction
The P9012 printer can be configured by from the control panel to respond to Printronix
n | Overstrike/Overlay Mode | n | Attribute Set and Reset Codes |
n | Control Code Functions n | Control Code Reference Index | |
n | Special Function 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 reF 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. To 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 OVERF STRIKE DISABLE. 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 examF ple of overstrike/overlay and underlining characters is shown in Figure
Enter in Print Buffer | Printed Result |
P9000 SERIES PRINTER (CR) | |
SS/// (CR) |
|
_____ (LF) | P9000/// SERIES PRINTER |
S = Space (20 Hex) | CR = Carriage Return (0D Hex)* |
LF = Line Feed (0A Hex) | _ = Underline (5F 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.
Figure 6-1. Overstrike/Overlay and Underline Examples
Programming |