<?php include('parent/callMe.php');?>
<?php include('Sessioncheck.php');?>
<?php 



?>
  <!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Favicons-->
<link rel="icon" type="image/png" href="img/favicon.png" sizes="32x32" />
<title>Print Voucher</title>
<!-- Favicons-->
<link rel="icon" type="image/png" href="img/favicon.png" sizes="32x32" />
<script type="text/javascript">
 window.print();
</script>
<style> 

.section{width:95%; height:auto;float:left;border-right: 2px solid black;border-right-style:dotted;padding-right:2.5%;margin-left:2%;}
.box{
  width:100%;float:left;height:14.5cm;
}  
   
tr th {background-color:gray; text-align:center;font-size:14px;border:1px solid gray;padding:0%;}
tr td {border-bottom:1px solid gray;border-left:1px solid gray;height: 15px;/*padding:1.5%;*/}



.tdalign{text-align:center;border:1px solid black;}
  

body {
  background: rgb(204,204,204);
  font-weight:bold; 
}
page {
  background: white;
  display: block;
  margin: 0 auto;
  margin-bottom: 0.5cm;
  border:1px solid black;
  box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
  padding:0%;
  height: 21cm; 
}
page[size="A4"] {  
  width: 21cm;
  height: 29.7cm; 
}
page[size="A4"][layout="landscape"] {
  width: 29.7cm;
  height: 21cm;  
}
page[size="A3"] {
  width: 29.7cm;
  height: 42cm;
}
page[size="A3"][layout="landscape"] {
  width: 42cm;
  height: 29.7cm;  
}
page[size="A5"] {
  width: 14.8cm;
  height: 21cm;
}
page[size="A5"][layout="landscape"] {
  width: 21cm;
  height: 14.8cm;  
}
/*@media print {
  body, page {
    margin: 0;
    box-shadow: none;
    border:none;
  }
}*/
  </style>

</head>
<body>

<?php 


for($k=0;$k<100;$k++){

 


?>

<page size="A4">

<div style="float:left;width:100%;">

<div class="box" >



<div style="background-color: red;width: 100%;height: 100%;"></div>
   




  </div>  <!-- ending box  -->

  <div class="box" >



<div style="background-color: green;width: 100%;height: 100%;"></div>
   




  </div>  <!-- ending box  -->

</div>

</page>
<br><br>
<?php  }?>

</body>
</html>
