beautypg.com

Chapter 6: downloadable graphic images – Microcom 48-466 User Manual

Page 57

background image

48-466 Operators Manual

51

CHAPTER 6: DOWNLOADABLE GRAPHIC IMAGES

The 466 printer is capable of storing up to 20 graphic images. You may either use the Microcom
"PCX2466.EXE" software utility to convert a PCX or PCC file, or use your own software to convert
a graphics file into a format that the printer can accept.

6.1

PROCEDURE FOR USING PCX2466.EXE UTILITY

A) Type at DOS prompt - PCX2466 filename.ext
B) Follow the on screen instructions and note the slot # the image was placed in.
C) Download resulting file (filename.N66 or .R66) file to printer
D) Section 4.5.3 explains how to access loaded images.

6.2

GRAPHIC IMAGE STRUCTURE

The following graphics file structure is offered to programmers who with to use their own programs
to convert graphic images.

Note: The 48-466 does not differentiate between graphics and fonts. They are both accessed by
using a TCI of 8. Therefore a font and a graphic cannot have the same CGN number. A graphic is
simply a font with only one character and all characters point to the same character.

The 48-466 font structure consists of Microcom LDS commands, a header, a look-up table, a
character descriptor, and character data. All words are in Intel format: low byte, high byte. The
graphic image structure is the same as the font structure. Since a graphic does not need to include
offsets and is generally one 'character' in a 0 degree rotation, the structure can be condensed to
the following...

^AXX^D1065

;tells printer that a font is coming, XX is the CGN number;

dw

;character orientation

dw ?

;number of pixels high

db 0
db 20h
db 20h
db 20h
dd 4
dw ?

;number of pixels high

dw ?

;number of pixels wide

dw 0
dw 0
dw 0
dw 0
dw 0
dw 0
dw ?

;bytes wide = (pixels_wide + 7) / 8

db ?...

;logo data