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

Formatting Data in Report Generation
Chapter 9
9Ć9
The single quote accompanies the print or inquire command. Enclosing a
character or string of characters with single quotes tells the 1775–S4B
scanner to print the specified characters as a string value having no
numerical significance. For example:
If you enter:
P ‘TEST THE PROCEDURE’
The 1775–S4B scanner prints out:
TEST THE PROCEDURE
If you would like to display one of these special characters, simply precede
it with a backslash.
If you enter:
P ‘THE SPECIAL CHARACTERS ARE \^, \\,AND \’.’
The 1775–S4B scanner prints out:
THE SPECIAL CHARACTERS ARE ^, \, AND ‘.
Carriage and cursor control characters enable you to imply carriage
control. The commands available to you include:
\T represents a horizontal tab
\L represents a line feed
\F represents a form feed
\R represents a carriage return
\X represents a line suppression
\N represents a new line
Work through the following example to see how these control characters
function. Enter the following procedure and call it @LINES. Then exit the
edit mode and execute @LINES. The procedure is given below:
9.3
Using Carriage and Cursor
Control Characters