<link rel="stylesheet" href="print.css" type="text/css" media="print" />
<style>
 @media print {
        html, body,table {
            width: 210mm;
            height: 107mm;        
        }
.tble {
 width: 210mm;
        min-height: 297mm;
}

</style>
<form class="form-horizontal" data-validate="parsley" id="form-new-reg"
		name="" commandName="">
<div class="row infoBar billPayment">
		<a href="javascript:void(0);"></a>
		<div class="col-lg-12">
			<div class="alignLeft" id="printNow">
				<table border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed;">
					
					<tr>
						<td>Transaction Number</td>
						<td>100159904</td>
					</tr>
					<tr>
						<td>Receipt Number</td>
						<td>57120150306701001</td>
					</tr>
					<tr>
						<td>Transaction Date</td>
						<td>2015-03-06 10:51:03.141</td>
					</tr>
					<tr>
						<td>Transaction Type</td>
						<td>Net Banking</td>
					</tr>
					<tr>
						<td>Payment Type</td>
						<td>Quick Pay</td>
					</tr>
					<tr>
						<td>Payment Gateway</td>
						<td>TECH PROCESS</td>
					</tr>
					<tr>
						<td>Section</td>
						<td>Edayar</td>
					</tr>
					<tr>
						<td>Consumer Number</td>
						<td>1157129010072</td>
					</tr>
					<tr>
						<td >Bill Number</td>
						<td style="word-break: break-all;width:300px;">5712150205295</td>
					</tr>
					
					<tr>
						<td>Status</td>
						<td>Payment successfully accounted in Section.</td>
					</tr>
					<tr>
						<td>Acknowledgment Date</td>
						<td>Fri Mar 06 10:53:49 IST 2015</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
<div class="row registerFormBtnMain">
				<div class="col-lg-12 ">
					<div class="col-lg-6">
						<button type="button" onclick="printDiv()"
							class="btn btn-lg btn-primary registerBtn  ">Print</button>
					</div>
					<div class="col-lg-6">
						
							<button type="button" class="btn btn-lg btn-primary cancelBtn " onclick="test()">Back
								to Home</button>
						<!-- </a> -->
					</div>
				</div>
			</div>
</form>
<script>
function printDiv(){
	
	 var content = "<html>";
	 content += document.getElementById("printNow").innerHTML ;
	 content += "</body>";
	 content += "</html>";


	 var printWin = window.open('','','left=0,top=0,width=510,height=297,toolbar=0,scrollbars=0,status =0');

	 printWin.document.write(content);
	 printWin.document.close();
	 printWin.focus();
	 printWin.print();
	 printWin.close();
}
</script>