Cognitive Solutions A776 Manual De Usuario

Descargar
Página de 192
Chapter 5: Programming commands
 77
A776-PG00001 C 12/09 
A776 (B780) Programming Guide
Set LogoEZ
®
 colorization (ColorPOS
®
)
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, watermarking 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.
Once logos have been loaded and enabled they can be used in any emulation mode. Skip distances remain constant.  
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. 
f = 2  link watermark printing 
Continued . . .