swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] pdf2swf - paths


From: LivingDocs
Subject: Re: [Swftools-common] pdf2swf - paths
Date: Fri, 16 Oct 2009 16:57:58 +0200

$toolsanhang is on Windows ".exe" and on Linux "".

OK, I have to use absolute path.

Thank you.
Benedikt

Am 16.10.2009 um 16:18 schrieb Andreas Haufler (scireum):

Absolute paths should definitely work like "c:\some\dir"...

What's in $toolsanhang? It's appended without a space...

freundliche Grüße
scireum - Ein Unternehmen der TTI GmbH

i.A. Andreas Haufler
Projektleiter scireum

----------------------------------------------------------------------------
---------------------------
TTI GmbH - TGU scireum, Friedrichstr. 8, 70736 Fellbach

Tel: (0711) 69394632  -  E-Mail:   address@hidden
Fax: (0711) 69394635  -  Internet: http://www.scireum.de

TTI GmbH - Zentrale, Nobelstr. 15, 70569 Stuttgart
Geschäftsführer: Prof. Dr.-Ing. Bernd Bertsche, Elgar Rödler
Amtsgericht Stuttgart, HRB 19455


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
LivingDocs
Sent: Friday, October 16, 2009 2:45 PM
To: SWF Tools
Subject: [Swftools-common] pdf2swf - paths

Hello,

I try to use pdf2swf in a PHP script on a Windows system.

I can start pdf2swf.
But there seams to be some problems with the input- and output-paths.

I use the verbose option. But pdf2swf does not output any message.

this is my script:

 for($i = 1; $i < ($seitenzahl + 1); $i++)
 {
        $pdfFilePath = $input_path1 . $pdfname;
        $swfFilePath = $output_path1 . $swfname . $i . ".swf";
        $toolsoptions = " -vvv -g -f -T 8 -j " . $quality . "-p " . $i . "
" . $pdfFilePath . " -o " . $swfFilePath;
        $config = $toolspath . "pdf2swf" . $toolsanhang . ' ' .
$toolsoptions;
        $swfc_meldung = system($config);
 }


My Question is:
What is the corrct path to the PDF ($pdfname)?
And what is the correct output path ($swfFilePath)?

Must they be relativ to the php script?
Or must they be absolut on windows basis (C:kjkjh\nkhkhkh\...)?

Benedikt







reply via email to

[Prev in Thread] Current Thread [Next in Thread]