Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!munnari.oz.au!manuel!anucsd!csis!ken From: ken@csis.dit.csiro.au (Ken Yap) Newsgroups: comp.lang.postscript Subject: Re: "Take out" a postion of a PS file? Keywords: Postscript Message-ID: <1991Jun14.062531.2481@csis.dit.csiro.au> Date: 14 Jun 91 06:25:31 GMT References: <.675678144@dutepp1> <1991Jun2.051004.11517@chinacat.unicom.com> <1991Jun6.164938.24218@starnet.uucp> Organization: CSIRO Division of Information Technology Lines: 18 This is very dependent on the PS generating program, but I have success with EPS documents. The structure looks like %! prolog %%Page: NNN page %%Page: NNN+1 page ... So I just use sed to REMOVE the portions I DON'T WANT to print. The prolog must be left intact. By the way I wish toolkit distributors wouldn't send out multi-megabyte PS files. I only had to do this sort of trick because the job kept jamming every 20 or 30 pages. A PS file per chapter would have made life easier and other users in the queue less upset.