(PECL printer CVS)
printer_draw_bmp — Draw a bmp
The function draws an bmp.
printer_handle must be a valid printer handle.
Path to the bitmap.
x is the upper left x coordinate of the bitmap.
y is the upper left y coordinate of the bitmap.
The bitmap width.
The bitmap height.
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
Пример #1 printer_draw_bmp() example
<?php$handle = printer_open();printer_start_doc($handle, "My Document");printer_start_page($handle);printer_draw_bmp($handle, "c:\\image.bmp", 1, 1);printer_end_page($handle);printer_end_doc($handle);printer_close($handle);?>