Page Mode; Slip Page Mode Considerations - CognitiveTPG A776 ColorPOS Programming Manual

Two-color thermal/impact hybrid printer
Hide thumbs Also See for A776 ColorPOS:
Table of Contents

Advertisement

Page mode

Page mode is one of two modes that the A776 printer uses to operate. Standard mode is typical
of how most printers operate by printing data as it is received and feeding paper as the various
paper feed commands are received. Page mode is different in that it processes or prepares the
data as a "page" in memory before it prints it. Think of this as a virtual page. The page can be any
area within certain parameters that you define. Once the printer receives the (0 × 0C) command,
it prints the page and returns the printer to standard mode.
The select page mode command (1B 4C) puts the printer into page mode. Any commands that
are received are interpreted as page mode commands. Several commands react differently
when in standard mode and page mode. The descriptions of these individual commands in this
chapter indicate the differences in how they operate in the two modes.

Slip page mode considerations

Suggested command sequence to print bank check
1B 40
1B 63 30 04
1B 4C
1B 54 03
1B 57 00 00 00 00 90 01 80 05
Text and print commands
0C
1B 63 30 01
When switching between Page Mode print on the receipt and Page Mode print on the slip, 1B
40 should precede the station selection command to ensure the correct Page Mode defaults are
restored for each station.
Page size
The default page size is 200 full dots wide by 704 full dots long. (2.5" wide by 9.7" long.)
On the B780, the right side margin can be configured to .1", .3", or .5". The .3" and .5" margins are for A721 emulations,
and provide a maximum width of 200 full dots. With the right side margin set to .1" the maximum width is 242 full dots
(3.024").
On the A776, the right side margin is .1", and provides a maximum width of 242 full dots.
The maximum length can be set to any size, but is limited by available memory. Width and length other than default
are set by command 1B 57..., with parameters specified in half dots. The length controls how much paper is fed.
For applications specifying a page size greater than 242 full dots wide, there is a configuration option for trimming
blank areas. The command is 1F 03 2F n.
Some examples of setting page size:
1B 57 00 00 00 00 90 01 80 05
0x580 = 1408 half dots = 704 full dots long
1B 57 00 00 00 00 E4 01 F0 03
0x3F0 = 1008 half dots = 504 full dots long = 7"
Character Size
It is best to use the Select Print Mode command (1B 21 n) to set character size. The Select Character Size command
(1D 21 n) can be used to set double wide and double high, but impact characters are not increased any further. When
using the legacy command 0x12 to set double wide, you must use the corresponding command 0x13 to turn off
double wide.
A776-PG00001 D 07/13
reset to power-on parameters
select the slip
select Page Mode
select printing direction
select page size (not necessary for default size)
as required
print the page and exit Page Mode
eject the check and select receipt
0x190 = 400 half dots = 200 full dots wide
0x1E4 = 484 half dots = 242 full dots wide = 3.024"
Chapter 5: Programming commands
A776 (B780) Programming Guide
103

Advertisement

Table of Contents
loading

Table of Contents