home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2100 / lj.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-28  |  918 b   |  30 lines

  1. /*    Copyright 1985, 1986, 1987, 1988 16:51:35 Chris Lewis
  2.         All Rights Reserved
  3.  
  4.     Permission to copy and further distribute is freely given provided
  5.     this copyright notice remains intact and that this software is not
  6.     sold for profit.
  7.  
  8.     Project:    Generic Troff drivers
  9.     Module:        lj.h 2.1 90/07/18
  10.     Author:     Chris Lewis
  11.     Specs:        Laserjet Driver definitions
  12.  */
  13.  
  14. /*    We're using decipoints */
  15. #define    LJRESOLUTION    720
  16.  
  17. /*    Troff assumes 7.5" paper width, most macro packages print in
  18.     6.5" area within that.  Sooo, we'll center the paperwidth on the
  19.     physical page - implying .5" inch physical margins.*/
  20. #define    TROFF2LJX(x) (((long) (x)+pageoffset)*LJRESOLUTION/TROFFRESOLUTION)
  21.  
  22. /*    11" paper length */
  23. #define    TROFF2LJY(y) (((long) (y)+pageyoffset)*LJRESOLUTION/TROFFRESOLUTION)
  24.  
  25. extern int ljProlog(), ljEpilog(), ljChar(), ljPage();
  26.  
  27. extern struct troff2befont ljSymFont[], ljStdFont[];
  28.  
  29. extern int fontCount;
  30.