note 60375 added to function.printer-abort

From: Date: Thu, 05 Jan 2006 08:05:23 +0000
Subject: note 60375 added to function.printer-abort
Groups: php.notes 
Request: Send a blank email to php-notes+get-101239@lists.php.net to get a copy of this message
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 ? ---- Manual Page -- http://www.php.net/manual/en/function.printer-abort.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+60375 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60375&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60375&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60375&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60375&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60375&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60375&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60375&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+60375&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#101239) next »