home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / printer / dvi2pcl.lha / README < prev    next >
Text File  |  1992-11-25  |  3KB  |  93 lines

  1. $Log:    README,v $
  2. # Revision 0.8  92/11/23  19:46:34  19:46:34  bt (Bo Thide')
  3. # Fixed resolution bug. Portable downloading. Added/changed options. PJXL color support
  4. # Revision 0.7  92/11/13  02:41:14  02:41:14  bt (Bo Thide')
  5. # More bug fixes and improvements. Support for PaintJet XL
  6. # Revision 0.6  92/11/10  21:47:34  21:47:34  bt (Bo Thide')
  7. # Bug fixes. Added -R option. Better font handling.
  8. # Revision 0.5  92/11/09  16:25:21  16:25:21  bt (Bo Thide')
  9. # Rewrite of dospecial.c. Extended \special support
  10. # Revision 0.4  92/11/08  02:45:13  02:45:13  bt (Bo Thide')
  11. # Changed to portable bit manipulations. Replaced strrstr for non-POSIX compliant C. Fixed numerous bugs. Added support for more \special's.
  12. # Revision 0.3  92/08/24  12:45:21  12:45:21  bt (Bo Thide')
  13. # Fixed 8 bit (dc font) support.
  14. # Revision 0.2  92/08/23  17:28:52  17:28:52  bt (Bo Thide')
  15. # Source cleaned up.  Changed certain function calls.  Removed globals.
  16.  
  17. This driver, called 'dvi2pcl', is able to download fonts both
  18. dynamically and permanently.  There is a file called
  19. '/usr/local/lib/tex/reslj.fnt' which contains information about which
  20. fonts are permanently downloaded in the laser printer before 'dvi2pcl'
  21. is used for the first time.  
  22.  
  23. The format of the font info file reslj.fnt is as follows:
  24.  
  25. fontname size fontnumber orientation [ROM]
  26. MEMORY freemem
  27.  
  28. For example:
  29.  
  30. cmr6 300 1 P
  31. cmr8 300 2 P
  32. cmr10 300 3 P
  33. cmr11 300 4 P
  34. cmr12 300 5 P
  35. cmbx12 300 6 P
  36. cmti10 300 7 P
  37. cmti12 300 8 P
  38. cmsy6 300 9 P
  39. cmsy8 300 10 P
  40. cmsy10 300 11 P
  41. cmsy12 300 12 P
  42. cmmi6 300 13 P
  43. cmmi8 300 14 P
  44. cmmi10 300 15 P
  45. cmmi12 300 16 P
  46. MEM 2367054
  47.  
  48. The above file would indicate that 'cmrs' at a size of 300 dpi is
  49. downloaded permanently in the portrait modes with font ID number 1 in
  50. the laser printer.
  51.  
  52. If you plan not to use the pre-downloading feature (at this stage this is
  53. strongly recommended!), change the 'reslj.fnt' file to the single line:
  54.  
  55. MEM2560000
  56.  
  57. A copy of this file is included in this package.  Move it to
  58. /usr/local/lib/tex.  Of course, the fonts that are not in ROM, yet
  59. mentioned in the file, must be downloaded before any TeX jobs are run.
  60. The pk_crereslj command will create a file called
  61. '/usr/local/lib/tex/initlj.fnt' which contains the quick commands to
  62. download the fonts mentioned in '.../reslj.fnt'.  These programs must be
  63. run every time the 'reslj.fnt' file is modified, and at installation.
  64. The created 'initlj.fnt' file must be sent over the queue before any TeX
  65. jobs, and again after every laser printer power cycle or crash.
  66.  
  67. The files from which the font information is loaded are given in 'paths.h':
  68.  
  69. #define fontpath "/usr/local/lib/tex/fonts/pk300"
  70. #define tfmpath  "/usr/local/lib/tex/fonts/tfm/"
  71. #define defaultpk "/usr/local/lib/tex/fonts/pk300/10pt/cmr10.300pk"
  72. #define defaulttfm "/usr/local/lib/tex/fonts/tfm/cmr10.tfm"
  73. #define respath  "/usr/local/lib/tex/reslj.fnt"
  74. #define initpath "/usr/local/lib/tex/initlj.fnt"
  75.  
  76. For more info, read the man page (dvi2pcl.1).
  77.  
  78.  Uppsala 8 November, 1992
  79.  
  80. ---
  81.    ^   Bo Thide'--------------------------------------------------------------
  82.   |I|        Swedish Institute of Space Physics, S-755 91 Uppsala, Sweden
  83.   |R|    Phone: (+46) 18-303671.  Fax: (+46) 18-403100.  IP: 130.238.30.23
  84.  /|F|\          INTERNET: bt@irfu.se      UUCP: ...!mcvax!sunic!irfu!bt  
  85.  ~~U~~ ----------------------------------------------------------------sm5dfw-
  86.