R: [PHP-WIN] Call to undefined function printer_open()
| From: | Darvin Andrioli | Date: | Tue, 19 Apr 2005 13:26:36 +0000 |
| Subject: | R: [PHP-WIN] Call to undefined function printer_open() | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25876@lists.php.net to get a copy of this message | ||
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:glenn.brutyn@telenet.be]
> 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" <glenn.brutyn@telenet.be> wrote in message
> news:20050419121846.84601.qmail@lists.php.net...
> > 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
>
>
>