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
create_bitmap(3alleg4) - debian
printer_select_brush(3) - php
create_bitmap(3alleg4) - php
create_bitmap(3alleg4) - redhat
create_bitmap(3alleg4) - linux
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!