Ciao ragazzi ho trovato qst script in php, perke ho necessita di tradformare un documento testo in pdf,solo che non capisco cosa fa arrivato dalle parti di ActiveDocument.
Innanzitutto Active Document cos'è?
ho provato a trov sul manuale php ma nulla..e Printout???

<?
// starting word
$word = new COM(”word.application”) or die(”Unable to instanciate Word”);
// bring it to front
$word->Visible = 1;
// Select the acrobat distiller as the active printer.
// I presume that you could also use the Acrobat PDF writer // driver that comes with Acrobat full version.
$word->ActivePrinter = “Acrobat Distiller”;
// Open a word document, or anything else that word
// can read
$word->Documents->Open($input);

// This will create a .PS file called $output
$word->ActiveDocument->PrintOut(0, 0, 0, $output);
// If you need a .pdf instead, use the acrobat
// distiller’s watched folder option.
// closing word
$word->Quit();
// free the object
$word->Release();
$word = null;
?>