#30963 [Opn->Bgs]: pdf issue with printer

From: Date: Thu, 02 Dec 2004 20:16:00 +0000
Subject: #30963 [Opn->Bgs]: pdf issue with printer
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-69741@lists.php.net to get a copy of this message
ID: 30963 Updated by: derick@php.net Reported By: ahossain at psisite dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: winxp PHP Version: 5.0.2 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. . Previous Comments: ------------------------------------------------------------------------ [2004-12-02 17:05:25] ahossain at psisite dot com Description: ------------ 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. Reproduce code: --------------- ascii Expected result: ---------------- only pdf page printout (that i see by adobe acrobate reader) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30963&edit=1

« previous php.bugs (#69741) next »