summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Resource/Init/pdf_main.ps10
1 files changed, 4 insertions, 6 deletions
diff --git a/Resource/Init/pdf_main.ps b/Resource/Init/pdf_main.ps
index e86115aa4..55903d8aa 100644
--- a/Resource/Init/pdf_main.ps
+++ b/Resource/Init/pdf_main.ps
@@ -284,7 +284,7 @@ currentdict /runpdfstring .undef
284{ 284{
285 systemdict /FirstPage known 285 systemdict /FirstPage known
286 systemdict /LastPage known or 286 systemdict /LastPage known or
287 systemdict /Pagelist known or 287 systemdict /PageList known or
288 { 288 {
289 <</DisablePageHandler //true>> setpagedevice 289 <</DisablePageHandler //true>> setpagedevice
290 } if 290 } if
@@ -294,7 +294,7 @@ currentdict /runpdfstring .undef
294{ 294{
295 systemdict /FirstPage known 295 systemdict /FirstPage known
296 systemdict /LastPage known or 296 systemdict /LastPage known or
297 systemdict /Pagelist known or 297 systemdict /PageList known or
298 { 298 {
299 <</DisablePageHandler //false>> setpagedevice 299 <</DisablePageHandler //false>> setpagedevice
300 } if 300 } if
@@ -388,9 +388,8 @@ currentdict /runpdfstring .undef
388 2 2 pdfpagecount { 388 2 2 pdfpagecount {
389 PDFPageList exch 1 put 389 PDFPageList exch 1 put
390 } for 390 } for
391 1 pdfpagecount
392 QUIET not { 391 QUIET not {
393 (Processing even-numbered pages\n) print 392 (Processing even-numbered pages\n) print (1 through ) print pdfpagecount =only
394 (.) = flush 393 (.) = flush
395 } if 394 } if
396 } { 395 } {
@@ -402,9 +401,8 @@ currentdict /runpdfstring .undef
402 1 2 pdfpagecount { 401 1 2 pdfpagecount {
403 PDFPageList exch 1 put 402 PDFPageList exch 1 put
404 } for 403 } for
405 1 pdfpagecount
406 QUIET not { 404 QUIET not {
407 (Processing odd-numbered pages\n) print 1 index =only ( through ) print dup =only 405 (Processing odd-numbered pages\n) print (1 through ) print pdfpagecount =only
408 (.) = flush 406 (.) = flush
409 } if 407 } if
410 } { 408 } {