CognitiveTPG A760 User Manual

Page 75

Advertising
background image

A760 User Guide: Programming Supplement

Chapter 4: Programming commands

75

Revision F January 2010

Set LogoEZ

®

colorization

ASCII

US ETX SYN f s p/t t

Hexadecimal 1F 03 16 f s p/t t
Decimal

31 03 22 f s p/t t

Value of f:

0 = turn off all LogoEZ

®

colorization

features

1 = link print logo after knife cut

2 = link watermark printing

3 = link margin message printing

4 = link logo print before cut

Default:

0

(Off)

This command configures into EEPROM (permanent
configuration switch setting) a set of features that allows
placement of a color logo in the header, full-time margin
message printing, watermarks in the middle of the receipt
and printing of a trailer color logo. These commands are
triggered by any knife cut command (partial or full: 19,
1A, 1B 69, 1B 6D, 1D 56 m n). The printer when powered-
up will (if set) activate the header, watermark, and margin
message features and will be ready to print the body of a
receipt. For selected features to print however, logos with
defined index values of F0, F1, F2, F3 respectively must
be saved in the flash memory.
The command is available only in A760 native mode.
Once logos have been loaded and enabled they can be used
in any emulation mode. Skip distances remain constant.
A760 native mode must be used to turn the feature off.

Value descriptions:

f = function selector and defines which parameters

are used :

s = dot row space before object distance

p = dot row past an object

r = repetition space distance in mm

t = margin message toggle mode

f = 0 turn off all LogoEZ

®

colorization functions

(default). No other parameters are required.

f = 1 link print logo after knife cut – equivalent to

printing a transaction header graphic.

Example:

Print logo (#F0) after a knife-cut with “s” dot row

spacing before the logo and “a” dot row spacing

after the logo (1F 03 16 01 s p).

After executing a knife-cut command, if s > 0,

execute the following:
• stop background merging (1D 9B 1 command)
• skip s (feed paper) dot rows (15 s command)

– adds spacing in addition to any set by the
application around a knife cut command

• set centered justification (1B 61 1 command),

saving the previous justification

• if the logo at F0h is currently defined, print logo

by sending print downloaded bit image, normal
size (1D 2F 0 command) without changing the
value of current logo

• reset justification to previous value

(1B 61 [previous value])

• skip (feed paper) “p” dot rows after logo

(15 p command)

Since the normal space on the receipt paper after a

knife cut is 18 mm (144 rows), no extra space is

usually needed above the logo. The default value is

s = 0 and turns off the f = 1 logo after knife-cut link.

continued…

Advertising