beautypg.com

Adding a header/manual two-key download – Printronix P8000 Series Cartridge Ribbon Printer User Manual

Page 278

background image

278

Chapter

7

Using TrueType Fonts

Example:

~FONTLOAD;arial.ttf;60548;DISK

(Insert binary data of arial.ttf here.)

END

After the file is created, it can be copied to the appropriate printer I/O port
while the printer is online, similar to other print files.

Example:

copy/b filename.ext lpt1 or LPT1

Adding a Header/Manual Two-Key Download

To download a TrueType font to the printer through the manual two-key
download mode, first add a header to the font, then place the printer in
Download mode and download the font. A TrueType font can be converted to
a downloadable format by appending a header to the font file using the
cnvt2fls.exe utility and a batch file as described in this section.

Header for Main File System

1.

Start a Command prompt window.

2.

Copy (or unzip) cnvt2fls.exe and addtthdr.bat from your Starter Kit CD to
your working directory (e.g., c:\download).

3.

Copy the target TrueType font (.ttf) file to your working directory.

4.

Start a Windows Command Prompt session.

5.

Convert the TrueType font file .ttf (e.g., arial.ttf) to a downloadable format
.dwn with the following command:


addtthdr

filename


where

filename

is the font name without an extension

(e.g., addtthdr

arial

).

This creates the file arial.dwn.

6.

Place the printer in download mode as described in “Manual Two-Key
Download Sequence” on page 262.

7.

Send the file as described in “Sending Firmware in Download Mode” on
page 264. S
ubstitute the file

*.dwn

(e.g., arial.dwn) in place of the

firmware

FILENAME.prg

.

The process is complete when the file has successfully loaded into flash
memory and the printer resets itself.

8.

Verify that the file is recognized and downloaded under the ADVANCED
USER -> Main File System submenu. One of the files shown should
include the original true type font name (e.g., arial.ttf).