Well....I'm back....
I ran the following code to test the print function and it work perfectly:
$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);
However, when I tried to make a slight change I get the following error:
Fatal error: Maximum execution time of 30 seconds exceeded in c:\inetpub\wwwroot\test_print.php on line 5
Line five in my editor is: printer_start_page($handle);
I stopped the webserver and re-started it, but the same error occurs. Any ideas what might be happening?
Thanks,
Robert