Bug #5052 [NEW]: Printer functions Problem, printer_set_option does not work
| From: | hawk_master at web dot de | Date: | Wed, 10 Aug 2005 08:06:35 +0000 |
| Subject: | Bug #5052 [NEW]: Printer functions Problem, printer_set_option does not work | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-4269@lists.php.net to get a copy of this message | ||
From: hawk_master at web dot de
Operating system: Win XP Prof
PHP version: 5.0.1
Package: Bug System
Bug Type: Bug
Bug description: Printer functions Problem, printer_set_option does not work
Description:
------------
Hi all,
I have PHP 5.0.1 , Apache 2.0.50 on Win XP Prof SP2
I tried some example code with the printer functions
I can print to a printer, but I have no chance to set some options with
"printer_set_option"
I tried also "PRINTER_COPIES"
but no reaction from the printer.
I do not know exact if this is a bug or if the printer functions does
not work correct on XP?
regards
hawk
Reproduce code:
---------------
<?php
$handle = printer_open();
printer_set_option($handle, PRINTER_SCALE, 75);
printer_set_option($handle, PRINTER_TEXT_ALIGN, PRINTER_TA_LEFT);
printer_close($handle);
?>
--
Edit bug report at http://pecl.php.net/bugs/bug.php?id=5052&edit=1
--