For Programmers: Free Programming Magazines  


Home > Archive > PostScript > January 2006 > Wrong page order in PDF?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Wrong page order in PDF?
andreas.baus@meta-level.de

2006-01-19, 8:02 am

Hi.

I've created my own little "universal PDF converter" system; it's based
on Windows and uses the Adobe Generic PS Printer driver to allow
printing a document to PostScript, and then a custom Port Monitor DLL
that I created automatically calls Ghostscript once the print job is
done to convert the PS to PDF. And it works quite well, but something
that's bothering me is that for some reason, the pages in the final PDF
end up being in the wrong order. The Adobe driver has two settings for
page sort order, which are "front-to-back" (the default) and
"back-to-front". Now, I'd assume the former means that the pages are
ordered in a way that page 1 is the first and the last page ... well,
the last one, but in the end result it's exactly the other way around.
So to get the "right" sort order, I have to select what (intuitively)
seems to be the wrong option. Now, this is just a minor cosmetic flaw,
but I'd still like to know if this behaviour is by design or whether I
made a mistake somewhere, e.g. in configuring the printer driver or
GhostScript. If anyone has an idea, I'd love to hear it. Thanks.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com