Sometimes one would like a certain view when the PDF file is opened. Nothing odd, full screen or such, only a certain zoom/magnification. With some other program I have been able to do this.
The default with PDFCreator is, I think, “Fit Width view”, i.e. the whole width of the page fills the screen (similar to using Ctrl+2 in Adobe Reader), and important, as it is going to show later, the view starts at the top of the page, not where the text starts.
What I would like is: 100 %, real size, start at the top of page, and nothing else changed, all the usual toolbars should be left. Is this possible?
A quick search the other day told me to use “Action before saving” and one of the scripts included with the program. Nifty. Without any changes, running the “AddPDFDocview” script as an action before saving resulted in whole page visible (approx. 66-67 %) and no toolbars. Oh dear.
Now, the author of the program did say “use /FitB instead /Fit” as response to that question. Where? Aha, inside the script (these clever open source script gurus isn’t exactly talkative. It could perhaps been a program parameter in the same dialog box, what do I know …).
f.WriteLine "[ /PageMode /UseNone /Page 1 /View [/FitB] /DOCVIEW pdfmark"
OK “FitB” changes output to 100 %. But some problems are still left. Let’s start with the “no toolbar thing”. Odd to have it disabled as default in the script; I found the following two lines and comment out ( ‘ ) the whole second one, since I did not know if it would take “false” etc.
' Define the viewer preferences (HideToolbar, HideMenubar, HideWindowUI, FitWindow, _ CenterWindow, NonFullScreenPageMode, DisplayDocTitle, Direction (L2R, R2L))
' f.writeline "[ {Catalog} << /ViewerPreferences <> >> /PUT pdfmark"
That worked, now I am close to what I want. All toolbars are in place (to not confuse the recipient of the file), the view is 100 %, BUT the “FitB” start the view at the first text on the page, the view does not start at the top of the page. Could it be that hard to get it to start at the top and still get 100 % (which is why I’m using the script in the first place)?
I know very little about the PDF reference commands etc. There are some others: Fit, FitB, FitBH, FitV, FitH, but when I had to finish that doc. the other day I didn’t want to play peekaboo with one gazillion permutations of the settings since I had to get it done.
The /UseNone above means no bookmarks nor thumbnail images visible which is OK and default, the other ones I don’t know (well /Page 1 means it should start on that page obviously). Perhaps one should use some “Fit” with a range like “0,0” to start at the top, but it seems odd, since it is so common to start at the top.
It’s possible that “Fit” shouldn’t be used to set magnification since we all have different sized monitors, but what to use instead? I checked some of the “Fit” settings but they change the “magnification”, example for FitBH it says: fits the width of the “bounding box” into the window; I don’t get 100 % and start at top.
I can add the PDFCreator vbs script if someone would like to take a look at it.
Yes, I could perhaps create an account (adding to ever increasing account group) at pdfforge.org or even SourceForge.net but they don’t seem to be so active, and surely this must be a simple, common issue and we have some PDFCreator users in The Lounge.