php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35259 This code is throwing fatal error..I dnt know Y it is happening ? Pls help me.
Submitted: 2005-11-17 13:26 UTC Modified: 2005-11-18 06:42 UTC
From: smksankar at yahoo dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.0.5 OS: windows
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: smksankar at yahoo dot com
New email:
PHP Version: OS:

 

 [2005-11-17 13:26 UTC] smksankar at yahoo dot com
Description:
------------
Hi,
This code is throwing fatal error..I dnt know Y it is happening ? Pls help me..

This is the code...

<?
$str1="I am good man";
$handle=printer_open();
printer_start_doc($handle,"footer.php");
printer_start_page($handle);
printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);
?>

Its giving the error..
Error :
Fatal error: Call to undefined function printer_open() in c:\wamp\www\everfinn\sans\school\school_view.php on line 16


Please help me anybody..

I installed php_installer.php in PHP Folder.

Thanks and Regards,
Stephen Raj

Reproduce code:
---------------
This is the code...

<?
$str1="I am good man";
$handle=printer_open();
printer_start_doc($handle,"footer.php");
printer_start_page($handle);
printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);
?>

Expected result:
----------------
Just I want to print some contents.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-17 13:28 UTC] tony2001@php.net
Obviously, you need to install php_printer.dll to be able to use it.
 [2005-11-17 13:58 UTC] smksankar at yahoo dot com
Hi,,Thanks for ur Reply.
I already installed php_installer.php..what can i do next ?

:)
 [2005-11-17 14:13 UTC] smksankar at yahoo dot com
Sorry..I already installed php_printer.dll
 [2005-11-18 06:42 UTC] smksankar at yahoo dot com
Please Help me ...Still I am in Problem..
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 05:01:33 2025 UTC