PHP Printer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sir,
I am trying to use printer functions in my script.pls. help me. The printer is working fine with other documents of ms-word etc.
pls. help me

Thanx 
Raaj

The code is:

<?php
$handle = printer_open("");
printer_write($handle, "Text to print");
printer_close($handle);
?> 

It is giving errors like :

Warning: printer_open() [function.printer-open]: couldn't connect to the 
printer [] in C:\apachefriends\xampp\htdocs\Project\Seekitall\printer.php 
on line 2

Warning: printer_write(): supplied argument is 
not a valid Printer Handle resource in 
C:\apachefriends\xampp\htdocs\Project\Seekitall\printer.php on line 
4

Warning: printer_close(): supplied argument is not a 
valid Printer Handle resource in 
C:\apachefriends\xampp\htdocs\Project\Seekitall\printer.php on line 
5








 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux