beautypg.com

Rockwell Automation 1775-S4B,D17756.5.3 User Manual SCANNER/MSG HND User Manual

Page 99

background image

Formatting Data in Report Generation

Chapter 9

9Ć11

The \X instruction attached to LINE3 keeps the cursor on the same line and
LINE4 from the next print command prints next to LINE3.

START
LINE1

LINE2

LINE3LINE4

The \N instruction attached to LINE4 moves the cursor down two lines.
The \R instruction attached to LINE5 moves the cursor to the beginning of
that line. In effect, this erases LINE5, and thus, it does not print. LINE6,
the next print instruction, prints on the line.

START
LINE1

LINE2

LINE3LINE4

LINE6

The cursor automatically returns to the next line and END prints out to
complete the procedure.

START
LINE1

LINE2

LINE3LINE4

LINE6
END