home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume3 / laserjet / part1 / README < prev    next >
Encoding:
Text File  |  1986-11-30  |  3.4 KB  |  73 lines

  1. Following is a driver (filter, postprocessor?) for getting ditroff
  2. output on the HP LaserJet printer. It is by no means a finished
  3. product. It still needs a lot of work, partly for cleanup and partly
  4. for making it really usable.
  5.  
  6. The major drawback of the filter is that the output is GIGANTIC,
  7. because it issues positioning commands for EVERY character. This also
  8. makes the printing EXTREMELY SLOW.  (but don't get discouraged, it's
  9. still usable ...)
  10.  
  11. The only fix to that problem is to use the LaserJet's default spacing
  12. for characters, and add width tables for troff to handle the different
  13. spacings of the LaserJet. This has the advantage of reducing the output
  14. size considerably, along with the time required to print it, BUT - you
  15. also have to settle for the LaserJet's spacing, which is rather wide
  16. and unattractive (*my opinion*).  Also, the width tables I have don't
  17. agree TOO well with vfont - they expect the Sys 5 stuff - so that could
  18. use some work too.
  19.  
  20. The 'draw' functions are not implemented in this filter. I was too lazy
  21. to add them since it's a bit of work and I am not using pic for
  22. anything right now, but if you have the 'draw.c' file that came with
  23. DWB (or maybe the equivalent from Berkeley, which I don't have) than
  24. you can do this yourself.
  25.  
  26. The fonts in rasti10 look nicer than the ones in vfont.  However, the
  27. glyphs are placed in different positions in the font file, so they need
  28. code tables to drive them. I never got around to adding the code
  29. tables, but if I do I'll make them available.
  30.  
  31. There is a 'bug' that I haven't fixed yet - the Laserjet barfs on long
  32. pages. It will not take a positioning command to go to vertical 7600,
  33. for example, even though it's less than 11 inches. I haven't had enough
  34. time to look into this and find out exactly how much it WILL let me
  35. use, but instead I massage all my input files to use a page length
  36. of 10 inches ...
  37. This should not be hard to fix, and if you do, let me know about it.
  38.  
  39. Many people asked for the ^S/^Q filter. I have received many responses
  40. telling me that this can be achieved via the LITOUT bit, and as many
  41. telling me that it can't be achieved through LITOUT because of a bug in
  42. the device driver. I have also received a few versions of fixes for
  43. this problem. I am therefore leaving out this problem, as it seems to
  44. have been dealt with extensively. If anybody REALLY wants it, drop me a
  45. line and I'll mail it to you (along with all the other proposed
  46. solutions I received).
  47.  
  48. Finally, I have lost my HP LaserJet to an AT&T 6300 in an adjacent
  49. office. Rumors are we are getting an X2700 (II), but financial
  50. decisions have not been completed yet. Therefore it seems that
  51. enhancements to this filter will not be top priority in the near future
  52. (anybody want to donate a LaserJet to an educational institute ? :-)
  53.  
  54. If you wish to add the width tables yourself, the information is
  55. available from Hewlet Packard. Just call them.  If you need any info
  56. from me, feel free to contact  me either through the net (uucp address
  57. below) or through the phone...
  58.  
  59. And just one thing. If you do make modifications/enhancements/etc,
  60. PLEASE let me know? send over whatever you have so that we could share
  61. it with the rest of the net?
  62.  
  63. ------------the opinions expressed above etc. etc.  --------------
  64.  
  65.                     Ron Saad  (4Z4UY) Sys Adm -
  66.                     Center for Advanced Technology
  67.                     in Telecommunications
  68.                     Polytechnic Institute of New York
  69.  
  70. UUCP:   ...{ihnp4,seismo}!{philabs,cmcl2}!ron1!ron
  71. MAIL:   333 Jay St.  Brooklyn, N.Y. 11201
  72. PHONE:  (718) 643-7303
  73.