Cognitive Solutions A776 Slip page mode considerations, Page size, Character Size, Exceptions

Models: B780 A776

1 192
Download 192 pages 23.55 Kb
Page 119
Image 119
Slip page mode considerations

Chapter 5: Programming commands  107

Slip page mode considerations

Suggested command sequence to print bank check

1B

40

reset to power-on parameters

1B

63 30 04

select the slip

1B

4C

select Page Mode

1B

54 03

select printing direction

1B

57 00 00 00 00 90 01 80 05

select page size (not necessary for default size)

Text and print commands

as required

0C

 

print the page and exit Page Mode

1B

63 30 01

eject the check and select receipt

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 0x190 = 400 half dots = 200 full dots wide 0x580 = 1408 half dots = 704 full dots long

1B 57 00 00 00 00 E4 01 F0 03 0x1E4 = 484 half dots = 242 full dots wide = 3.024” 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.

Exceptions

The Print and Reverse Feed commands (1B 4B n and 1B 65 n) are not applicable to Page Mode.

Avoid bi-directional print. Uni-directional print is the default in Page Mode.

B780 as A721

The A721 can be configured to .5” and .3” Page Mode right side margins only. When Page Mode right side margin is configured to .5” or .3”, the default tab stops are every five full dots, rather than every six full dots. When tabs are set while in Page Mode, they are set at multiples of six full dots as expected. When Page Mode right side margin is configured to .1” the default tab stops are every six full dots in Page Mode.

Continued . . .

A776-PG00001 C 12/09

A776 (B780) Programming Guide

Page 119
Image 119
Cognitive Solutions A776, B780 Slip page mode considerations, Suggested command sequence to print bank check, Page size