Quote:
|
the department insists that they receive a printout to their printer when service is requested
|
Yes, this can be done using php. When you are processing the request, you'll need to create a document and send it to the printer.
Check out the printer functions (
http://us2.php.net/manual/en/ref.printer.php).
I believe you would want to do something along the lines of:
PHP Code:
//processed request...now send to printer...
$location = "\\lmcprof2\facmgrpr";
$message = "My message...";
$handle = printer_open($location);
printer_start_doc($handle, "Request Received");
printer_start_page($handle);
$font = printer_create_font("Arial", 72, 48, 400, false, false, false, 0);
printer_select_font($handle, $font);
printer_draw_text($handle, $message, 10, 10);
printer_delete_font($font);
printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);