note 43297 deleted from function.printer-set-option by betz
| From: | betz@php.net | Date: | Thu, 17 Jun 2004 07:30:15 +0000 |
| Subject: | note 43297 deleted from function.printer-set-option by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-71203@lists.php.net to get a copy of this message | ||
Note Submitter: ck74 (at) operamail.com
----
It lloks like there are still problems with php_printer functions.
$handle = printer_open();
printer_set_option($handle, PRINTER_SCALE, 75);
printer_set_option($handle, PRINTER_PAPER_FORMAT, PRINTER_FORMAT_CUSTOM);
printer_set_option($handle, PRINTER_PAPER_LENGTH, 145);
printer_set_option($handle, PRINTER_PAPER_WIDTH, 210);
printer_start_doc($handle, "My Document");
printer_start_page($handle);
Neither it does scale NOR it uses custom format. Especially if you use form feed (continious form),
you seems to be in trouble. Sometimes printer print outs untill A4 page ends sometimes it goes on
untill form ends.
CK74