🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20669

Re: Number pages of a pdf in VB

#20669
From: Olav Kvern
Date: Tue, 02 Jul 2002 18:04
11 lines
1317 bytes
Gary-- 

Unfortunately, that's not what happens. The PDF import filter does not produce an error when the page you request is greater than the number of pages in the PDF--it just places page 1. This is a bug. 

Edo-- 

I had thought that the archives contained a number of approaches to solving your problem, but now I can't find them--probably because the forum search feature is so bad, but possibly because they've been deleted. I'll have to dig through my old scripts to find them--they rely on parsing the PDF (which is just text, after all) and finding the number of pages. 

Thanks, 

Ole
Technical Details
Message-ID: <ef96c8c.1@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-05!sn-xit-06!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef96c8c.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,ca4fb2ac947506b1
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-07-02 11:12:03 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-05!sn-xit-06!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Number pages of a pdf in VB
Message-ID: <ef96c8c.1@WebX.aaQKaf7vad4>
Date: Tue, 2 Jul 2002 11:04:20 -0700
References: <ef96c8c.-1@WebX.aaQKaf7vad4>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit