beautypg.com

Executive – AMT Datasouth PAL User Manual

Page 103

background image

97

executive

executive

Descriptions

Places the printer into a prompted line input mode to facilitate experimentation with PAL operators
using a terminal or terminal emulation program.

Usage

executive

Comments

executive mode makes it easier for a programmer to directly interface with the PAL interpreter
using a terminal or terminal emulation program. Under executive mode, the interpreter will
prompt the programmer when the interpreter requires additional input.

Once prompted, the programmer can enter a full line of PAL data and operators. During line input,
the programmer can use backspace and other limited line editing capabilities. Under executive
mode, the interpreter accepts the following line editing controls.

Oct

Dec

Hex

Mnemonic

Typical Keys

Description

010

008

08

BS

Ctrl+H

Backspace. Delete last character on the line.

012

010

0A

LF

Ctrl+J

Line Feed. Indicates completion of the current
line, thereby allowing PAL to process the line.

015

013

0D

CR

"Enter",
"Return", or
Ctrl+M

Carriage Return. Functions same as Ctrl+J.

022

018

12

DC2

Ctrl+R

Retype. PAL will display the line as it has
been entered so far.

025

021

15

NAK

Ctrl+U

Undo. Instructs PAL to discard the current
line so that the programmer can start the line
over again.

Under executive mode, the interpreter continues to process data in exactly the same manner as
under normal host communications. The only difference being that the interpreter allows the
programmer to enter and edit a full line before processing the data.

Entering and exiting executive mode has no effect upon other areas of printer operation. The
programmer can start by sending commands to the printer under normal host communications
mode. The programmer can then switch to executive mode to supply additional commands. The
programmer can then use the _execexit operator to terminate executive mode and resume normal
host communications.