Ann: pdfview lister plugin released!

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
fnheiden
Senior Member
Senior Member
Posts: 234
Joined: 2003-02-16, 12:06 UTC
Location: Dresden, Germany
Contact:

Ann: pdfview lister plugin released!

Post by *fnheiden »

I've just released pdfview.wlx - a basic lister plugin to display pdf- and ps-files.

You can download it from
http://www.mp3tag.de/download/tc/wlx_pdfview_090.zip

Please read the readme.txt for details.

With best regards,
~ Florian
User avatar
soreno
Junior Member
Junior Member
Posts: 87
Joined: 2003-02-13, 13:04 UTC
Location: Denmark

Post by *soreno »

It does not work with my setup.

I have gs7.04 (GNU version).

How do you search for gs ?
I have a path entry for:

Code: Select all

c:\Program Files\util\gs\gs7.04\lib;C:\Program Files\util\gs\gs7.04\bin;
And the reg entries (sorry for the cryptic syntax):

Code: Select all

HKLM->"SOFTWARE\AFPL Ghostscript\7.04"; ValueType: string; ValueName: "GS_DLL"; ValueData: "c:\Program Files\util\gs\gs7.04\bin\gsdll32.dll"
Root: HKLM->"SOFTWARE\AFPL Ghostscript\7.04"; ValueType: string; ValueName: "GS_DLL"; ValueData: "c:\Program Files\util\gs\gs7.04\lib;c:\Program Files\util\gs\fonts"

Error is:
Could not load the GhostScript environment!
Please make sure, that you have the latest Ghostscript version installed.
User avatar
soreno
Junior Member
Junior Member
Posts: 87
Joined: 2003-02-13, 13:04 UTC
Location: Denmark

Post by *soreno »

I just tried 8.00 and it worked!
User avatar
fnheiden
Senior Member
Senior Member
Posts: 234
Joined: 2003-02-16, 12:06 UTC
Location: Dresden, Germany
Contact:

Post by *fnheiden »

Fine!

I've just tried 7.04 and it worked too on my machine ... weird ;)

~ Florian
User avatar
soreno
Junior Member
Junior Member
Posts: 87
Joined: 2003-02-13, 13:04 UTC
Location: Denmark

Post by *soreno »

FYI:

Since you, the reader, have probably already installed ghostscript why not take advantage of it.
Ghostscript can be used to create PDF files files from anything that prints.
Install a printer that uses postscript (I use "Apple Color LW 12/660 PS") and redirect the output to a file (printer config -> ports -> FILE:).
With path to:

Code: Select all

c:\gs\gs8.00\bin;c:\gs\gs8.00\lib
you can create pdf files with:

Code: Select all

ps2pdf inputfile outputfile.pdf
"inputfile" is the output when you have printed something (which is a postscript file).
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for writing the plugin!

Suggestion: When the user presses F3, the plugin should always show page one. Then when the user presses PageDown AND the scrollbar is already at the end of the page, the plugin should switch to page 2, then page 3 etc! This way you could get rid of the page selection dialog. What do you think?
Author of Total Commander
https://www.ghisler.com
JP
Senior Member
Senior Member
Posts: 273
Joined: 2003-02-13, 09:15 UTC

Post by *JP »

User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

2JP
Thanks! I posted my question, then I've read readme and quickly deleted my post but you were fasterr than me! :)
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

Is it possible to create a complete package including ghostscript and your WLX plugin?
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
User avatar
fnheiden
Senior Member
Senior Member
Posts: 234
Joined: 2003-02-16, 12:06 UTC
Location: Dresden, Germany
Contact:

Post by *fnheiden »

Christian
Good idea! I don't like the pagenum dialog too ...

fabiochelly
I think I'll not do that, because the resulting package would be about ~6MB - and I don't have a domain which gives me unlimited traffic transfer.

Regards,
~ Florian
User avatar
norfie
Power Member
Power Member
Posts: 1194
Joined: 2003-02-18, 14:18 UTC

Post by *norfie »

Last edited by norfie on 2004-09-10, 19:22 UTC, edited 1 time in total.
Geoffrey
Junior Member
Junior Member
Posts: 73
Joined: 2003-02-11, 10:53 UTC
Location: France/Belgium
Contact:

Post by *Geoffrey »

Hello Florian

I've installed your plugin, and everything seems correct, but strangely enough, it's not used for PDF files (it works with ps files, though)
I have disabled other "competitor" plugins, such as IEView, with no success.

Any clue ?

Thanks,
Geoffrey
User avatar
fnheiden
Senior Member
Senior Member
Posts: 234
Joined: 2003-02-16, 12:06 UTC
Location: Dresden, Germany
Contact:

Post by *fnheiden »

norfie
Thanks for the nice words!

I look for several gs-keys in the registry to get the location of the gsdll32.dll:

Code: Select all

1. HKLM\Software\AFPL Ghostscript\n.nn\GS_DLL
2. HKLM\Software\Aladdin Ghostscript\n.nn\GS_DLL
3. HKLM\Software\GNU Ghostscript\n.nn\GS_DLL
Where n.nn is the Ghostscript version.

Regards,
~ Florian
User avatar
fnheiden
Senior Member
Senior Member
Posts: 234
Joined: 2003-02-16, 12:06 UTC
Location: Dresden, Germany
Contact:

Post by *fnheiden »

Geoffrey wrote:... it's not used for PDF files ...
Did you get some error messages?

~ Florian
Geoffrey
Junior Member
Junior Member
Posts: 73
Joined: 2003-02-11, 10:53 UTC
Location: France/Belgium
Contact:

Post by *Geoffrey »

fnheiden wrote:Did you get some error messages?
No, no error message or anything like that. It just does nothing (as if the plugin were not present).

Geoffrey
Post Reply