5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
226
Chapter 4 Form Example
Design the Form
1. First, design the form on a grid as shown in Figure 28. A standard grid
example is provided in Appendix C. Designing the form on the grid allows
you to decide where each form element will be placed. Compensate for
expanded alphanumerics and plan for the logo.
Enable Code V Graphics
2. 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.
Format: (cc)PY (cc)-
Enter: ^PY^-
3. To avoid accidentally terminating the graphics command sequence 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^-
4. To begin form processing at a top-of-form position, send a Free Format
Form Feed command (,).
Format: (cc),
Enter: ^,
5. The Code V is now ready to accept the commands and data for the form.
Most of the form and form elements are designed using the extended
graphics command set. Consequently, one of the alphanumeric
commands or the Interrupt command must be used to introduce, or
enable, the extended graphics commands. Begin by inputting the
Standard Alphanumeric command (M) immediately followed by the Dark
Print command (KF) to produce the form in a darker contrast. No other
Alphanumeric command parameters are needed at this time.
Format: (cc)M(cc)KF
Enter: ^M^KF