PDF View first page blank
When I create a PDF view from a HTML view, it is creating a blank first page.
Following is a snippet of the view code:
htmlpage Rental_Agreement_HTLM(ReservationNo)
displayname = "Rental Ageeement"
pdf = true
content
<%{
RentalAgreement = Rental_Agreement [Reservation = input.ReservationNo.toLong()];
PropertyInfo = Propery [Code == RentalAgreement.Property_Code];%>
<table width="100%" cellspacing="1" cellpadding="1" border="0">
<caption><b><%=PropertyInfo.Property1.toUpperCase()%> RENTAL AGREEMENT<br><%=RentalAgreement.Name%>: <%=RentalAgreement.Property%> <%=RentalAgreement.CheckIn%> - <%=RentalAgreement.CheckOut%><br></b></caption>
<%for each r in Rental_Agreement_Terms [Property_Group == RentalAgreement.Property_Group] sort by Section
{%>
<tr>
<td><br><span style=\"font: 14px Arial;\"><strong><u><%=r.Section_Name%></strong></u></td>
</tr>