Stx i input image data – Datamax-O'Neil Class Series Programmer’s Manual User Manual

Page 34

Advertising
background image

System-Level Command Functions







Class Series Programmer’s Manual

20

STX I

Input Image Data

This command must precede image downloading from a host computer to the printer. The data that

immediately follows the command string will be image data. If any of the 8-bit input formats are to
be used, it is necessary to disable the Immediate Command interpreter by executing an <SOH>D
command before issuing the <STX>I command. See Appendix O for more information. To print an
image, see Generating Label Formats.


A-Class (and H–Class models with a large display): A “ready mode” logo image can be input
using this command. The image must be stored on a Flash module. The image name must be
“logolab” (lowercase only) in the following DPL command. Also, printer power must be cycled
for the new image to appear. The available display area is 312 pixels wide by 94 pixels high. Images
larger than this specified width or height will be clipped along the right and/or bottom edges.

Note: The native format for storing downloaded PCX and BMP images is RLE-2, which results in a better

compression ratio for less module space usage when downloading gray-scale images and images
with large black or white areas.

Syntax:

<STX>Iabfnn…n<CR>data

Where:

a

- Memory Module Bank Select (see Appendix K).

b

- Data Type (optional), A or omit.

b

Value:

Image Data Value Range:

A

ASCII Characters 0-9, A-F, (7 bit)

omitted

00-FF, (8 bit)

f

- Format

Designator

f

Designator:

Format Type:

F

7-bit Datamax-O’Neil image load file

B

.BMP 8-bit format (image flipped), black and

white (B&W)

b

.BMP 8-bit format (image as received), B&W

I

.IMG 8-bit format (image flipped), B&W

i

.IMG 8-bit format (image as received), B&W

P

.PCX 8-bit format (image flipped), B&W

p

.PCX 8-bit format (image as received), B&W

nn…n

- Up to 16 characters used as an image name.

<CR>

- 0x0d terminates the name.

data

- Image

data

Sample:

<SOH>D
<STX>IDpTest <CR>
data...data <CR>

The sample instructs the printer to (1) receive an 8-bit PCX image sent by the host in an 8-bit data
format, (2) name the image ‘Test’, and (3) store it in memory module D (with a .dim file extension).


Advertising