php man page for printer_draw_bmp

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 bmp

SYNOPSIS
bool printer_draw_bmp (resource $printer_handle, string $filename, int $x, int $y, [int $width], int $height)
DESCRIPTION
The function draws an bmp.
PARAMETERS
o $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 VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #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_elipse(3) - php
printer_draw_roundrect(3) - php
printer_select_brush(3) - php
create_bitmap(3alleg4) - suse
create_bitmap(3alleg4) - mojave
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
User Guide: Posting in the Emergency Forum
New Code Tags (Syntax Highlighting)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch