WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Franais)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Need a Plugin to create pdf Files (Read 7901 times)
schaedelaua
YaBB Newbies
*
Offline



Posts: 5
Need a Plugin to create pdf Files
Apr 11th, 2011 at 4:19pm
 
Hallo everybody,

i will use WD to watch incoming faxdocuments in an folder. But, the files are ".tif" Files. Thats an Output from my Fax.

Is it possible to make an pdf File of these ??

Bob


sorry about my school english Roll Eyes

EDIT: I have allready the full Verison of Adobe Acrobat 9.0. Also an pdf Printer.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Need a Plugin to create pdf Files
Reply #1 - Apr 12th, 2011 at 7:06am
 
Hello Bob,

Some time ago I wrote a blogpost about this. Please see
http://blog-en.gdpsoftware.com/2009/04/convert-tiff-to-pdf.html

(or in German: http://blog-de.gdpsoftware.com/2009/10/tiff-in-pdf-wandeln.html )

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
schaedelaua
YaBB Newbies
*
Offline



Posts: 5
Re: Need a Plugin to create pdf Files
Reply #2 - Apr 12th, 2011 at 6:39pm
 
Hallo Gert,

many, many thanks to you. It works  Grin
With the actuall Version of IrfanView it will appear a window where i have to klick "save". After this it will create the pdf File.

Is there any Chance that the window will NOT appear ? Then this will be completely automatic.

Thank You
Back to top
 
 
IP Logged
 
Dirk
YaBB Administrator
*****
Offline



Posts: 658
South Germany
Re: Need a Plugin to create pdf Files
Reply #3 - Apr 12th, 2011 at 9:10pm
 
Hello Bob,

can you please post or email me the script you are actual using?
Back to top
 

Viele Gre / Best regards
Dirk - GdP Software

dirk [at] gdpsoftware [dot] com
http://blog-de.gdpsoftware.com
Webseite: http://www.gdpsoftware.com
WWW WWW  
IP Logged
 
schaedelaua
YaBB Newbies
*
Offline



Posts: 5
Re: Need a Plugin to create pdf Files
Reply #4 - Apr 12th, 2011 at 9:34pm
 
Hallo,

OK here ist the script:

rem The Irfanview script:
@echo off
IF "%WD_FILE_E%" NEQ "TIF" (
   IF "%WD_FILE_E%" NEQ "TIFF" GOTO :EOF
)
rem where is Irfanview installed???
SET IMADIR=C:\Program Files (x86)\IrfanView

"%IMADIR%\i_view32.exe" "%WD_FILE%" /convert="%WD_FILE_D%\%WD_FILE_B%.pdf"
IF %ERRORLEVEL% NEQ 0 GOTO :EOF

rem if you want to remove the tiff after it has been converted
rem uncomment (remove the "rem") the next line
DEL "%WD_FILE%"

In my Office i use WINxpPRO and the latest Version of IrfanView. But the script is the same.

The script that i posted is from my Laptop (64bit) at home. Here it works very fine with latest Version of IrvinView
At Home i use the Plugin "ImPDF 0.40". Great.

When I change the Plugin in my Office, it doesnt work at all. An Error Message will appear. An Saving Error. Embarrassed

Also when i use the original Plugin of ImPDF fromf the Plugin.zip from the Website -> Doesnt Work

Oh man..... Now i have more Problems......

Many thanks for help.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Need a Plugin to create pdf Files
Reply #5 - Apr 12th, 2011 at 9:44pm
 
Bob,

I am afraid you are not making any sense.

Quote:
"ImPDF 0.40"


What *is* ImPDF? Suddenly you start talking about that??! This is highly confusing.

Quote:
When I change the Plugin in my Office, it doesnt work at all. An Error Message will appear. An Saving Error.

What plugin?
What error message? Please be specific.

Are you still using IrfanView or are you trying something different....


Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
schaedelaua
YaBB Newbies
*
Offline



Posts: 5
Re: Need a Plugin to create pdf Files
Reply #6 - Apr 12th, 2011 at 10:04pm
 
Hallo,

ImPdf.dll is the dll who use IrfinView to make pdf's (http://www.comsquare.ch/index.php?option=com_content&task=view&id=20&Itemid=39

On both machines the latest Version of ghostscript is installed. When i use the ImPdf Version 0.40 at home it works great. No Window or error will appear. thats Fine

At my Office nothing works.

Thanks for ideas
Back to top
 
 
IP Logged
 
Dirk
YaBB Administrator
*****
Offline



Posts: 658
South Germany
Re: Need a Plugin to create pdf Files
Reply #7 - Apr 13th, 2011 at 7:56am
 
Hi Bob,

I just made some test on my x64 Windows 7 and I can confirm that irfanView is showing a popup when converting into pdf using command line. (IrfanView 4.28, in earlier versions I have never seen this popup)
Note that you only need to install IrfanView and IrfanView Plugins, no other stuff like ghostscript or so.

Even as this problem is not a WatchDirectory issue I will try to find a way for you to solve it. Maybe I need to talk to Irfan about it.
Back to top
 

Viele Gre / Best regards
Dirk - GdP Software

dirk [at] gdpsoftware [dot] com
http://blog-de.gdpsoftware.com
Webseite: http://www.gdpsoftware.com
WWW WWW  
IP Logged
 
Dirk
YaBB Administrator
*****
Offline



Posts: 658
South Germany
Re: Need a Plugin to create pdf Files
Reply #8 - Apr 13th, 2011 at 11:05am
 
Hi Bob,

as a "quick and dirty" workarrond please install IrfanView+IrfanView Plugins Version 4.00 (use your favorite search engine to find such a version in the web, you will not find it at irfanview website as far as I can see). Version 4.00 (and maybe a later version) does not have this popup! Install it "on top".

Make a folder c:\test
copy a tif file called "test.tif" in that folder.
open a dos box and type:

c:\programme\irfanview\i_view32.exe c:\test\test.tif /convert=c:\test\test.pdf

You should get your pdf file in test folder. If this runs fine for you, use WatchDirectory for automatically convert tif into pdf files.

As soon as I get an answer from Irfan Skiljan about how to prevent IrfanView 4.28 from showing thes annoying popup I will come back to you.
Back to top
 

Viele Gre / Best regards
Dirk - GdP Software

dirk [at] gdpsoftware [dot] com
http://blog-de.gdpsoftware.com
Webseite: http://www.gdpsoftware.com
WWW WWW  
IP Logged
 
schaedelaua
YaBB Newbies
*
Offline



Posts: 5
Re: Need a Plugin to create pdf Files
Reply #9 - Apr 13th, 2011 at 1:34pm
 
Hallo Guys,

At First: The Problem is sitting in  front of the computer  Undecided

I solved it today morning. After reinstalling the Irfanview and all plugins, i done an insatlling with the actuall versions of it.

When i convert an testfile of .tiff in an pdf with Ifanview it shows a small window right.
There uncheck the box to "forecast".

When i do now a job with watchDirectory, the popup will not appear and the pdf file will create automaticly.

Thats it.

Now i have to say many thanks to all user who helped me.
This Forum is great  Smiley

Thanks a lot of all.

Bob
Back to top
 
 
IP Logged
 
Dirk
YaBB Administrator
*****
Offline



Posts: 658
South Germany
Re: Need a Plugin to create pdf Files
Reply #10 - Apr 13th, 2011 at 2:13pm
 
Thanks Bob for letting us know. I can confirm that this solve the problem - exact this I also got from Irfan Skiljan 20 minutes ago.

For all other who run into this problem:
Install IrfanView, open a file and save it as "pdf". Now a window appears where you have to set: "not needed" (look at attached screenshot)
After this setting is made, the WatchDirectory script can save the pdf without any popup window.

The funny thing is: when the popup window is opened by the script (and not by the GUI) the tab "General" is missing, so you cannot make the needed settings.
Back to top
 

irfanview.png (25 KB | )
irfanview.png

Viele Gre / Best regards
Dirk - GdP Software

dirk [at] gdpsoftware [dot] com
http://blog-de.gdpsoftware.com
Webseite: http://www.gdpsoftware.com
WWW WWW  
IP Logged
 
Page Index Toggle Pages: 1