Cognitive Solutions A799 manual Select active user-defined character set, Download BMP logo

Models: A799

1 142
Download 142 pages 30.19 Kb
Page 64
Image 64

64

Chapter 4: Programming Commands

Revision D 12/09

Select active user-defined character set

Selects user-defined character set number for download or printing. The default at power on is 0.

ASCII

US i n

Hexadecimal

1F 69 n

Decimal

31 105 n

n = 0 - 127

 

Set high order bit of n to configure user-defined character set number as the default. To configure the printer to print from the user-defined character set at power, send 1F 3 0F 01 and reset the printer. Information will print on the first diagnostic page.

Graphics

These commands are used to enter and print graphics data and are described in order of their hexadecimal codes, unless otherwise noted.

These commands describe operation for 80mm paper. If the printer supports 82.5mm paper, the dot spacing is the same but there are 640 printable dots rather than 576 printable dots on 80 mm paper.

Download BMP logo

ASCII: ESC (+*.BMP file)

Hexadecimal: 1B (+*.BMP file)

Decimal: 27 66 77(+*.BMP file)

Value: Maximum width = 576 (640 for 82.5mm paper)

Maximum height = 512

Enters a downloaded BMP logo into RAM or flash.

The downloaded BMP logo can be printed by using the print downloaded bit image (1D 2F m) command. To downloaded BMP file to save it as a logo, send the hexadecimal code 1B followed by the whole BMP file.

The printer decodes the BMP file header and will save the image data after checking important parameters, such as:

-Width,

-Height,

-Number of colors (only monochrome images are accepted)

BMPs and bit images continue to be definable only for the receipt station. However, there is no longer an automatic erasure whenever the user downloads a character set (as happened previously) as well as in the case where the current logo was never set > 0, (the automatic erasure if user flash memory had filled up with inactive logo 0 definitions upon next power cycle). Warnings about the effect of running out of defined logo space during a download apply (i.e. the command is ignored). The application is required to manage user data space, downloaded font space, and logo space.

After downloading a logo to the printer, wait 100ms to allow the printer time to write the logo to flash.

Exceptions

BMP file images that are not monochrome are put into the print buffer.

Related information

Microsoft BMP bitmap file format.

This command is recognized in A799 native mode and in A794 emulation.

In A793 and LEGACY emulations, the BMP file bytes are put into the print buffer.

A799-PG00001D

Page 64
Image 64
Cognitive Solutions A799 manual Select active user-defined character set, Download BMP logo