printer_close

(PHP 4 >= 4.0.4)

printer_close -- Close an open printer connection

Description

void printer_close (resource handle)

This function closes the printer connection. printer_close() also closes the active device context.

handle must be a valid handle to a printer.

Example 1. printer_close() example


$handle = printer_open();
printer_close($handle);