Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

Re: Printing one page

Jan Reimers (resrch!janr@molienergy.bc.ca)
Fri, 30 Jan 98 11:21:51 PST

> Peter Wright wrote:
> >
> > I have a postscript file, that's about 270 pages. When I was printing it
> > one of the pages jamed in the printer. I want to just print that page and
> > not the entire document. Is there a way to do that?
>
> The "psselect" program from Angus Duggan's "psutils" collection allows
> you to take a PS file and select individual pages for printing.
>
> Usage: psselect -p<page-spec> <inputfile> <outputfile>
>
> Note that you have to provide the physical page number, not the page
> number that might happen to be printed on the document.
>
> --
> Dave Michelson AT&T Wireless Services
> davem@ee.ubc.ca Strategic Technology Group
>

One thing I'va always wanted to do with a postscript file is:

1) print the odd numbered pages in forward order.
2) put the printed stack back in the paper tray.
3) print the even numbered pages in reverse order.

This achieves 2 sided printing. I do this with the Lyx text processing
front end to latex. But I think Lyx is generating even and odd pages
at the Tex level as opposed to at the postscript level.

After scanning the "ghostscript" docs for 2^16 hours I found no
mention of how to do this. Will "psselect" allow one to do this at the
postscript level? (Typing -p2,4,6,8,10,12,14,16,20.... on the command
line is not what I'm after.) Will any other package do this (i.e. gv
that others have mentioned)?

Thanks in advance

+--------------------------------------+-------------------------------------+
| Jan N. Reimers, Research Scientist | Sorry, Don't have time to write the |
| Moli Energy (1990) Ltd. B.C. Canada | usual clever stuff in this spot. |
| janr@molienergy.bc.ca | |
+--------------------------------------+-------------------------------------+