note 47840 added to ref.printer

From: Date: Thu, 02 Dec 2004 11:34:38 +0000
Subject: note 47840 added to ref.printer
Groups: php.notes 
Request: Send a blank email to php-notes+get-81267@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/ref.printer.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+47840 Delete -- http://master.php.net/manage/user-notes.php?action=delete+47840&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47840&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47840&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47840&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47840&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47840&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+47840&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#81267) next »