php man page for printer_select_font

Query: printer_select_font

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PRINTER_SELECT_FONT(3)							 1						    PRINTER_SELECT_FONT(3)

printer_select_font - Select a font

SYNOPSIS
void printer_select_font (resource $printer_handle, resource $font_handle)
DESCRIPTION
The function selects a font to draw text.
PARAMETERS
o $printer_handle -$printer_handle must be a valid printer handle. o $font_handle -$font_handle must be a valid font handle.
RETURN VALUES
No value is returned.
EXAMPLES
Example #1 printer_select_font(3) example <?php $handle = printer_open(); printer_start_doc($handle, "My Document"); printer_start_page($handle); $font = printer_create_font("Arial", 148, 76, PRINTER_FW_MEDIUM, false, false, false, -50); printer_select_font($handle, $font); printer_draw_text($handle, "PHP is simply cool", 40, 40); printer_delete_font($font); printer_end_page($handle); printer_end_doc($handle); printer_close($handle); ?> PHP Documentation Group PRINTER_SELECT_FONT(3)
Related Man Pages
readdir(3) - php
imagepsloadfont(3) - php
printer_draw_elipse(3) - php
printer_draw_roundrect(3) - php
printer_set_option(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Forum Video Tutorial: How to Use Code Tags
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Denial Of Service Attack Update