You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Cyril Rognon <cr...@objectiva.fr> on 2002/07/03 11:12:54 UTC

question about acrobat reader (Sorry for kind of off topic)

Hi foppers,

I a using FOP 0.20.3 with jdk 1.3 or 1.4 and everything works great ! I am 
generating High quality complex PDFs from 30 to 1500 pages at the rate of 
1.8 to 2 pages per seconds. I will try to make some sample file to enhance 
the FOP example gallery. The documents contain many long and complex 
tables, I have a TOC and images and some vertical text using SVG.

However, I have some trouble using Acrobat Reader to print my FOP generated 
PDFs. I must summon it from command line, so I use the famous /p and /h 
option to print it without opening acrobat reader nor showing the print 
dialog. The PDF prints ok.

The trouble is that the "shrink to fit" otpion is set by default and it 
shrinks my documents (93%) !

Does anybody knows how to disable this through command line ?

This happens under windows environement. I use Acrobat reader 5.0. The 
application (a java tool using FOP) runs under Win98, WinNT and Win2K.

Thanks for any hints or answer.

Cyril


Re: question about acrobat reader (Sorry for kind of off topic)

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Cyril Rognon wrote:
> I a using FOP 0.20.3 with jdk 1.3 or 1.4 and everything works great ! I 
> am generating High quality complex PDFs from 30 to 1500 pages at the 
> rate of 1.8 to 2 pages per seconds. I will try to make some sample file 
> to enhance the FOP example gallery. The documents contain many long and 
> complex tables, I have a TOC and images and some vertical text using SVG.
> 
> However, I have some trouble using Acrobat Reader to print my FOP 
> generated PDFs. I must summon it from command line, so I use the famous 
> /p and /h option to print it without opening acrobat reader nor showing 
> the print dialog. The PDF prints ok.
> 
> The trouble is that the "shrink to fit" otpion is set by default and it 
> shrinks my documents (93%) !
> 
> Does anybody knows how to disable this through command line ?
> 
> This happens under windows environement. I use Acrobat reader 5.0. The 
> application (a java tool using FOP) runs under Win98, WinNT and Win2K.
> 
> Thanks for any hints or answer.

Strategy for solving this kind of problem:
- Is the setting persistent? In thiss case: yes.
- It must be stored somewhere. Candidates
   * Windows registry
   * Init file in the progam directory
   * Init file in the Windows System directory
- Use Regedit and search got through
   HKEY_CURRENT_USER
     Software (should be obvious)
       Adobe  (should be obvious too)
         Acrobat Reader
            nnn
              AdobeViewer
- Nothing to see about "fit to page". Open a PDF, open
   the print dialog, uncheck the "fit to page" box, print
   page 1, even page only (nothing will be printed)
- actualize the regedit view. There should be a
   new DWORD key with value 0 there.
- Export the registry branch ewith the key and delete
   everything else in the exported file. You have a
   "unset fit-to-page" registry file now.
- Use regedit to merge the file in another registry.
   Open a PDF. The box should be unchecked now
- you can undo the change by merging a file which sets
  the key to 1.

HTH
J.Pietschmann