note 60376 rejected from function.printer-abort by tularis
| From: | tularis@php.net | Date: | Thu, 05 Jan 2006 09:45:49 +0000 |
| Subject: | note 60376 rejected from function.printer-abort by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-101242@lists.php.net to get a copy of this message | ||
Note Submitter: nicolicioiu dot liviu at gmail dot com
----
I need to print a text and a bmp image in same time. How combines this two?I Try with:
$handle = printer_open("zebra")
printer_start_doc($handle, "My Document"))
printer_start_page($handle)
if(printer_write($handle,"text"){
if(is_dir(LOCAL_CARD_DIR)){
if($dhandle=opendir(LOCAL_CARD_DIR)){
echo "a deschis directorul cu poza";
$file=LOCAL_CARD_DIR.'\\'.LOCAL_CARD_PRINT;
if(file_exists($file))
printer_draw_bmp($handle,$file,0,0)
}else{
echo 'not open dir with picture';
}
}
}
printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);
???
Try someone ?