🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #478

Re: selective extract of pages and convert to tiff or pdf for web view

#478
From: Helge_Blischke
Date: Fri, 02 Jul 2004 13:32
28 lines
1472 bytes
Jorge,

the file is DSC compliant. For every group of consecutive pages you
are going to extract, paste the following together:

1. From the beginning of the PS file up to and including the line
%%EndSetup


2. From the line
%%Page: n n
(n n the page count numbers) of the first page to select
up to but excluding the %%Page: comment line of the first
page not to include

3. From the line
%%Trailer
up to the end of the PS file.

This task may be done by any scripting language you are aquainted to;
only make sure that you indices point to the proper file positions.

Remark:
There is one minor bug in the setup section of the PS file:
there is a definefont statement that leaves the fond dictionary
on the operand stack.

Helge
Technical Details
Message-ID: <3bb4ddfd.8@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.agarik.com!news.agarik.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <3bb4ddfd.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,2db84f087b3b5238
X-Google-Attributes: gid10c61a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Helge_Blischke@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.agarik.com!news.agarik.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.postscript.programming
Subject: Re: selective extract of pages and convert to tiff or pdf for web view
Message-ID: <3bb4ddfd.8@webx.la2eafNXanI>
Date: Fri, 2 Jul 2004 06:32:46 -0700
References: <3bb4ddfd.-1@webx.la2eafNXanI>
Lines: 27
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit