printer_close

(PECL)

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.

例子 1. printer_close() example

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