PDA

View Full Version : Tip for much faster opening PDF


ovm
05-28-2005, 02:11 AM
A much better alternative for PDF reading is FoxitReader.
Opens PDF fast, no install (just run the program) and... it is free

http://www.foxitsoftware.com/

gr mario

yosik
05-28-2005, 03:07 PM
Thanks for the link.
Yossi

Stan Hamers
05-29-2005, 06:51 AM
Hello Mario OVM,
Can I run this program also directly from the CD, without installing on the computer?
Do you have a small example or a project where this is programmed, so I can see, how to integrate it in my project.
Already thanks a lot.

ovm
05-29-2005, 02:54 PM
Hoi Stan,

yes, you can run the program directly from CD. Without installing it first.

Just run the program from your project like:

File.Run("AutoPlay\\reader\\foxitreader.exe", "name.pdf", "", SW_SHOWNORMAL, false);


Please read the End User License Agreement in case you want to distribute the program with your CD.
A simple email is enough to get instructions for free distribution.

(Foxit software also have a forum. Read the thread about compressing the program with UPX-it. It will load even faster from CD)

gr mario

tsbpd
05-29-2005, 08:04 PM
I've used with a AMS project on JumpDrives along with OpenOffice.org (http://www.OpenOffice.org) (word, spreadsheet, etc., alternative that will run without an install.)

As Mario mentioned, Please read the End User License Agreement in case you want to distribute the program with your CD.

Tim

Stan Hamers
05-30-2005, 01:47 AM
Hallo Mario OVM
:yes Bedankt / Thank you very much for your example.
I will check the forum and the End User License Agreement.

Gr.
Stan

Stan Hamers
05-30-2005, 02:16 AM
Hallo Mario OVM
:yes Bedankt / Thank you very much for your example.
So I have to make an extra separate map in “Autoplay” where I put in the program to run it from the CD?
I will check the forum and the End User License Agreement.

Gr.
Stan

duncan_ellison
05-30-2005, 05:32 AM
This looks pretty good and works better for me when I display in a web object than acrobat, but ......

a) does anyone know how to print a pdf directly from foxit ?

I used simply used File.Print("IR2110_spec_sheet.pdf") under acrobat, but doesn't seem to work under Foxit.

b) If I make Foxit the default pdf viewer I can open pdf files under foxit in a web object. But I can't presume to make this change on my end-user's machines. How can I open a pdf with foxit within a web object programatically ?

(I'm trying to make a pop-up window appear on top of the existing one when the user hits a button to view the pdf of the product he's looking at)

ovm
05-30-2005, 02:44 PM
It was not my purpose to change this forum into a forum for FoxitReader.
So please use the Foxit forum for Foxit questions.

Use this forum for direct APMS related questions.

gr mario

Corey
05-30-2005, 02:51 PM
Either way is no problem, feel free to ask/answer questions here if you wish to. :yes

ovm
05-30-2005, 04:24 PM
a) does anyone know how to print a pdf directly from foxit ?
I used simply used File.Print("IR2110_spec_sheet.pdf") under acrobat, but doesn't seem to work under Foxit.

b) If I make Foxit the default pdf viewer I can open pdf files under foxit in a web object. But I can't presume to make this change on my end-user's machines. How can I open a pdf with foxit within a web object programatically?

a) Foxit Reader doesn't support automatically printing for now.

b) How do you do that with Acrobat Reader? This function can be disabled in AR.

Intrigued
05-30-2005, 04:26 PM
I use, when needed, Flash paper 2 (costs) for my replacement needs with regards to Acrobat Reader docs. My end-users can print, zoom in and out, and highlight the text/copy to clipboard. (Version 2 needed for all stated features)

Load time? Quick!

:yes

duncan_ellison
05-30-2005, 04:50 PM
OK - so I've established that I can use Foxit to display, but not to print from AMS.

Thanks for the input guys, it wasn't my intention to hijack the thread.

Corey
05-30-2005, 04:55 PM
No such thing as a hijacked thread in this forum, we like for people to go off on whatever tangent strikes their fancy. It broadens the scope of the forum and ends up in some pretty interesting discoveries. :) :yes

duncan_ellison
06-01-2005, 02:58 AM
In that case .... does anyone know how to solve this one ?

I have a web object which is blank and not visible "floating" over a page. When the user presses a button, if fire off :

Web.LoadURL("PDF Window", "TA2020_spec_sheet.pdf");
Web.SetVisible("PDF Window", true);

which works fine except that I get all the Adobe toolbars and paragraph tabs which detracts from the presentation somewhat.

If I use Foxit to load the pdf, I get a nice clean display with no toolbars etc, but I can't find a way to drive the foxit reader from within a web object.

The whole idea is to use a floating window rather than jump to another page so that the user doesn't lose track of where he is in the navigation.

ovm
06-01-2005, 05:11 PM
but I can't find a way to drive the foxit reader from within a web object.

What do you mean with this?

duncan_ellison
06-02-2005, 02:11 AM
OVM, I mean that I have a web object with a blank URL, which is invisible when the page loads.

When the user presses a button, I fire off :

Web.LoadURL("PDF Window", "TA2020_spec_sheet.pdf");
Web.SetVisible("PDF Window", true);

Since Adobe Acrobat is registered as the default PDF viewer, the above document just opens up in the web object. Nice, but you get all the usual Adobe start up crap and then the adobe toolbars at the edge of the window - distracting.

If I run Foxit to open the document, it's quick and doesn't have the toolbar stuff or the splash screens.

However, I don't want to force the user to register Foxit as his default viewer, so I want to run Foxit from its .exe and load the document into the web object "on the fly".

I realise that a separate page could easilly be arranged to do this, but the whole point is that the user does not have to navigate away (and back) from the page he's on.

Philo
06-02-2005, 03:52 AM
looks like the license agreement does not allow that.

3. CONDITIONS: To be licensed to use Foxit PDF Reader, You must:
a) Not modify any part of Foxit PDF Reader;
b) Agree to release Foxit from all liability caused directly or indirectly
by using Foxit PDF Reader;
c) Not controlling Foxit PDF Reader from other application, except launching
Foxit PDF Reader;

You may have to pay for the dll version to achieve what you want

duncan_ellison
06-02-2005, 03:55 AM
Well, I did see that as well, but I don't see how this breaches the license as all I am trying to do is launch it from AMS

Philo
06-02-2005, 03:59 AM
does lauching it and telling it to open a specific file count as controlling it?

duncan_ellison
06-02-2005, 04:04 AM
Well, if that's acheived via a published command line interface, I would say not, but I guess only Foxit could say what their position would be.

yosik
06-02-2005, 04:16 AM
I have 2 suggestions:
1. Why not use flash paper instead and have a flash object in AMS ?
2. If you NEED to remain with PDF, why not launch Foxit as an external program with File.Run action and position and size that external window as you want?

Yossi