Forum und email

printer_start_doc

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

printer_start_doc — Commence un nouveau document

Description

bool printer_start_doc ( resource $handle [, string $document ] )

printer_start_doc() crée un nouveau document dans la file d'attente de l'imprimante handle . Un document peut contenir plusieurs pages, et il est programmé pour s'imprimer. handle doit être une ressource d'imprimante valide. Le paramètre optionnel document sert à donner un nom au document.

Example#1 Exemple avec printer_start_doc()

<?php
$handle 
printer_open();
printer_start_doc($handle"Mon Document");
printer_start_page($handle);

printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);
?>