john@minster.york.ac.uk (02/25/90)
A member of my department wishes to print more closely to the edge of the paper than the largest page type set-up procedure permits them to. (This is an old LaserWriter with Revision 2 software and an A4 paper tray - explicit use of the `a4' procedure confirms that this is invoked implicitly, as expected). There is, as might be expected, a white margin around the edge of the paper. Reading the PostScript `Red' book (the PostScript LRM published by Addison-Wesley) I note the existence of `framedevice' and `banddevice' procedures. Can anyone out there mail me an example of a program which calls these (supplying a suitable imaging procedure) to establish a page of a given size? Alternatively, is there a reference in which this is discussed? Just how close can you go to the edge of the paper without hitting a memory-size or mechanical limit? I've read the footnote in appendix D of the `Red' book (the Apple LaserWriter device-dependent supplement) which says (p.286): "Other page dimensions can be achieved by explicit invocation of the framedevice operator, described in chapter 6. This requires some care; it should be attempted only after thorough study of the definitions of the built-in procedures letter, legal and note". (Presumably a4, also!). The appendix doesn't list, or say how to obtain, sources of these procedures. I'm not a PostScript internals expert, but I have performed a little PostScript applications programming. We don't subscribe to any PostScript journal, so may have missed any articles about this subject. -------------------------------------------------------------- John A. Murdie +44 904 432752 Dept. of Comp. Sci. ukc!minster!john University of York England
woody@rpp386.cactus.org (Woodrow Baker) (03/01/90)
In article <635958407.437@minster.york.ac.uk>, john@minster.york.ac.uk writes: > A member of my department wishes to print more closely > to the edge of the paper than the largest page type > set-up procedure permits them to. (This is an old LaserWriter > with Revision 2 software and an A4 paper tray - explicit use > of the `a4' procedure confirms that this is invoked implicitly, > as expected). > > There is, as might be expected, a white margin around the > edge of the paper. Reading the PostScript `Red' book > (the PostScript LRM published by Addison-Wesley) I note > the existence of `framedevice' and `banddevice' procedures. > Can anyone out there mail me an example of a program > which calls these (supplying a suitable imaging procedure) > to establish a page of a given size? Alternatively, is > there a reference in which this is discussed? Just how > close can you go to the edge of the paper without hitting > a memory-size or mechanical limit? Generaly, there is a .25 inch border around the paper due to mechanical features of the printer. Amanda has posted a nify goody to do that. I have it somewhere I also posted a way to find the contents of these proceedures /statusdict load {== ==} forall cheer Woody