Line length limitations, 0a control code, P console destinations – Gasboy CFN III Manager Manual V3.6 User Manual
Page 204: Command files executed from a console, Line length limitations -6, 0a control code -6 @p console destinations -6, Command files executed from a console -6
Making Your Own Commands
Line Length Limitations
Page 19-6 MDE-4871 CFN III Manager’s Manual for Windows® XP Embedded - Version 3.6 · August 2010
Line Length Limitations
One line on a command terminal can display 80 characters. The Profit Point can display up to
40 characters on a line. If there are 24 or fewer characters on a Profit Point line, they will be
shown in larger type.
~0A Control Code
The text to be displayed by the ECHO or PAUSE command may be longer than one line. If so,
insert a ~0A where you want a new line in the text display (note that the middle character is a
zero, not an upper case O). 0A is a hex number, and the tilde tells the Site Controller to
translate that hex number into a new line.
[P:]* TYPE PUMP&TAX.CMD
↵
* command file for printing reports
ECHO Press 1 to print pump report
ECHO Press 2 to print tax report
[P:]* TYPE PUMP&TAX.CMD
↵
* command file for printing reports
ECHO Press 1 to print pump report~0APress 2 t print tax report
Using ~0A, the same command file could also start out like this.
@P Console Destinations
The line messages displayed on the Profit Point system begin with @P.
Note that sending a ^T to the Profit Point system opens the cash drawer.
Command Files Executed from a Console
Use the T option with ECHO and PAUSE to have prompts displayed on the console display.
Without the T option, ECHO will send its output to the log printer.
Ask for numeric responses to the IF -y and IF -!y commands (refer to
on
). A 0 means No, and a 1 means Yes.