TransAct Epic 3000 Programmer's Manual page 228

Table of Contents

Advertisement

Extended Printer Control
T480
Function
Return the last file command status.
ASCII
[ESC] [RS] ?
Hexadecimal 1BH 1EH 3FH
Decimal
<27> <30> <63>
The [ESC][RS]? Command requests the file system to return the status of the last file
operation.
This command, returns an identifier byte, followed by 2 bytes indicating the status results
of the last file command. The format will be as follows:
?<Status><Details> or
Where:
Status = 'G' for success and 'B' for Failure
Detail = Detailed status as a binary byte with bit definitions as follows:
Bit
Hex
0
01
1
02
2
04
3
08
4
10
5
20
6
40
8
80
Function
Return File CRC command.
ASCII
[ESC] [RS] G <Filename><0>
Hexadecimal 1BH 1EH 47H
Decimal
<27> <30> <71>
FileName
File name from 1 to 30 characters including a three character extension,
null terminated.
Description The [ESC] [RS]G command will return the CRC of the specified file.
Note: If the file does not exist a CRC will not be valid and the last file
system status will be updated.
Page 228
3F, (47 or 42), <Details>
Decimal
Function
1
File Open
2
File in Write Mode
4
The Read response is shorter than requested
and EOF has been encountered.
8
The file is already open.
16
The file system has no space for the preceding
operation. Could be out of Flash or out of Buffer
space.
32
A write operation has been attempted to a read
only file.
64
File requested was not found
128
An error has occurred. Other bits may be set
that give additional detail. (This bit determines
the G or B status in the previous byte)
Rev A
T480 Programmer's Guide
100-14362
All
All

Advertisement

Table of Contents
loading

Table of Contents