Cognitive Solutions A799 Manual De Usuario

Descargar
Página de 142
Chapter 4: Programming Commands
 39
Revision D 12/09
A799-PG00001D
Set current color
ASCII 
ESC r m 
Hexadecimal  1B 72 m 
Decimal 
27 114 m
Default of m:  0 (monochrome)
This command will set the current color to the color m for all character data that may follow this command and all graphic 
objects (bit images) that have not been explicitly loaded as two-color.
= 0 (monochrome) is the initial value 
= 1 (two-color paper “primary color”, usually black) 
= 2 (second color available from two-color paper)
The m values 0 and 1 will not have a distinguishable effect; 0 is the initial value and provides parameter value consistency 
with other commands.
Description
When the monochrome paper type command (0 0) is set, this command is recognized and retained, but has no effect. The 
monochrome paper selection (usually black) controls the output.
When two-color paper is loaded and the two-colors paper type command set, this command will designate which of the 
two colors will be used for everything not specified as having an explicit color parameter(s), such as color logos, side bars, 
surround graphics, background watermarks or color raster graphics. The effect mimics shifting a two-color ribbon in a 
printer or typewriter to type the color of the lower half of the ribbon.
Exceptions
After a power loss or reset the default value = 0 is reset. 
Select cut mode and cut paper
ASCII 
GS V m 
 
GS V m n 
Hexadecimal  1D 56 m 
 
1D 56 m n 
Decimal 
29 86 
 
29 86 m n
Value of m: 
Selects the mode as shown in the table.
Value of n: 
Determines cutting position only if m is 65 or 66.
m 
Feed and cut mode
0, 48  Full cut (no extra feed)
1, 49  Partial cut (no extra feed)
65 
Feeds paper to cutting position + (n times vertical motion unit), and cuts the paper completely
66 
Feeds paper to cutting position + (n times vertical motion unit), and performs a partial cut
Range of m: 
0, 48; 1, 49 
 
65, 66 (when used with n)
Range of n: 
0 – 255
Default of m, n: 0
Selects a mode for cutting paper and cuts the paper. There are two formats for this command, one requiring one parameter 
m, the other requiring two parameters m and n. The format is indicated by the parameter m.
Formulas
times the vertical motion unit is used to determine the cutting position to which the paper is fed.