[comp.lang.postscript] Postscript Page filters

francis@ircam.fr (Joseph Francis) (05/19/91)

Several times I've read requests for page filters, and I would like to
add my chorus:

Page filtering for
	1: Page collage - combine n pages on a single sheet, by	either
	grouping left-to-right, top-to-bottom, or vice-versa

	2: Page ordering - reverse page order, even-odd page order.

	3: Page Filtering - select page list

	4: Sheaf grouping - Rearrange for sheaves of facing pages: i.e., like
	a newspapaper (example: 24 pages, 2 sheaves:
	(1,12), (2,11), (3,10), (4,9),  (5,8),  (6,7) - sheaf 1
        (13,24),(14,23),(15,22),(16,21),(17,20),(18,19) - sheaf 2
	so you can do simple binding and cutting.

	with a simple call:
	pspager [-coll [c=nxr=m | r=mxc=n] | -select [[N-M](odd|even|reverse|sheaf=nsheaves)]]
	so you can do something like

	cat mywork | pspager -select 1-24(sheaf=2)\ # get 24 sheets in bunches
		|pspager -coll c=2 | tee fullist \  # condense, save
		|pspager -sel  1-(odd) >oddpage     # get odd pages  (front)
	pspager fullist -sel 1-(even) >evenpage     # get even pages (back)

	and get something reduced to two-page blocks on single sheets,
	so you can print front-back sheaves, and bind nicely;

Some of this exists, but not grouped together nicely; if no one has
	done it, I shall.




     




-- 
| Le Jojo: Fresh 'n' Clean, speaking out to the way you want to live
| today; American - All American; doing, a bit so, and even more so.

clewis@ferret.ocunix.on.ca (Chris Lewis) (05/20/91)

In article <1519@ecicrl.ocunix.on.ca> clewis@ferret.ocunix.on.ca (Chris Lewis) writes:
In article <1991May19.114911.8750@ircam.fr> francis@ircam.fr (Joseph Francis) writes:
|Several times I've read requests for page filters, and I would like to
|add my chorus:
|
|Page filtering for
|	1: Page collage - combine n pages on a single sheet, by	either
|	grouping left-to-right, top-to-bottom, or vice-versa

|	2: Page ordering - reverse page order, even-odd page order.

|	3: Page Filtering - select page list

|	4: Sheaf grouping - Rearrange for sheaves of facing pages: i.e., like
|	a newspapaper (example: 24 pages, 2 sheaves:
|	(1,12), (2,11), (3,10), (4,9),  (5,8),  (6,7) - sheaf 1
|        (13,24),(14,23),(15,22),(16,21),(17,20),(18,19) - sheaf 2
|	so you can do simple binding and cutting.

|	with a simple call:
|	pspager [-coll [c=nxr=m | r=mxc=n] | -select [[N-M](odd|even|reverse|sheaf=nsheaves)]]
|	so you can do something like

|	cat mywork | pspager -select 1-24(sheaf=2)\ # get 24 sheets in bunches
|		|pspager -coll c=2 | tee fullist \  # condense, save
|		|pspager -sel  1-(odd) >oddpage     # get odd pages  (front)
|	pspager fullist -sel 1-(even) >evenpage     # get even pages (back)

|	and get something reduced to two-page blocks on single sheets,
|	so you can print front-back sheaves, and bind nicely;

Psxlate, bundled with psroff 3.0, does all of this when combined with
psnup (comp.sources.misc volume 16).  Psxlate *invokes* psnup, so it's
all doable in one invocation.  Ie:

	psxlate -brB -p2 >front < mywork
	psxlate -brE -p2 >back < mywork

Will rearrange the input in sheaf ordering (assuming a reversing printer),
and put the fronts in front, and the second invocation puts the rest in back.
All 2-up.  Psroff 3.0 Pl1's psxlate even understands Begin & End Document.

The only thing psxlate/psnup won't do is top-to-bottom.  Though, psnup
could be easily modified to do that.
-- 
Chris Lewis, Phone: (613) 832-0541, Domain: clewis@ferret.ocunix.on.ca
UUCP: ...!cunews!latour!ecicrl!clewis; Ferret Mailing List:
ferret-request@eci386; Psroff (not Adobe Transcript) enquiries:
psroff-request@eci386 or Canada 416-832-0541.  Psroff 3.0 in c.s.u soon!