#30963 [NEW]: pdf issue with printer
| From: | ahossain at psisite dot com | Date: | Thu, 02 Dec 2004 16:05:27 +0000 |
| Subject: | #30963 [NEW]: pdf issue with printer | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-69732@lists.php.net to get a copy of this message | ||
From: ahossain at psisite dot com
Operating system: winxp
PHP version: 5.0.2
PHP Bug Type: *General Issues
Bug description: pdf issue with printer
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 bug report at http://bugs.php.net/?id=30963&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30963&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30963&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30963&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30963&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30963&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30963&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30963&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30963&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30963&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30963&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30963&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30963&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30963&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30963&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30963&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30963&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30963&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30963&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30963&r=mysqlcfg