void printer_draw_line ( resource printer_handle, int from_x, int from_y, int to_x, int to_y )
The function simply draws a line from position
from_x, from_y to
position to_x, to_y
using the selected pen. printer_handle must
be a valid handle to a printer.
Example 1. printer_draw_line() example
<?php $handle = printer_open(); printer_start_doc($handle, "My Document"); printer_start_page($handle);