🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #51

Re: Wish to print all even pages in Framemaker/Postscript -- EZ solution

#51
From: Gerhard Moeller
Date: Thu, 29 Oct 1992 08:09
73 lines
3366 bytes
Some people asked for printing even (and odd) pages. Well, there is a
formidable set of psfunctions on the archives, one of them called
"psselect", which I use almost always to save paper; here the man page: 

----------------------------
PSSELECT(1)         UNIX Programmer's Manual          PSSELECT(1)

NAME
     psselect - select pages from a PostScript file

SYNOPSIS
     psselect [ -q ] [ -e ] [ -o ] [ -r ] [ -ppages ] [ infile [
     outfile ] ]

DESCRIPTION
     Psselect selects pages from a PostScript document, creating
     a new PostScript file. The input PostScript file should fol-
     low the Adobe Document Structuring Conventions.

     The -e option selects all of the even pages; it may be used
     in conjunction with the other page selection options.

     The -o option selects all of the odd pages; it may be used
     in conjunction with the other page selection options.

     The -ppages option specifies the pages which are to be
     selected.  Pages is a comma separated list of page ranges,
     each of which may be a page number, or a page range of the
     form first-last. If first is omitted, the first page is
     assumed, and if last is omitted, the last page is assumed.

     The -r option causes psselect to output the selected pages
     in reverse order.

     Psselect normally prints the page numbers of the pages rear-
     ranged; the -q option suppresses this.

NOTES
     Psselect selects pages in the order that they appear in the
     file, starting from one. The actual page number in the docu-
     ment may be different.

AUTHOR
     Angus Duggan

SEE ALSO
     psbook(1), pstops(1)

TRADEMARKS
     PostScript is a trademark of Adobe Systems Incorporated.

BUGS
     Psselect cannot cope with documents longer than 5000 pages.

--------------------------

I can't recall where I got it from, but you should ask archie maybe.
There are other handy programs as well:

gemoe@proximus 23> ls /usr/local/bin/ps*
/usr/local/bin/psbook*    /usr/local/bin/psfix*     /usr/local/bin/psselect*
/usr/local/bin/pscreen*   /usr/local/bin/psnup*     /usr/local/bin/pstops*

(If you cant find anything, but really need it bad, I can Nextmail it to you.)

	Have fun, Gerhard.
--
+---------------------------< principiis obsta! >---------------------------+
N  Gerhard Moeller, Teichstrasse 12, 2900 Oldenburg (FRG) [*: 02/21/1968]   N
e  Private: gemoe@proximus.north.de          Phone (voice): +49-441-75520   e
X  Uni:     Gerhard.Moeller@arbi.Informatik.Uni-Oldenburg.DE                X
T  BITNET:  gmoeller%arbi.informatik.uni-oldenburg.de@DOLUNI1               T
+---------------> NoGeNUG - Northern German NeXT User Group <---------------+
Technical Details
Message-ID: <1992Oct29.080914.4908@proximus.north.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!uniol!proximus!gemoe
References: <HARDY.92Oct27220127@golem.ps.uci.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!uniol!proximus!gemoe
From: gemoe@proximus.north.de (Gerhard Moeller)
Subject: Re: Wish to print all even pages in Framemaker/Postscript -- EZ solution
Message-ID: <1992Oct29.080914.4908@proximus.north.de>
Sender: gemoe@proximus.north.de
Organization: Gerhard Moeller, German NeXT User Group, Oldenburg.
References: <HARDY.92Oct27220127@golem.ps.uci.edu>
Date: Thu, 29 Oct 1992 08:09:14 GMT
Lines: 73