Chapter 6: Programming Information

A794 Owner’s Guide

Generate Pulse to Open Cash Drawer

ASCII

ESC p

n p1 p2

Hexadecimal

1B 70

n p1 p2

Decimal

27 112

n p1 p2

Value of n:

00, 48 (Decimal) = Drawer 1;

 

01, 49 (Decimal) = Drawer 2

Value of p1:

0-255

 

Value of p2:

0-255

 

Sends a pulse to open the cash drawer.

Formulas

The value for either p1 or p2 is the hexadecimal number multiplied by 2 msec to equal the total time.

On-time = p1 (Hex) x 2 msec

Off-time = p2 (Hex) x 2 msec

Related Information

The off-time is the delay before the printer performs the next operation. Refer to cash drawer specifications for required on and off-time.

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 m

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.

mFeed and Cut Mode

0, 48 Full cut (no extra feed).

1, 49 Partial cut (no extra feed).

65Feeds paper to cutting position + (n times vertical motion unit), and cuts the paper completely.

66Feeds 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

ntimes the vertical motion unit is used to determine the cutting position to which the paper is fed.

66

December 1999

Page 71
Image 71
M-S Cash Drawer A794 manual Generate Pulse to Open Cash Drawer, Select Cut Mode and Cut Paper, Value of p1, Value of p2