printer_close

Close an open printer connection (PECL)
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.

例 1634. printer_close() example

<?php
$handle
= printer_open();
printer_close($handle);
?>