php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34057 Printer functions Problem, printer_set_option does not work
Submitted: 2005-08-09 21:43 UTC Modified: 2005-08-09 22:59 UTC
From: hawk_master at web dot de Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.1.0b3 OS: Win XP Prof. SP2
Private report: No CVE-ID: None
 [2005-08-09 21:43 UTC] hawk_master at web dot de
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);
?> 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-09 22:59 UTC] sniper@php.net
This is the wrong place to report bugs in extensions found in PECL. Report these at http://pecl.php.net/bugs/
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Dec 01 21:00:01 2025 UTC