User login

Who's online

There are currently 1 user and 116 guests online.

Online users

Advertisements


SourceForge.net Logo

PDFCreator 0.9.5 - PHP/COM

Submitted by ag on Thu, 2008-02-07 10:32.

Hello,

I've a problem with PHP and COM, here is my code :

$PDFCreator = new COM("PDFCreator.clsPDFCreator");
$PDFCreator->cStart("");

$PDFCreatorOptions = new COM("PDFCreator.clsPDFCreator");
$PDFCreatorOptions = $PDFCreator->{cOptions};
$PDFCreatorOptions->{UseAutosave} = 1;
$PDFCreatorOptions->{UseAutosaveDirectory} = 1;
$PDFCreatorOptions->{AutosaveFormat} = 0;

$DefaultPrinter = $PDFCreator->cDefaultPrinter();
$PDFCreator->cDefaultPrinter = "PDFCreator";
$PDFCreator->cClearCache();

$PDFCreatorOptions->{AutosaveFilename} = "";

And to save all options :
$PDFCreator->{cOptions} = $PDFCreatorOptions;

but this line return the error :
"Warning: main(): PropPut() failed: Membre introuvable"

Could someone help me please ?

Thanks.

© 2006 by pdfforge.org :: Contact us

Validate XHTML or CSS.