Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

runrig (3385)

runrig
  dougwNO@SPAMcpan.org

Just another perl hacker somewhere near Disneyland

I have this homenode [perlmonks.org] of little consequence on Perl Monks [perlmonks.org] that you probably have no interest in whatsoever.

I also have some modules [cpan.org] on CPAN [cpan.org] some of which are marginally [cpan.org] more [cpan.org] useful [cpan.org] than others.

Journal of runrig (3385)

Friday December 16, 2005
07:53 PM

PDF Rant

[ #28033 ]

Adobe used to have this thing called PDFWriter which was a print driver that output to a pdf file instead of a printer (It's now "PDF Distiller" which is "far superior"). But if you use it from an application, you may want to skip the "Save File" dialog because you just want to control the file name from the program. It's not possible to skip the dialog in Acrobat version 3 (which is the version I am using), but it was possible in version 4.

So I copied the code which worked for version 4, but the tester was using version 6 (only because the person installing on the test system couldn't get version 7 working). Of course, it didn't work, the "Save File" dialog pops up. After research, I found every version has a different way to suppress this dialog. The version 7 method is (as of this writing) freely available in Adobe's online docs. For the version 6 method you have to pay Adobe $195 for the priviledge of finding out how to do it. Arrgh. Some words come to mind, like "extortion" or "highway robbery" (plus the insanity of having to update your app every time another customer uses your app with another version of Adobe).

If I had my way (and lots of time, which I don't), I'd dump this crap and use the PDF generation tools that are freely available (e.g. XML->XML-FO->fop->PDF). Oh well, back to work ... :-)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.