CognitiveTPG A760 User Manual

Page 130

Advertising
background image

A760 User Guide: Programming Supplement
Chapter 4: Programming commands

130

Revision F January 2010

Return paper type description (ColorPOS

®

)

ASCII

GS Ox8F m

Hexadecimal 1D 8F m
Decimal

29 143 m

Value and range of m:

m is the paper type index,

(0< = m< = 15)

This command will return from flash memory a paper type
description indexed by m, (0<=m<=15) sending back the
data sequence used in the download paper type description
command, i.e. the return is

1D 8F m nL nH

(d1…dn) which was stored in slot m; or a value of n =
0 if slot m does not have a description stored. m = 0 x ff
asks for a return of the current paper type. For all valid
descriptions, the last two bytes will be a CRC value and
the first 24 bytes will be as follows:

# Bytes Offset Definition

1

0

Manufacturer paper type category

1

1

Version in type category

1

2

Printhead type

1

3

Structure format type

20

4

Descriptive name as a

null terminated ASCII string

Reset firmware

ASCII

GS (SPACE)

Hexadecimal 1D FF
Decimal

29 255

Ends the load process and reboots the printer. Before executing this command, the printer should
have firmware loaded and external switches set to the runtime settings. Application software for
downloading should prompt the user to set the external switches and confirm before sending this
command. If the downloading was started from a diagnostic, the reboot will cause the printer to
re-enter download state unless the external switches are changed.

Advertising