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_abort

(PECL printer SVN)

printer_abortDeletes the printer's spool file

Description

void printer_abort ( resource $printer_handle )

This function deletes the printers spool file.

Parameters

printer_handle

printer_handle must be a valid handle to a printer.

Return Values

No value is returned.

Examples

Example #1 printer_abort() example

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

PHP Manual