note 28294 rejected from function.printer-open by victor
| From: | victor@php.net | Date: | Wed, 08 Jan 2003 17:35:31 +0000 |
| Subject: | note 28294 rejected from function.printer-open by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41843@lists.php.net to get a copy of this message | ||
Hello, i have a webserver miles away from my home with a print script like the understand script.
The paper rolls correct out of "the miles away" printer, but how can the paper also roll
out of my printer at my home?
Which function do i need for that?
<?
$handle = printer_open();
printer_start_doc($handle, "My Document");
printer_start_page($handle);
$font = printer_create_font("Arial",72,48,400,false,false,false,0);
printer_select_font($handle, $font);
printer_draw_text($handle, "dit moet geprintworden", 60, 100);
printer_draw_text($handle, "test", 60, 140);
printer_delete_font($font);
printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);
?>