TransAct Technologies ITHERM 280 User Manual

Page 293

Advertising
background image

iTherm

®

280 Programmer’s Guide

ITherm

TM

Extended Printer Control

28-07764

Rev C

Page 291


The iTherm

®

280 printer has a number of Extended Control commands that allow an application

to better track and maintain the printer. These commands are in all emulations

20

.


The printer maintains a log of printer activity. This activity may be returned to the host with the
[ESC]~ T command. This command returns a ~T followed by four binary bits that make up a 32
bit unsigned integer. The description of the command below describes the format in full.

The printer also contains a number of commands that will force the printer to perform specific
functions to help maintain the printer or print information about the printer. The functions
available are:

1) Print Current Configuration
2) Print current log totals

Note: Each of these commands follow the ESC~ or ESCy format. Other
functions are performed by these basic commands. Do not attempt to use
any undocumented version of these commands. The extended diagnostics
commands may affect the print quality and performance of the printer. In
some cases, the commands may degrade the performance of the print
cartridge or mechanism.

Function

Read and Return Totals

ASCII

[ESC] ~ T <n>

Hexadecimal 1BH 7EH 54H <n>
Decimal

<27> <126> <84> <n>

Description This command returns the current statistics for parameter n. The value returned

will be ~T<n> with the next 4 bytes being an unsigned integer. For example:

[ESC]~T<1> Request cover open count

Returns:

~T<1><0><0><1><100> or 256 + 100 or 356 cover opens

Values of n

Request:

0

Black Dots

1

Red Dots

2

Pink Dots

3

Cover Opens

4

Paper Outs

5

Line Feeds

6

Characters Printed

7

Cash Drawer1

8

Cash Drawer2

9

Standby Cycles

20

The Star emulation does not allow the use of [ESC] y commands for extended diagnostics. The [ESC]

y commands are not available.

Advertising