home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
printer
/
djfont.lha
/
Download.doc
< prev
next >
Wrap
Text File
|
1989-05-22
|
1KB
|
37 lines
Download -- a soft font downloader for the HP Deskjet or Laserjet
Version 0.1 -- May 12, 1989
Copyright 1989 Charles Tyson. All rights reserved.
This program was compiled with Lattice C 5.0.2.
Download sends the setup codes and soft font data from disk to an HP
Deskjet in one step. (It should work with a Laserjet too, but hasn't
been tested with that). It runs from the CLI only.
The format for Download's command line is
DOWNLOAD fontfilename fontnumber [T]
Fontfilename is the name of the soft font file to be sent to the
printer.
Fontnumber is an arbitrary number used to identify the font
to the printer--it must be an integer between 0 and 32767.
The optional T makes the downloaded font a "temporary" font--one that
will be erased when the printer is reset. If the T is not included,
the font will be a "permanent" font (permanent until you turn the
power off).
If the first three bytes of the font file aren't ESC)s, Download
rejects it. This is the standard beginning of an HP font file.
Download doesn't make any other checks on the validity of the file--it
will happily send a Laserjet font to the Deskjet, though the Deskjet
won't be able to use it.
Download sends its output to the parallel port--if your printer is
connected to the serial port, Download won't work. You might be able
to patch it with a good text editor: search for the text "PAR" and
replace it with "SER".