5525B/31/32 Line Matrix Printer IGP/PGL Programmer's Reference Manual
205
4 Form Examples and
Exercises
Form Examples
The following example demonstrates how to use Create commands in the
Create Form mode using the CP.DP format. The printed output for this
program is shown in Figure 42 on page 207. The box surrounding the form
represents the paper size.
NOTE: If comment lines are used on command lines, they must be preceded
by a slash (/). Do not use / comments on lines containing an SFCC
(NORMAL, CREATE, EXECUTE, etc.). Comments in parentheses in
this section are provided for better understanding of IGP/PGL
operation but should not be included in your IGP/PGL files.
IMPORTANT
The examples in this chapter assume the Select Format command is
already enabled (~SFON). When enabled, Select Format tells the IGP/
PGL to ignore all host-generated paper movement commands (CR, LF,
FF).
Example: Basic Create Form
~LISTEN
~LOGO;HAND;56;60
1;40-42
2;38-42
3;36-42
4;35-42
5;33-41
6;31-40
7;30-38
8;29-36
9;28-35
10;27-34;52-54
11;24-33;48-54
12;22-31;45-54
13;19-30;41-54
14;16-29;38-53
15;13-29;36-51
16;11-29;33-48
17;9-44
18;7-42
19;6-39
20;4-36
21;1-34
22;1-34