CognitiveTPG A760 User Manual

Page 35

Advertising
background image

A760 User Guide: Programming Supplement

Chapter 4: Programming commands

35

Revision F January 2010

Select peripheral device (for multi-drop)

ASCII

ESC = n

Hexadecimal 1B 3D n
Decimal

27 61 n

Value of n:

0 (bit 0), device not selected

1 (bit 0), device selected

Default:

1 (bit 0), device selected

Selects the device to which the host computer sends data.

Exception

This command is ignored.

Initialize printer

ASCII

ESC @

Hexadecimal 1B 40
Decimal

27 64

Default:

Character pitch:

15.6 CPI

Column width:

44 characters

Extra dot rows:

3

Character set:

Code Page 437

Printing position:

Column One

Clears the print line buffer and resets the printer to the
default settings for the start-up configuration (refer to
Default settings above).

Single-wide, single-high, non-rotated, and left-aligned
characters are set, and user-defined characters or logo
graphics are cleared. (Flash memory is not affected.) Tabs
reset to default. Receipt selection state is selected.

Set slip paper eject length

ASCII

ESC C n

Hexadecimal 1B 43 n
Decimal

27 67 n

Value of n:

0 to 255

Exception

This command is ignored.

Select receipt or slip for printing; slip for MICR read

ASCII

ESC c 0 n

Hexadecimal 1B 63 30 n
Decimal

27 99 48 n

Value of n:

1, 2, 3

Receipt selected

4

Slip selected

Default of n:

1

Selects the station for printing. When slip is selected, the
printer waits (based on the slip waiting time setting [i.e.:
1B 66 m n]) for the paper to be inserted. When slip has
already been selected and the selection is changed, the
form is opened.
If the station has already been selected and it is
re-selected, no action takes place.

Exceptions

Receiving the command discards unprinted data in the
buffer, forcing a “beginning of line” state.
When n is out of range this command is ignored.

Advertising