php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34063 Printer functions Problem, printer_set_option does not work
Submitted: 2005-08-10 09:56 UTC Modified: 2005-08-10 10:14 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 Prog
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hawk_master at web dot de
New email:
PHP Version: OS:

 

 [2005-08-10 09:56 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-10 10:14 UTC] tony2001@php.net
Please report PECL related bugs to the PECL bugsystem: http://pecl.php.net/bugs/
Thanks.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 03:00:02 2026 UTC