note 47840 rejected from ref.printer by cece
| From: | cece@php.net | Date: | Thu, 02 Dec 2004 11:35:36 +0000 |
| Subject: | note 47840 rejected from ref.printer by cece | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-81268@lists.php.net to get a copy of this message | ||
Note Submitter: ahossain at psisite dot com
----
How I can send my pdf file to the printer?
$_SESSION['PrintBuffer']= $this->buffer; // in buffer my pdf
$handle=printer_open();
printer_set_option($handle, PRINTER_MODE, "raw");
printer_write($handle, $_SESSION['PrintBuffer']);
printer_close($handle);
unfortunately it prints all ascii char but i want my pdf page printout. If anyone have solution
please let me know.