A794 Owner’s Guide

Chapter 6: Programming Information

Read from Non-Volatile Memory

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

ASCII

ESC j k

Hexadecimal

1B 6A k

Decimal

27 106 k

Range of k

0-63 (Decimal)

Generate Pulse to Open Cash Drawer

Sends a pulse to open the 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

On-time

Value of p2

Off-time

Formulas

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

p1 (Hex) x 2 ms

p2 (Hex) x 2 ms

Related Information

The off-time is the delay before the printer performs the next operation.

March 1999

53

Page 59
Image 59
Epson A794-D100 Read from Non-Volatile Memory, Generate Pulse to Open Cash Drawer, Range of k, Value of p1, Value of p2