printer_abort

(PHP 4 >= 4.0.6)

printer_abort -- Deletes the printer's spool file

Description

void printer_abort (resource handle)

This function deletes the printers spool file.

handle must be a valid handle to a printer.

Example 1. printer_abort() example


$handle = printer_open();
printer_abort($handle);
printer_close($handle);