beautypg.com

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

Page 98

background image

Formatting Data in Report Generation

Chapter 9

9Ć10

If you enter:

P ‘START’
P ‘LINE1\L LINE2\N’
P ‘LINE3\X’
P ‘LINE4\N’
P ‘LINE5\R LINE6’
P ‘END’

The 1775–S4B scanner prints out:

START
LINE1

LINE2

LINE3LINE4

LINE6
END

We describe the execution of this procedure in the following paragraphs.

First, START prints on the first line.

START

The cursor moves to the next line automatically and prints LINE 1.

START
LINE1

The \L instruction attached to LINE l moves the cursor down one line, and
it remains at the same line position. Thus LINE2 prints out beyond LINE l
on the next line.

START
LINE1

LINE2

The \N instruction attached to LINE2 moves the cursor down two lines and
returns the cursor to the beginning of the second line. LINE3 prints on the
CRT.

START
LINE1

LINE2

LINE3