php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12951 function: printer_open()
Submitted: 2001-08-24 16:29 UTC Modified: 2001-08-24 19:09 UTC
From: daniel dot lima at campinet dot sp dot gov dot br Assigned:
Status: Not a bug Package: Output Control
PHP Version: 4.0.6 OS: Daniel
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: daniel dot lima at campinet dot sp dot gov dot br
New email:
PHP Version: OS:

 

 [2001-08-24 16:29 UTC] daniel dot lima at campinet dot sp dot gov dot br
I am working with PHP 4.0.6, and I do not obtain to send given of the page for the printer. I use function " PRINTER_OPEN() ", I make the manual in accordance with, exactly thus it gives an error to me of indefinite function. What it can be? 
Fatal error: Call you undefined function:printer_open() 

$print = printer_open(); 
$print = printer_open("LPT1 "); 
printer_write($print, " Test of printer "); 
printer_write($print, " Test of printer "); 
printer_write($print, " Test of printer "); 
$print = printer_close(); 

e this error it even gives to me with function " PRINTER_WRITE() ", could give tips of that he can be happening. 

Yours truly. 

Daniel 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-24 19:09 UTC] derick@php.net
You use the print_open in a wrong way, and that function thus fails.
You should ask support questions on the php-general@lists.php.net mailing list.
Derick
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 23:01:26 2024 UTC