5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
219
4 Exercises and Examples
Practice Using the Code V
The following examples and exercises are designed to provide experience in
using the Code V. The Code V command standards used in the exercises are
described in the “Commands” chapter. Be sure to specifically follow the
format for Code V commands to ensure proper Code V operation.
Most of the format parameters are standard to all the commands unless
otherwise noted. Where applicable, some of the practice examples could be
modified to use the comparable Version II commands as described in the
“Commands” chapter.
Use the standard commands on your system to open a file to contain the
data, and to print the file when you're ready to print.
An explanation precedes each step in the practice exercises. Each command
sequence shows the general command format (Format) as detailed in the
“Commands” chapter. Data following Enter represents the input data. The
parameters of each command have a specific order for data entry and a
specific amount and type of data that can be entered; input the data exactly
as shown with the possible exception of the SFCC. Always use the actual
SFCC required by your system wherever the ^ is shown.
Creating Alphanumeric Text
1. First, the Code V must be enabled for the Graphics Mode using the
Graphics Mode Enable command (PY). This is the first input to change
the Code V from the Normal Mode to the Graphics Mode before any
graphics data or commands can be processed.
Format: (cc)PY(cc)-
Enter: ^PY^-
2. To avoid accidentally terminating the graphics command sequences by a
host-generated terminator, enable the Free Format command (F). This
allows the Code V to accept the data as one continuous stream even
though the data may contain host-generated paper motion commands.
When Free Format is enabled, the Code V only recognizes the Free
Format command terminators: carriage return (^-), form feed (^,), line
feed (^*), vertical tab (^+), and EVFU commands.
Format: (cc)F(cc)-
Enter: ^F^-