print from HTML to receipt printer using Jquery/php
<p>I have a small tool for address collection. I want to print a particular address through my Thermal Printer. Database is MySQL..I do an AJAX query to list down all the addresses I want to search based on a particular requirement (for ex mobile number). Coding is in PhP and JQuery. I list them down as a table. Now I want to add a print button next to all individual address rows, on clicking of which, I want to print that particular address in my receipt printer. </p>

<p>Its just gonna be 2 lines of printing. If I simply copy the address to a new HTML page and print it, the problem is that printer doesnt stop just after 2 lines..it prints the entire white space below. </p>

<p>Sorry but have never done or worked on Printers before. Please can some one help me with this. </p>
