Honeywell PRU7070 Handbook page 26

Table of Contents

Advertisement

LGS
LGS
Command Name: SETLINEGRAPHICS
ASCII Code:
ESCG
Hexadecimal:
IB47
Octal:
033107
Function:
The LGS command sets the printer to Line Graphics mode when it follows a car-
riage return, CR or CR, LF. When the printer is in this mode, only graphics char-
acters can be generated for printing. Eleven graphics symbols can be generated by
selected codes. These codes are taken from the ASCII set shown in Appendix D and
are shown in Table 4-1. In addition, CR, LF and LGR are effective. Other com-
mands, including attributes DWC and CUS, are ignored.
Line graphics can be printed at either 10 cpi or 16.66 cpi, but line density must be
61pi. Line graphic codes following LGS are separated into print lines by CR,LF at
the end of each line. Each line is printed in two passes at half-line feed. After the
second pass, the end-of-line feed command causes a second half-line feed. It is
important that the final LF command be given before leaving the graphics mode,
otherwise a full line feed will occur.
It is possible to insert text into a line graphic pattern by resetting the graphic mode
at the completion of a line. The inserted text must be spaced to accommodate the
graphic pattern. After the text is printed, a CR followed by LGS allows over-
printing the text line with line graphics. For boxing text, the text is inserted after
the top of the box is programmed and the bottom is then overprinted.
Line graphics always require a print command (CR). After a timeout with data
stored, automatic printout occurs for normal data but not for line graphics.
Inserted text can be in either condensed or double-width mode. If characters of a dif-
ferent pitch are to be inserted on the same line, the software will send a CR (no LF)
followed by the new pitch assignment and characters that are properly spaced to
account for previously printed characters effectively inserting two text strings on
the same line. Unlike the double-width attribute, the spacing is not based on a
simple character count, so great care should be taken when using multiple pitches
per line. When printing the first pass at initial pitch, printing an 80th or 132nd
character will initiate an automatic line feed causing the second pass to print on
the next line.
Printer Commands and
Programming Information
4-4
CY93-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pru7071Pru7075Pru7076

Table of Contents