printer_end_doc

(PHP 4 >= 4.0.4)

printer_end_doc -- Close document

Description

bool printer_end_doc (resource handle)

The function creates a new document in the printer spooler. A document can contain multiple pages, it's used to schedule the print job in the spooler. For an example see printer_start_doc(). handle must be a valid handle to a printer.