3–4 PTX_Setup
PTX_Setup Command Parameters and Values
The valid SETUP parameters and value ranges are listed below according to
category.
DISK_IO
Valid parameter/values for performing disk–related functions are listed
below. Filenames must follow the MS–DOS standard and be enclosed in
double quotation marks; for example, “a:filename.dat”.
An invalid filename will cause the PTX_SETUP function to exit and data
will be passed directly to the active emulation.
CAPTURE;“<filename>”
Stores the host data sent to the printer external memory module under the
given filename enclosed in double quotation marks before being given to the
emulation.
If the file previously existed, it is deleted and overwritten. Data capture is
terminated when the CAPTURE setup command is sent with a blank file
name (i.e., CAPTURE;“”. or CAPTURE;“”:).
NOTE: File capturing begins after the PTX_END is encountered and stops
when the next PTX–SETUP is received. Commands within
PTX_SETUP cannot be captured. Also, if no suffix is given, the
default of “.PTX” is assumed.
RUNFILE;“<filename>”
Reads the contents of the named file enclosed in double quotation marks and
passes the data as input to the active emulation. If the file is not found, no
action is taken.
DRIVE;“<char>”
Changes the drive used in capturing and running file data when the drive is
not explicitly given by the user. The power–up default drive is drive A. Enter
‘B’ to change the default to drive B.