printer_draw_bmp(3) php man page | unix.com

Man Page: printer_draw_bmp

Operating Environment: php

Section: 3

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) - suse
create_bitmap(3alleg4) - php
create_bitmap(3alleg4) - redhat
create_bitmap(3alleg4) - linux
create_bitmap(3alleg4) - plan9
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Nicki Paul to the Moderator Team!