🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #7087

Re: full page printing

#7087
From: Michael Pickers
Date: Sat, 23 Apr 1988 07:17
50 lines
2139 bytes
In article <2929@saturn.ucsc.edu> alibaba@ucscb.UCSC.EDU (Alexander M. Rosenberg) writes:
>
>I have heard of a hack for the Apple LaserWriter to get closer to the edge.
>You need an A4 tray, and some tape. on the left inside of the paper tray
>area of te printer are three feelers that determine the tray type. On the
>tray are two pegs. bridge between them with tape. The printer will now think 
>that you have an American Letter tray. Then print Letter size on an A4 sheet.
>Other than that, don't expect any printer to do this.
>
Oh, you don't need to mess arround in this way to get the same result. The
only thing you need to do is to insert a line in your Postscript code at
the beginning which says:

letter

That's all. This will override the default setting determined by the papertray.
This works on a Apple Laserwriter+ with Rev.37 ROM's. I don't know about
other configurations.

But be aware that this will also offset the origin.

Other valid papersize commands are:

a4
letter
note
legal

You can try it out with the following Poscript code:
--- cut --- cut ----
newpath
/inch { 72 mul } def
/cm { 28.3465 mul } def
/Times-Roman findfont 4 cm scalefont setfont
/sp { 0.9 setgray clippath fill 0 setgray 8 cm 15 cm moveto show showpage } def
letter (letter) sp
note (note) sp
legal (legal) sp
a4 (a4) sp
--- cut --- cut ---

Have fun.


          Michael Pickers
          Computer Science Department, University of Dortmund
          IRB - Informatik Rechner Betriebsgruppe
          4600 Dortmund 50, P.O. Box 500500, W.-Germany
          E-mail address UUCP: mp@unido.uucp (...uunet!unido!mp)
          BITNET: mp@unido.bitnet
Technical Details
Message-ID: <313@laura.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!mcvax!unido!laura!mp
References: <Apr.21.00.14.14.1988.20012@porthos.rutgers.edu> <2929@saturn.ucsc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!mcvax!unido!laura!mp
From: mp@laura.UUCP (Michael Pickers)
Newsgroups: comp.lang.postscript
Subject: Re: full page printing
Message-ID: <313@laura.UUCP>
Date: 23 Apr 88 07:17:33 GMT
References: <Apr.21.00.14.14.1988.20012@porthos.rutgers.edu> <2929@saturn.ucsc.edu>
Reply-To: mp@laura.UUCP (Michael Pickers)
Organization: University of Dortmund, W-Germany
Lines: 50
Summary: Overriding the default pagesize