Query: printer_draw_bmp
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PRINTER_DRAW_BMP(3) 1 PRINTER_DRAW_BMP(3) printer_draw_bmp - Draw a bmpSYNOPSISbool printer_draw_bmp (resource $printer_handle, string $filename, int $x, int $y, [int $width], int $height)DESCRIPTIONThe function draws an bmp.PARAMETERSo $printer_handle -$printer_handle must be a valid printer handle. o $filename - Path to the bitmap. o $x -$x is the upper left x coordinate of the bitmap. o $y -$y is the upper left y coordinate of the bitmap. o $width - The bitmap width. o $height - The bitmap height.RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #1 printer_draw_bmp(3) 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); ?> PHP Documentation Group PRINTER_DRAW_BMP(3)
Related Man Pages |
---|
printer_draw_chord(3) - php |
printer_draw_pie(3) - php |
printer_draw_roundrect(3) - php |
create_bitmap(3alleg4) - opendarwin |
create_bitmap(3alleg4) - redhat |