ID: 50487 Updated by: [email protected] Reported By: imyhchou at gmail dot com -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: WinXP PHP Version: 5.2.11 New Comment:
Report bugs in PECL extensions at http://pecl.php.net/bugs/ Previous Comments: ------------------------------------------------------------------------ [2009-12-16 04:22:15] imyhchou at gmail dot com Description: ------------ I cannot use printer_set_option() to specify the orientation of the paper. Reproduce code: --------------- --- >From manual page: function.printer-set-option#Parameters --- <?php $ptr=printer_open("HP LaserJet 6P"); printer_start_doc($ptr); printer_set_option($ptr,PRINTER_ORIENTATION,PRINTER_ORIENTATION_LANDSCAPE); printer_start_page($ptr); printer_write($ptr,"The letter is sidelong."); printer_close($ptr); ?> Expected result: ---------------- I can specify the orientation of the paper to be sidelong. Actual result: -------------- It doesn't change. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50487&edit=1
