Re: cvs: pecl /printer php_printer.h printer.c
| From: | Philippe MAES | Date: | Tue, 03 Aug 2004 10:24:33 +0000 |
| Subject: | Re: cvs: pecl /printer php_printer.h printer.c | ||
| References: | 1 2 | Groups: | php.pecl.cvs |
| Request: | Send a blank email to pecl-cvs+get-1622@lists.php.net to get a copy of this message | ||
This settings must be validate by a new option : PRINTER_VALID_OPTIONS
ex:
printer_set_option($this->handle,PRINTER_PAPER_FORMAT,PRINTER_FORMAT_CUSTOM);
printer_set_option($this->handle,PRINTER_PAPER_WIDTH,$this->printer_width); printer_set_option($this->handle,PRINTER_PAPER_LENGTH,$this->printer_length); printer_set_option($this->handle,PRINTER_VALID_OPTIONS,0);
Philippe Maes wrote:
All printer setting are usable too (PRINTER_ORIENTATION, PRINTER_SCALE, PRINTER_PAPER_FORMAT...) Frank M. Kromann wrote:fmk Mon Aug 2 16:31:24 2004 EDTModified files: /pecl/printer php_printer.h printer.c Log:Allow stretching of bitmaps by specifying width and height. Patch by Philippe MAES<luckyluke@dlfp.org>