File System; File System Interface; File System Commands - TransAct Epic 3000 Programmer's Manual

Table of Contents

Advertisement

T480 Programmer's Guide

File System

File System Interface

The EPIC 3000 provides a file system to support fonts, configuration information, user
graphics and macros.
There are a number of commands that are provided to support the file system. In
general, files need to be opened for read or write, read or written, and then closed.
There is a command that will delete a file, and print or return a file directory.
TransAct Technologies provides a Windows
3000 and provide a drag and drop interface to the file system.
The file system in the EPIC 3000 is partitioned into two sections, one for internal system
use by the printer, and one for user information.
The system partition is referred to as partition 0. It is reserved for fonts, configurations
and code page files. This partition cannot be deleted or completely erased. The
second partition is for all other information. There is a command that will erase
all the files in this partition. The partition where files are placed is determined by
the three character extension. There is a third RAM file partition that may be
used to saving temporary information.

File System commands

Function
Open File command.
ASCII
[ESC] [RS] O < Mode > <space> < Filename ><0>
Hexadecimal 1BH 1EH 4FH
Decimal
<27> <30> <79>
Mode of operation "r" for read or "w" for write.
Mode
FileName
File name from 1 to 30 characters including a three character extension.
Description The [ESC] [RS]O command will select and open a file for the selected
operation. If the file being opened for write exists, the existing file will be overwritten.
Note that only one file may be open for external operations at any one time.
The Mode and FileName take the following format and must be null terminated:
r Filename.ext<0>
Valid Modes are:
"r"
Read.
"w"
Write
"w+"
Write Append (Future enhancement)
"ram" open a RAM file for write.
Note: RAM files capability is an option and not available on all products.
100-14362
T480 Extended Printer Control
®
based tool that will interact with the EPIC
Rev A
All
Page 225

Advertisement

Table of Contents
loading

Table of Contents