Flash Allocation

This command sets the allocation of Flash sectors between user data storage and logos/user-defined characters. This allocation is saved in the EEPROM of the printer and is saved across power cycles. The printer always keeps 64 Kbytes for User-defined characters.

n1 + n2 <= 5 (3M)

ASCII

GS " U n1 n

Hexadecimal

1D 22 55 n1 n2

Decimal

29 34 85 n1 n2

Default Value of n1

1 (see below)

Default Value of n2

1 (see below)

where:

n1—the number of 64k sectors used for logos and user-defined characters.

n2—the number of 64k sectors used for user data storage.

n1

n2

User Defined Character

Download Logo

User Storage Data

0

5

64 Kbytes

0 Kbytes

320 Kbytes

1

4

64 Kbytes

64 Kbytes

256 Kbytes

2

3

64 Kbytes

128 Kbytes

192 Kbytes

The 7168 Series II has been configured at the factory with 2M of Flash memory. If n1 + n2 is greater than the maximum number of sectors available, the command is ignored. Reissuing this command with different parameters will erase all sectors.

Example:   

MSComm1.Output = Chr$(&H1D) & Chr$(&H22) & Chr$(&H55) & Chr$(&Hn1) & Chr$(Hn2)

Exception

This is command is available only 7158 NAtive Mode and 7167 Native Mode.