[comp.unix.questions] printing backwards

bruno@tongo.dfrf.nasa.gov (Bruno Chenet) (06/07/90)

                Hello,
                        I was wondering if there is a way to print
a document backwards. By that, I mean the last page being printed first
and the first page last. This would spare me reordering them after they
have been printed out since the laser printer stacks the sheets of paper
with the beginning of the file at the bottom of the stack. I hope that
what I just wrote makes sense!!

        Any suggestions  would be highly appreciated

                        Thanks,  

                                  Bruno

gwyn@smoke.BRL.MIL (Doug Gwyn) (06/07/90)

In article <529@skipper.dfrf.nasa.gov> bruno@skipper.dfrf.nasa.gov writes:
>I was wondering if there is a way to print a document backwards.

Unfortunately, your question was too general.  The general answer is,
no there is no universal UNIX way to do this.  However, in some specific
cases there are ways.  For example, in our environment, page reversal
for output intended for Imagen laser printers can be accomplished in
several different ways, the most convenient being to let the Imagen
printer controller take care of it (since different printer models
delivery paper in different natural order).  You should examine the
manuals that describe the particular printer support you have to see
if your installation supports such a facility.

jik@athena.mit.edu (Jonathan I. Kamens) (06/07/90)

In article <529@skipper.dfrf.nasa.gov>, bruno@tongo.dfrf.nasa.gov (Bruno
Chenet) writes:
|>                         I was wondering if there is a way to print
|> a document backwards. By that, I mean the last page being printed first
|> and the first page last. This would spare me reordering them after they
|> have been printed out since the laser printer stacks the sheets of paper
|> with the beginning of the file at the bottom of the stack. I hope that
|> what I just wrote makes sense!!

  Yes, it makes perfect sense, the problem is that you haven't provided
enough information for anybody to be able to answer your question
reliably.  For example:

1. What brand of Unix are you using?
2. What kind of printer?
3. What kind of file are you trying to print (PostScript, plain text,
   dvi, etc.)?
4. How was the file produced (scribe, latex, idraw, MacPaint, MacWrite,
   by hand, etc.)?
4. What printer queuing software are you using?
5. What command do you normally use to print files?

The number of possible permutations of set-ups, based on the possible
answers to the questions above, is huge.

  I can give you an example, though, of how I would print a file with
the printing order reversed.  We have a program called "psrev" here
which will reverse the printing order of any PostScript file which is a
valid Encapsulated PostScript file.  Also, the dvi2ps filter we use to
convert dvi files (produced by tex or latex) into PostScript has a "-r"
option to print pages in reverse order.  Finally, our ditroff troff
processor also has a "-r" option to reverse the ordering of the pages.

  If any of the above examples have helped, I'm glad.  Otherwise, please
answer some or all of the questions listed above, and I'm sure that I
(and other people) will try to help more :-).

Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8495			      Home: 617-782-0710