note 95424 rejected from function.printer-open by danbrown

From: Date: Sun, 03 Jan 2010 01:12:10 +0000
Subject: note 95424 rejected from function.printer-open by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-164546@lists.php.net to get a copy of this message
Note Submitter: sakda19 at hotmail dot com ---- HOW TO KICK CASHDRAWER OPEN AFTER PRINTING ..... HELP OR SUGGEST ME PLEASE THIS IS MY CODE FOR PRINTER 's COMMAND if($all_info) { $lines = ""; $lines = explode("\r\n",$all_info); $a="0"; $handle = printer_open("TMU-950 CUT"); printer_start_doc($handle, $orderno); printer_start_page($handle); $font = printer_create_font($printer_font, 11, 11, 0, false, false, false, 0); printer_select_font($handle, $font); for($i=0; $i<count($lines); $i++) { printer_draw_text($handle, $lines[$i], 0, $a,5); $a+=$line_height; } printer_delete_font($font); printer_end_page($handle); printer_end_doc($handle); printer_close($handle); }

« previous php.notes (#164546) next »