Epson A794-D100 User Manual

Page 134

Advertising
background image

Chapter 6: Programming Information

A794 Owner’s Guide

March 1999

128

Erase User Flash Sector

Erases a page of flash memory and sends a carriage return when the operation is
complete.

ASCII

GS @ n

Hexadecimal

1D 40 n

Decimal

29 64 n

Value of n

49-50

n = 49 (ASCII n = 1)

This command erases the entire 64K page available for user-defined characters and
multiple logos. The page should be erased in two situations: when the logo definition
areas is full and an application is attempting to define new logos, and when an
application wants to replace one user-defined character set with another. In both cases,
all logos and character set definitions are erased and must be redefined.

Important

While erasing flash memory, the printer disables all interrupts, including
communications. To provide feedback to the application, the printer responds to the
application when the erase is complete. After sending the Erase User Flash Sector (1D 40
n) command, an application should wait for the response from the printer before
sending data. Otherwise, data will be lost. If an application is unable to receive data, it
should wait a minimum of five seconds after sending the Erase User Flash Sector (1D 40
n) command before sending data.

Reset Firmware

Reboots the printer.

ASCII

GS (SPACE)

Hexadecimal

1D FF

Decimal

29 255

Advertising