Have a look at the example at http://it2.php.net/manual/en/function.printer-draw-text.php it may help you.
Darvin > -----Messaggio originale----- > Da: Nick [mailto:[EMAIL PROTECTED] > Inviato: marted́ 19 aprile 2005 15.04 > A: php-windows@lists.php.net > Oggetto: Re: [PHP-WIN] Call to undefined function printer_open() > > > on a network printer it dont seem to work, but on local he "starts" > printing, the paper goes in :) > but he prints nothing, just an empty page :s:s > > > > "Nick" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > ok i fixed it > > > > i removed php 5.0.1 and installed 5.0.4 and it worked perfect? > > > > now i need to print the file > > > > can some one help me? > > > > $printer = "\\\\GLENN\\hp deskjet 990c"; > > > > $file= $lening[$i]->briefVDABbestand; -> contains an > word document > > $handle = printer_open($printerlocatie); > > printer_start_doc($handle, $bestand); > > printer_start_page($handle); > > > > printer_end_page($handle); > > printer_end_doc($handle); > > printer_close($handle); > > > > this wont work :s:s > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php