note 43297 added to function.printer-set-option
| From: | ck74 at rn2 dot php dot net | Date: | Thu, 17 Jun 2004 01:23:06 +0000 |
| Subject: | note 43297 added to function.printer-set-option | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-71176@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/function.printer-set-option.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43297
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43297&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43297&report=yes
Search -- http://master.php.net/manage/user-notes.php