🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #660

Adobe-Transcript-enscript

#660
From: Usenet file owner
Date: Thu, 06 Jul 1989 12:52
45 lines
1840 bytes


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.
Technical Details
Message-ID: <3670@cps3xx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!netnews.upenn.edu!eecae!cps3xx!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!netnews.upenn.edu!eecae!cps3xx!usenet
From: usenet@cps3xx.UUCP (Usenet file owner)
Newsgroups: comp.lang.postscript
Subject: Adobe-Transcript-enscript
Message-ID: <3670@cps3xx.UUCP>
Date: 6 Jul 89 12:52:35 GMT
Reply-To: mireley@frith.egr.msu.edu ()
Distribution: usa
Organization: Michigan State University, Engineering, E. Lansing
Lines: 45