From:             hawk_master at web dot de
Operating system: Win XP Prof. SP2
PHP version:      5.1.0b3
PHP Bug Type:     Unknown/Other Function
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://bugs.php.net/?id=34057&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34057&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34057&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34057&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34057&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34057&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34057&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34057&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34057&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34057&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34057&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=34057&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=34057&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34057&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34057&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34057&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34057&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34057&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34057&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34057&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34057&r=mysqlcfg

Reply via email to