anchor.diff:                    <td><%= "#{@ranking_level.name} #{t('batch')}" %></td>
                   <% end %>
                 </tr>
  -              <tr class="tr-blank"></tr>
                 <% ranked_students.each_with_index do |s,i| %>
  +                <% if i==23 %>
  +                  <tr class="page-break"><td colspan="3"></td></tr>
  +                  <tr class="table-header">
  +                    <td><%= t('sl_no') %></td>
  +                    <td><%= t('adm_no') %></td>
  +                    <td><%= t('name') %></td>
  +                    <td><%= t('batch') %></td>
  +                    <% unless @ranking_level.full_course==true %>
  +                      <td><%= "#{@ranking_level.name} #{t('batch')}" %></td>
  +                    <% end %>
  +                  </tr>
  +                  <%i=0%>
  +                <% end %>
                   <% stu = Student.find(s[0]) %>
                   <% batch = Batch.find(s[1]) %>
                   <tr class="<%= cycle(c,(["odd","even"]-[c]).first) %>">
  
positive.code:           <% end %>
            <% unless ranked_students.empty? %>
              <% c = 'even' %>
              <table id="pdf-table" width="100%" cellspacing="0">
                <tr class="table-header">
                  <td><%= t('sl_no') %></td>
  
negative.code:       </div>
      <% else %>
        <div id ="main_info">
          <h3 align="center"><%= @ranking_level.name %> <%= t('students') %></h3>
          <h4 align="center"><%= @course.full_name %></h4>
        </div>
        <div id="pdf-info">
  