Generate pulse to open cash drawer – M-S Cash Drawer 7193 User Manual

Page 75

Advertising
background image

Commands

7193 Owner’s Guide

May 1996

72

Read from Non-Volatile Memory

Reads a two-byte word from location k in history EEROM. The printer will return
the word at the next available opportunity.

This command is not available on Parallel printers.

Hex

Decimal

ASCII

Value of k

1B 6A k

27 106 k

ESC j k

0-63 (Hex)

Generate Pulse to Open Cash Drawer

Outputs a pulse to open the cash drawer.

The value for either p1 or p2 is the Hex number multiplied by 2 msec. to equal the
total time. The off-time is the delay before the printer performs the next
operation.

Hex

Decimal

ASCII

Value of n

Value of p

1B 70
n p1 p2

27 112
n p1 p2

ESC p
n p1 p2

00 = Drawer 1
01 = Drawer 2

p1 (Hex) x 2 msec. = On-time
p2 (Hex) x 2 msec. = Off-time

Write to Non-Volatile Memory

Writes two-byte word n1:n2 to location k in history EEROM.

Hex

Decimal

ASCII

Value of n

Value of k

1B 73
n1 n2 k

27 115
n1 n2 k

ESC s
n1 n2 k

n1 = 1st Byte
n2 = 2nd Byte

16-63 (Hex Locations 00-15 are
Reserved)

Advertising