[comp.text.tex] Side by Side Printing with DVIPS54

wilker@gauss.math.purdue.edu (Clarence Wilkerson) (11/29/90)

With the EmTeX dvihplj driver, I can rotate to landscape, and
print 2 logical (small) pages on one physical 8.5" x 11"
page. This is convenient for preprints. Can one print
multiple logical pages to a physical page with DVIPS54?
I believe the ArborTxt dviPS driver allows this also.
Clarence Wilkerson

jansteen@cwi.nl (Jan van der Steen) (11/29/90)

wilker@gauss.math.purdue.edu (Clarence Wilkerson) writes:

>With the EmTeX dvihplj driver, I can rotate to landscape, and
>print 2 logical (small) pages on one physical 8.5" x 11"
>page. This is convenient for preprints. Can one print
>multiple logical pages to a physical page with DVIPS54?
>I believe the ArborTxt dviPS driver allows this also.
>Clarence Wilkerson

There seems to be some misunderstanding about the responsibility
of a dvi to PostScript filter.

Basically all that dvips (rokicki; version 5.4) will (and should)
do is to provide the user with a convenient interface to any
PostScript device and its associated font libraries.

It will do so by converting your dvi file into a well structured
and well behaving PostScript file consisting of a number of
logical units: the pages of the document.

There are a number of PostScript tools which can manipulate such
well structured PostScript files to produce extra effects like
printing "DRAFT" on each page or printing 2 (4, 8, ...) on one
physical output page.
Yesterday a summary was posted to this group which mentioned
"multips" and "mpage". I tested both and they both work fine with
the output produced by dvips (rokicki; version 5.4).

Contact your local PostScript consultant for more information.


	Jan van der Steen


--
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     Jan van der Steen                 jansteen@cwi.nl
     Centre for Mathematics and Computer Science (CWI)
     Kruislaan 413, 1098 SJ Amsterdam, The Netherlands

rcpt@rw7.urc.tue.nl (Piet Tutelaers) (11/29/90)

wilker@gauss.math.purdue.edu (Clarence Wilkerson) writes:

>With the EmTeX dvihplj driver, I can rotate to landscape, and
>print 2 logical (small) pages on one physical 8.5" x 11"
>page. This is convenient for preprints. Can one print
>multiple logical pages to a physical page with DVIPS54?
>I believe the ArborTxt dviPS driver allows this also.
>Clarence Wilkerson

Here we use `mpage' a program that has appeared on comp.sources.misc. It is available
on the ftp-server hydra.helsinki.fi in pub/archives/comp.sources.misc/mpage. We have
patched the program to improve the facilities for the DIN standard for A4. You can do
all you want and more.

--Piet

Here is the manual page:
.TH MPAGE Local 1/13/87
.SH NAME
mpage \- print muliple pages per sheet on POSTSCRIPT printer
.SH SYNOPSIS
\fBmpage [-1248povsnluaAB] [-Llines] [-Wwidth] [-hheader]
[files...]\fR
.SH DESCRIPTION
.I Mpage
reads plain text files or POSTSCRIPT documents and prints them on a
POSTSCRIPT printer with the text reduced in size so that several
pages apperar on one sheet of paper.  This is useful for
viewing large printouts on a small amount of paper.
.PP
The following options are recognized:
.TP
.B -8
Print 8 normal pages per sheet.
.TP
.B -4
Print 4 normal pages per sheet
.I [default].
.TP
.B -2
Print 2 normal pages per sheet.
.TP
.B -1
Print 1 normal page per sheet (included for symmetry).
.TP
.B -p
Pipe input through
.BR pr ( 1 )
before printing (assumes the input is a text file).
.TP
.B -o
Print an outline around each reduced page
.I [default].
.TP
.B -b
Don't print an outline, so the reduced pages appear on a blank
background.
.TP
.B -v
Print to the standard error output a count of the number of sheets
produced for printing (verbose mode)
.I [default].
.TP
.B -s
Don't print the count of sheets (silent mode).
.TP
.B -n
Print in normal (portrait) mode.  The page is 66 lines long by 80
characters wide by default
.I [default].
.TP
.B -l
Print in landscape mode.  The page is 55 lines long by 132
characters wide by default.
.TP
.B -u
Layout the pages on the sheet so that sucessively numbered pages run
down the sheet (as opposed to left to right).
.TP
.B -a
Layout the pages on the sheet so that sucessively numbered pages run
accross the page from left to right
.I [default].
.TP
.B -A
Prepare output for European A4 sized paper
.I [default].
.TP
.B -B
Prepare output for American Letter size paper.
.TP
.BI -L lines
Adjust the page reduction parameters so that
.I lines
lines will fit in the space of one page.
This overrides the default values normally supplied.  (See the
.B -l
and
.B -n
options.)
If used in conjunction with the
.B -p
option then this value is passed to pr as well.
.TP
.BI -W width
Adjust the page reduction parameters so that a line
.I width
characters long will fit in the space of one page.
This overides the default values normally supplied.  (See the
.B -l
and
.B -n
options.)
If used in conjunction with the
.B -p
option then this value is passed to pr as well.
.TP
.BI -h header
This is used only when the 
.B -p
switch is used and is passed as the "\fB-h\fI\ header\fR" option to
.BR pr ( 1 ).
.PP
The defaults are: mpage -4onaA.
.PP
.ne 10
.I Mpage
also examine the
.B MPAGE
environment variable for default option settings.  Any option or
combination of options can be specified in the
.B MPAGE
environment variable.  In the environment variable,
white space is used as an option delimeter, and no quoting is
recognized.
.PP
Any command line options will override the
.B MPAGE
environment variable.
.SH FILES
/bin/pr	/bin/fold
.br
/usr/tmp/mpageXXXXXX
.SH BUGS
.PP
Suffers under the burden of far too many switches.  (But
.B I
wanted the choices!) 
.PP
Many others, I'm sure.
.SH VERSION
Version 2, Released June 1989.
.SH AUTHORS
Mark P. Hahn (uunet!pyrdc!mark), Pyramid Technology Corportation
.SH MODIFICATIONS
Mpage and this manual page have been adapted by Carel Braam, Eindhoven
University of Technology.
A4 paper is now the default and is handled correctly, -a is the default rather
than -u and a destination printer can no longer be specified; 
it is just as easy to pipe standard output into lpr.