home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / printer / djfont.lha / Download.doc < prev    next >
Text File  |  1989-05-22  |  1KB  |  37 lines

  1. Download -- a soft font downloader for the HP Deskjet or Laserjet
  2. Version 0.1 -- May 12, 1989
  3. Copyright 1989 Charles Tyson.  All rights reserved.
  4.  
  5.  
  6. This program was compiled with Lattice C 5.0.2.  
  7.  
  8. Download sends the setup codes and soft font data from disk to an HP
  9. Deskjet in one step.  (It should work with a Laserjet too, but hasn't
  10. been tested with that).  It runs from the CLI only.
  11.  
  12. The format for Download's command line is
  13.  
  14.     DOWNLOAD fontfilename fontnumber [T]
  15.  
  16. Fontfilename is the name of the soft font file to be sent to the
  17. printer.  
  18.  
  19. Fontnumber is an arbitrary number used to identify the font
  20. to the printer--it must be an integer between 0 and 32767.
  21.  
  22. The optional T makes the downloaded font a "temporary" font--one that
  23. will be erased when the printer is reset.  If the T is not included,
  24. the font will be a "permanent" font (permanent until you turn the
  25. power off).
  26.  
  27. If the first three bytes of the font file aren't ESC)s, Download
  28. rejects it.  This is the standard beginning of an HP font file. 
  29. Download doesn't make any other checks on the validity of the file--it
  30. will happily send a Laserjet font to the Deskjet, though the Deskjet
  31. won't be able to use it.
  32.  
  33. Download sends its output to the parallel port--if your printer is
  34. connected to the serial port, Download won't work.  You might be able
  35. to patch it with a good text editor:  search for the text "PAR" and
  36. replace it with "SER".
  37.