[comp.lang.postscript] Adobe-Transcript-enscript

usenet@cps3xx.UUCP (Usenet file owner) (07/06/89)

I recently asked for some help in getting Adobe's enscript
command to print landscape on an Apple LaserWriter with
a legal sized paper tray. It truncates at 11" with the following
definitions.

   /* virtual page is 8 x 10.5 inches (for Toshiba compat) */
   #define PageWidth ((long) UperInch*8)
   #define PageLength ((long)((UperInch*21)/2))
   
   /*#define PageLength ((long) ((long) (UperInch*(8*11-3)))/8) */
   /*#define PageWidth  ((long) ((long) (UperInch*(8*17-3)))/8) */
   
   /* true page is 8.5 x 11 inches */
   #define TruePageWidth  (UperInch*17/2)
   #define TruePageLength ((long)(UperInch*11))

I changed PageLength and TruePageLength as follows.
enscript now uses the entire 14 inches of the legal
sized paper but, it now prints only on the top half of the 
page. It appears the the first 30 or so lines are printed
of the edge of the paper.

Can anyone explain this and how to correct it?

   /* virtual page is 8 x 10.5 inches (for Toshiba compat) */
   #define PageWidth ((long) UperInch*8)
   #define PageLength ((long)((UperInch*27)/2))
   
   /*#define PageLength ((long) ((long) (UperInch*(8*11-3)))/8) */
   /*#define PageWidth  ((long) ((long) (UperInch*(8*17-3)))/8) */
   
   /* true page is 8.5 x 11 inches */
   #define TruePageWidth  (UperInch*17/2)
   #define TruePageLength ((long)(UperInch*14))
   
   

Thanks.


John Mireley
MI St. Dept. of Chem.