php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56485 Printer functions Problem, printer_set_option does not work
Submitted: 2005-08-10 04:06 UTC Modified: 2005-10-01 05:52 UTC
From: hawk_master at web dot de Assigned:
Status: Not a bug Package: PECL bug system (PECL)
PHP Version: 5.0.1 OS: Win XP Prof
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 04:06 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-10-01 05:52 UTC] dufuz@php.net
This has nothing to do with the PEAR website.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 10:01:29 2024 UTC