sanlove Posted June 25, 2009 Share Posted June 25, 2009 After printing the paper will be rolled out few more inches so that the user can tear off. then for printing the second time, i have to roll the paper back.. how is this possible ? my current code: <?php $handle=printer_open("Epson LX-300+"); $font=printer_create_font("Draft Condensed",25,6,PRINTER_FW_THIN,false,false,false,0); printer_set_option($handle, PRINTER_MODE, "RAW"); printer_set_option($handle,PRINTER_PAPER_FORMAT, PRINTER_FORMAT_CUSTOM); printer_set_option($handle, PRINTER_TEXT_ALIGN, PRINTER_TA_LEFT); printer_set_option($handle, PRINTER_PAPER_WIDTH, 10); printer_set_option($handle, PRINTER_PAPER_LENGTH, 200); printer_select_font($handle,$font); printer_write($handle,"$int_tape_id\n\n\n\n\n\n"); printer_close($handle); ?> Link to comment https://forums.phpfreaks.com/topic/163607-roll-back-paper-after-printing/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.