System-Level Commands

STX x Delete File from Module

This command removes a specific file from the specified module. The file name is removed from the module directory and thus the file cannot be accessed. The actual storage space occupied by the file is not released. (To reclaim deleted file storage space use <STX>z.)

Syntax:

Where:

<STX>xmtnn…n<CR>

m- Module designator; see Appendix J.

t- The file type identification code:

G= Image file

L= Label format file

F= Bit-Mapped font file

S= Smooth scalable font file

nn…n - The file name to delete, up to sixteen alphanumeric characters for graphic or label format files, 3 for bit-mapped font files, and 2 for smooth scalable font files.

STX Y Output Sensor Values

This command causes the printer to respond with its sensor value status. The printer must be in Test Mode (see the <STX>KD command). When <STX>Y is received, the printer will respond with A-D sensor values, see below. To repeat the display of values, send the printer a ‘space character’ (20 hexadecimal). Send <ESC> to terminate the function.

Syntax:<STX>Y

Printer response:

Thermistor ADC: 0048

Reflective

ADC: 0000

Transmissive ADC: 0204

Paperout ADC: 0000

24 Volt ADC:

0217

Contrast

ADC: 0093

 

TOF Adjust ADC: 0170

Ribbon ADC: 0125

 

Battery

level: Good

<CR>

Where:

Paperout ADC: 0225 indicates paper is present;

 

 

 

 

0000 indicates paper is not present.

 

Battery level: ‘Good’ indicates the battery has sufficient charge; ‘Low’ indicates the battery is insufficiently charged

Note: Some readings (e.g., the Media Sensor) require printer controlled paper movement to indicate a meaningful value.

E-Class DPL Programmer’s Manual

25

Page 35
Image 35
Datamax E4203 manual STX x Delete File from Module, STX Y Output Sensor Values, STXxmtnn…nCR