printer_select_font(3) php man page | unix.com

Man Page: printer_select_font

Operating Environment: php

Section: 3

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
dtk_destroy_font(3) - debian
dtk_load_font(3) - debian
imagepsextendfont(3) - php
printer_draw_chord(3) - php
printer_draw_rectangle(3) - php
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun