Printer
PHP Manual

printer_close

(No version information available, might be only in CVS)

printer_close — Close an open printer connection

说明

void printer_close ( resource $printer_handle )

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

参数

printer_handle

printer_handle must be a valid handle to a printer.

返回值

无返回值。

范例

Example#1 printer_close() example

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


Printer
PHP Manual