[comp.sys.next] Printing long

charlie@wam.umd.edu (Charles William Fletcher) (03/07/91)

I am trying to print pages on legal size paper using a manual feed-
how do I tell the printer that the page length so that the bottom
isn't cut off?

Of course, if I was in Edit, WN, FrameMaker, etc. I would just call
up "PageLayout" and set the parameters. But if I create a page (say
in emacs of either PS or just text) how do I do this? I have checked
all the docs I can think of including DL and man--Does this relate
to an earlier thread on finding the parameters controlled by 'dwrite'?

Do I need to write a special printcap entry to handle these cases? 
There must be an easy way I'm missing.

Any help would be appreciated.

Thanks
(Frustrated) Charlie

jiro@shaman.com (Jiro Nakamura) (03/08/91)

In article <1991Mar7.135456.13679@wam.umd.edu> charlie@wam.umd.edu (Charles William Fletcher) writes:
>
>I am trying to print pages on legal size paper using a manual feed-
>how do I tell the printer that the page length so that the bottom
>isn't cut off?
>

	If you are using emacs, or any other text editor, to create the
PostScript file, then you should have this in your header:

======== PostScript Header ========
%!PS-Adobe-2.0
%%DocumentFonts: (atend)
%%Pages: 1 1
%%BoundingBox: (atend)
%%DocumentPaperSizes: Legal
%%Orientation: Portrait
%%EndComments
========= End Header =============

	I got this by going into WriteNow, opening a new document, 
specifying Legal size paper, and Print/Saving the PostScript.
	Note: Not all postscript printers support legal size paper because
of memory/space requirements. I think the NeXT Laser Printer has this 
restriction too (it could be the laser engine inside that confines
the paper size). On page 319 of the 2.0 User Reference, it only specifies
A4 and letter size.
	If your printer does support legal size paper and you want it
to be able through the Printer Options, then have a look in the directory
	/usr/lib/NextPrinter/pdf

	These files specify the characteristics of different printers
including page length. You might want to change or make your own file
for your own printer, with the legal paper size option.

	- Jiro Nakamura
	jiro@shaman.com
in these restr



-- 
Jiro Nakamura				jiro@shaman.com
Shaman Consulting			(607) 253-0687 VOICE
"Bring your dead, dying shamans here!"	(607) 253-7809 FAX/Modem

lacsap@plethora.media.mit.edu (Pascal Chesnais) (03/08/91)

In article <1991Mar8.024329.494@shaman.com> jiro@shaman.com (Jiro Nakamura)  
writes:
> In article <1991Mar7.135456.13679@wam.umd.edu> charlie@wam.umd.edu (Charles  
William Fletcher) writes:
> >
> >I am trying to print pages on legal size paper using a manual feed-
> >how do I tell the printer that the page length so that the bottom
> >isn't cut off?

In Mail.app or any other that has a Page Layout menu you can specify the
paper size (quite a few paper size formats,including legal).  This then
prepends to all your print jobs the right preamble (no need to go
and edit by hand)...  Below is the header from Mail.app postscript
file (used the save button in the print panel)...

%!PS-Adobe-2.0
%%Title: Active.mbox
%%Creator: Mail
%%CreationDate: Fri Mar  8 00:49:27 1991
%%For: lacsap
%%DocumentFonts: (atend)
%%Pages: (atend) 1
%%BoundingBox: (atend)
%%DocumentPaperSizes: Legal
%%Orientation: Portrait
%%EndComments

Note that Page layout only affects printing from that particular application.
How the printer engine deals with this, I do not know (dont have
legal size paper!)...

If the app does not support page layout, then you will probably need
to edit it by hand!

pasc

Pascal Chesnais, Research Specialist, Electronic Publishing Group
Media Laboratory, E15-351, 20 Ames Street, Cambridge, Ma, 02139 (617) 253-0311
email: lacsap@plethora.media.mit.edu (NeXT)

mikec@wam.umd.edu (Michael D. Callaghan) (03/08/91)

>	Note: Not all postscript printers support legal size paper because
>of memory/space requirements. I think the NeXT Laser Printer has this 
>restriction too (it could be the laser engine inside that confines
>the paper size). On page 319 of the 2.0 User Reference, it only specifies
>A4 and letter size.
>	If your printer does support legal size paper and you want it
>to be able through the Printer Options, then have a look in the directory
>	/usr/lib/NextPrinter/pdf

I routinely print on Legal Paper (text & graphics) with my NeXT
Laser Printer. It is a real pain, though, trying to use the manual
feed portion of the letter-sized cassette. Much to my surprise
and delight, however, was the fact that my HP Laserjet III Legal
paper cassette slips right in. 

On another note, the NeXT letter cassette makes a wonderful
envelope cassette for HP printers, as well!


-- 
MikeC
_________________________________________________________
Michael D. Callaghan, MDC Designs, University of Maryland
mikec@wam.umd.edu

matthews@lewhoosh.umd.edu (Mike Matthews) (03/08/91)

In article <1991Mar8.024329.494@shaman.com> jiro@shaman.com (Jiro Nakamura) writes:
>	Note: Not all postscript printers support legal size paper because
>of memory/space requirements. I think the NeXT Laser Printer has this 
>restriction too (it could be the laser engine inside that confines
>the paper size). On page 319 of the 2.0 User Reference, it only specifies
>A4 and letter size.

I've seen legal size printouts roll right out of a NeXT laser before.  And
since the memory of the printer is 0, it all depends on your NeXT, where
virtual memory kicks in (however slowly).

>	- Jiro Nakamura
>	jiro@shaman.com

------
Mike Matthews, matthews@lewhoosh.umd.edu (NeXT)/matthews@umdd (bitnet)
------
Yield to Temptation...it may not pass your way again.
		-- Lazarus Long