Re: PHP Printer
| From: | Tijnema ! | Date: | Wed, 14 Mar 2007 16:06:50 +0000 |
| Subject: | Re: PHP Printer | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250590@lists.php.net to get a copy of this message | ||
On 3/14/07, Jim Lucas <lists@cmsws.com> wrote:
Tijnema ! wrote: On 3/14/07, Jim Lucas <lists@cmsws.com> wrote:PHP?", "How do I update the page once a second with PHP?" If you can do that, i wanna see :) TijnemaQuite smart question... people always try to combine server side code (PHP) with client side.. Tijnemaraaj sharma wrote:Sir, I am trying to use printer functions in my script.pls. help me. Theprinter 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 totheprinter [] inC:\apachefriends\xampp\htdocs\Project\Seekitall\printer.phpon 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=396545367You do realize this is going to print to a printer connected to the server, not the client right? -- Enjoy, Jim Lucasgoes along with the question of "How do I open a new window with PHP?" Isn't going to happen!... :) -- Enjoy, Jim Lucas And a lot of other questions, like "How do I make a file browser inDifferent eyes see different things. Different hearts beat on different strings. But there are times for you and me when all such things agree. - Rush -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Different eyes see different things. Different hearts beat on different strings. But there are times for you and me when all such things agree. - Rush