TransAct Technologies ITHERM 280 User Manual

Page 287

Advertising
background image

iTherm

®

280 Programmer’s Guide

ITherm® 280 File System

28-07764

Rev C

Page 285

Function

Close File command.

All

ASCII

[ESC] [RS] C

Hexadecimal 1BH 1EH 43H
Decimal

<27> <30> <67>

Description The [ESC] [RS]C command will close the currently open file.

Function

Close All Files command.

All

ASCII

[ESC] [RS] K

Hexadecimal 1BH 1EH 4BH
Decimal

<27> <30> <75>

Description The [ESC] [RS]K command will close the font system and close all currently open
files. Internal fonts will be reopened automatically if used.

Function

Delete File command.

All

ASCII

[ESC] [RS] D <Filename><0>

Hexadecimal 1BH 1EH 44H
Decimal

<27> <30> <68>

FileName

File name from 1 to 30 characters including a three character extension, null
terminated.

Description The [ESC] [RS]D command will select and delete a file.

Note: Some of the system files are protected and can not be deleted.

Function

Set/Clear File Attributes command.

All

ASCII

[ESC] [RS] A < Attbs > <space> < Filename ><0>

Hexadecimal 1BH 1EH 41H
Decimal

<27> <30> <64>

Attbs

File attributes to modify.

FileName

File name from 1 to 30 characters including a three character extension.


Each file has several attributes associated to it. They include S, R, and H.

Attribute

Syntax

Name

Use

S

+S or -S

System

This is a system file.

R

+R or -R

Read Only

This file cannot be erased or modified.

H

+H or -H

Hidden

This file is hidden and not displayed in
the directory listing.

NOTE: Attributes can be combined, however, each needs to have the + or – as a prefix.

To allow these attributes to be set and cleared, the [ESC][RS]A command can be used. The
format is as follows:

[ESC][RS]A-R-S FileName<0>
This command will remove the Read only and System attributes form File name.

Function

Return the last file command status.

All

Advertising