QMS SmartWriter 80+ User Manual page 403

Table of Contents

Advertisement

3. Specify the font as permanent (optional).
There are several methods for copying the file to the
printer, including:
1. Write a simple utility program for downloading the
font file you specify by name.
2. Incorporate automatic font downloading in the pro-
gram which will be driving your QMS printer.
G.2
Writing a Downloading Program
With MS-DOS systems, downloading can be accomplished
by a batch file which (a) executes a BASIC program to
send a font ID number to the printer, then (b) sends the
corresponding font file to the printer.
Your batch file would contain the following commands:
BASIC SENDFONT.BAS COPY \B %1 PRN:
Be sure to include the \B option, since font files contain
binary data with each byte having any value between 0
and
255.
The BASIC program might look like this:
10 PRINT "ENTER FONT ID"
20 INPUT ID
30 LPRINT CHR$(27);"*c"jID;"D";
40 SYSTEM
Name the file
SENDFONT.BAS.
To download a font, type
SENDFONT
and the name of the
font file, then press RETURN. The file name you enter is
substituted for the
%1
in your batch file.
A second program would be needed to send the Font Per-
manent command to the printer, for those fonts you want
to make permanent.
HP Emulation Mode
H-35

Advertisement

Table of Contents
loading

Table of Contents