PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

printer_close

(PECL printer SVN)

printer_closeClose an open printer connection

Description

void printer_close ( resource $printer_handle )

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

Parameters

printer_handle

printer_handle must be a valid handle to a printer.

Return Values

No value is returned.

Examples

Example #1 printer_close() example

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

PHP Manual