[comp.sys.next] Printing on legal-size paper

scott@sage.uchicago.edu (Scott Deerwester) (06/05/90)

I'm having trouble printing a TeX document on legal size paper.  I've
done the obvious, which includes:

% dvips -o manualfeed -o legal file.dvi

The result is that it doesn't apparently know that it's printing on
legal paper, i.e. the output is truncated at about 11 inches, and the
printer thinks that "Papuh is jammed in your printuh."  I even tried:

% dvips -f -o legal file.dvi > file.ps

which does not, of course, work (but which I included to show all of
you attentive net people that I *know* that it doesn't work :-), and
then:

% dvips -o legal file.dvi&
% su
# cd /usr/spool/NeXT/Local_Printer
# link d* file.ps
# : wait until the dvips finishes...
# lprm
# mv file.ps
# ^D
% lpr -M file.ps

Pretty gross, huh?  I've also tried this to a LaserWriter Plus, by
printing the PostScript file, created with the -o manualfeed option
to dvips.  The light blinks for a while and I eventually get a banner
page.

If I can complain a little while I'm here; why doesn't dvips have a -P
option like everything else does?  And why doesn't the -f option work?
-----
Scott Deerwester		| Internet: scott@tira.uchicago.edu
Center for Information and	| Phone:    312-702-6948
   Language Studies		| 1100 E. 57th, CILS
University of Chicago		| Chicago, IL 60637

dgc@euphemia.math.ucla.edu (David G. Cantor) (06/06/90)

In article <9594@tank.uchicago.edu> scott@sage.uchicago.edu (Scott
Deerwester) writes:

	I'm having trouble printing a TeX document on legal size paper. 
	I've done the obvious, which includes:

	% dvips -o manualfeed -o legal file.dvi . . .
------------------------------------------------------------------------
This is one of several related problems with dvips on the NeXT.  To make
legal size work on the NeXT it is necessary that the comment

    %%PaperSize: Legal

appear immediately after the comment

    %%BeginSetup

in the generated postscript.  Similarly, to make manual feed work, you
must insert the comment

    %%Feature: ManualFeed True

in the same section of the generated postscript.

I have modified my own version of dvips to do these things, but haven't
distributed it because I haven't had time to make everything work.  For
example, the combination of legalsize and landscape is still fouled up.

To learn about these arcane mysteries look at the postscript generated
by WriteNow (obtainable by using preview from the print panel).  I might
note, in the interests of arcanity that the above doesn't work when the
moon is full and the tide is low :-).

dgc

David G. Cantor
Department of Mathematics
University of California at Los Angeles
Internet:  dgc@math.ucla.edu