php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30963 pdf issue with printer
Submitted: 2004-12-02 17:05 UTC Modified: 2004-12-02 21:15 UTC
From: ahossain at psisite dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.0.2 OS: winxp
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ahossain at psisite dot com
New email:
PHP Version: OS:

 

 [2004-12-02 17:05 UTC] 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)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-02 21:15 UTC] derick@php.net
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.

.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 03:01:28 2024 UTC