[435] in SIPB bug reports

home help back first fref pref prev next nref lref last post

problem with dvi2ps output

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Tue Mar 28 03:03:40 1989

From: tuna@ATHENA.MIT.EDU
Date: Tue, 28 Mar 89 03:01:35 EST
To: bug-sipb@ATHENA.MIT.EDU

i'm using latex to do some writing and would like to (somehow) reverse
the order of the pages spit out by dvi2ps ('cause i'm too lazy to do
it myself, in part, but it does get really annoying with large
documents).

so i tried using the obvious answer: psrev. 

observe the following shell transcript:

> m1-142-14:/mit/tuna/alef/thesis: dvi2ps main | psrev | lpr -P plato
>  [/usr/sipb/lib/tex/ps/dvi.ps][7] [6] [5] [4] [3] [2] [1] 
> psrev: PS file does not begin with a version identifier
> lpr: stdin: empty input file

in the man page for psrev, i'm told that

     psrev reads in a POSTSCRIPT file (or the standard input if
     no file is named), and if the input conforms to the
     POSTSCRIPT file structuring conventions, reverses and
     selects the specified pages for printing and writes the
     resulting file  on the standard output.

presumably, given this statement and the error message shown above,
the output of dvi2ps does not conform to the POSTSCRIPT file
structuring conventions. any idea how to go about fixing this?

thanks

kirk johnson


home help back first fref pref prev next nref lref last post