Retrieve the flash storage, Retrieve size of user flash storage, Retrieve printer usage statistics – IBM TM7 User Manual

Page 178

Advertising
background image

Remarks:

Printing will be suspended while a cash drawer is being opened.

Retrieve the Flash Storage

RS-232 Syntax:

ESC 4 m add or X'1B34;m;add'

where:

m

One-byte count of the bytes to be returned

add

Three-byte address of the first byte to be returned

Purpose:

Retrieve data from user flash storage.

Remarks:

One byte will be returned if a byte count of X'00' is specified.

The valid address range for each SureMark depends on the model number
and which memory option, if any, is installed. Use “Retrieve Size of User
Flash Storage”
to determine the valid address range for your printer.

Retrieve Size of User Flash Storage

RS-232 Syntax:

ESC 4 x ’08 FF FF FF’ or X'1B;34;08;FF;FF;FF'

Purpose:

Retrieve the size of the user flash storage in the printer.

Remarks:

The size of the user flash storage will be returned in 8 bytes after the
printer status bytes. The data will be in the form of ASCII decimal data.

Models TI5 and TG5 have 296K bytes available, and should return a value
of 303103.

Models TF7 and TM7 have 813K bytes available, and should return a value
of 826623.

Retrieve Printer Usage Statistics

RS-232 Syntax:

X'1B 51 xx'

where:

xx

The hex value of the requested statistic. See Table 19 on page 155.

Purpose:

To send printer usage statistics from the printer to the host.

Remarks:

v The usage statistics are sent over the serial line in status bytes 9 and 10.

See Table 19 on page 155 for the values of parameter xx.

Use this procedure to retrieve printer usage statistics from the printer:

1. Reset the printer. (This is an optional step. It ensures that the most recent

counts will be retrieved.)

updated March 18, 2002

154

SureMark DBCS User’s Guide

|

|
|

|
|

|
|
|

|
|

|
|

Advertising
This manual is related to the following products:

TI5, TG5, TF7