Re: [NTG-context] option for printing range
On Tue, 27 Feb 2018 09:15:37 +0100 Hans Hagen
On 2/26/2018 8:02 PM, Pablo Rodriguez wrote:
On 02/25/2018 10:51 PM, Hans Hagen wrote:
On 2/25/2018 9:12 PM, Pablo Rodriguez wrote:
[...] The print range for Acrobat is "3,6,9-11" when it should be "2,5,8-10" (the document only contains 10 pages).
is ok here (looking in the pdf file)
I have tested the file in Acrobat XI and since I got the same wrong page ranges, I asked to an Adobe engineer.
He confirmed that the spec is wrong. Page counting for /PrintPageRange should be zero-based and it shouldn’t start from one.
This is only one of many cases for which ISO-32000 is the spec and the Adobe Reader is the de-facto spec. Others affect annotations and rendering.
Sorry for this. Could you correct the implementation? the usual pdf spec rubish ... no one uses it (although tex is often first), they it gets a bugged implementation and then the specs change ... one of the reasons why i don't bother too much in implementing the latest pdf gadgets ... i wasted too much time adapting to changed (interpretation of the) specs
Hans
(I don't officially have the latest spec as i refuse to pay for a pdf specification that could be distributed in pdf format.)
A small detail: The ISO specification for PDF 2.0 also defines the first page in /PrintPageRange to be page number 1 (not 0). :( Cheers, Christoph
On 2/27/2018 7:47 PM, Christoph Reller wrote:
On Tue, 27 Feb 2018 09:15:37 +0100 Hans Hagen
wrote: On 2/26/2018 8:02 PM, Pablo Rodriguez wrote:
On 02/25/2018 10:51 PM, Hans Hagen wrote:
On 2/25/2018 9:12 PM, Pablo Rodriguez wrote:
[...] The print range for Acrobat is "3,6,9-11" when it should be "2,5,8-10" (the document only contains 10 pages).
is ok here (looking in the pdf file)
I have tested the file in Acrobat XI and since I got the same wrong page ranges, I asked to an Adobe engineer.
He confirmed that the spec is wrong. Page counting for /PrintPageRange should be zero-based and it shouldn’t start from one.
This is only one of many cases for which ISO-32000 is the spec and the Adobe Reader is the de-facto spec. Others affect annotations and rendering.
the pdf spec sometimes looks like a mixture between wishful thinking and reverese engineered spec (as there are some real weird constructs in there) anyway, i normally test pdf with an old acrobat X pro (i don't want to lock into some subscription and i don't really need a more modern version) and i preview / print pdf using sumatra pdf (printing houses often use pretty old versions anyway)
Sorry for this. Could you correct the implementation? the usual pdf spec rubish ... no one uses it (although tex is often first), they it gets a bugged implementation and then the specs change ... one of the reasons why i don't bother too much in implementing the latest pdf gadgets ... i wasted too much time adapting to changed (interpretation of the) specs
Hans
(I don't officially have the latest spec as i refuse to pay for a pdf specification that could be distributed in pdf format.)
A small detail: The ISO specification for PDF 2.0 also defines the first page in /PrintPageRange to be page number 1 (not 0). :(
makes me wonder if there was a 0/1 bug in some adobe pdf generator that then defined the standard to have a bug instead -) Hans -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Christoph Reller
-
Hans Hagen