Article View: adobe.reader
Article #10325Re: PrintWithDialog() method always defaults to "Pages from:1 to:1"
From: Drew_Hodson
Date: Tue, 02 Jan 2007 15:38
Date: Tue, 02 Jan 2007 15:38
5 lines
1515 bytes
1515 bytes
After working on this with Adobe support with one of my customers, the determination was made that the problem is that the print request is submitted before the number of pages is known. There is no good workaround for this unless you know precisely how long it will be until the PDF will be completely available, which is usually impossible due to varying network and system load. If you know that the PDF will always be completely streamed after something 5 seconds, you can use a Javascript setTimeout() statement to delay five seconds then make the PrintWithDialog() call. Since Adobe Support has been made aware of this and has acknowledged that this is an issue, I am hopeful that some workaround will be implemented in a future release.
Technical Details
Message-ID:
<3bc18e13.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossingReferences:
<3bc18e13.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10273d,ec52c6993049272f X-Google-Attributes: gid10273d,public X-Google-Language: ENGLISH,ASCII-7-bit From: Drew_Hodson@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing Newsgroups: adobe.reader Subject: Re: PrintWithDialog() method always defaults to "Pages from:1 to:1" Message-ID: <3bc18e13.1@webcrossing.la2eafNXanI> Date: Tue, 2 Jan 2007 07:38:23 -0800 References: <3bc18e13.-1@webcrossing.la2eafNXanI> Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit