\usemodule[defaults]
\setuppagenumbering[location={footer,right}]
\setupbodyfont[roman, 12pt]
\setuppapersize[A7][A4]
\setuplayout[
  backspace=5mm,      footer=1.5\bodyfontsize,                header=5mm,
  height=96.5mm,      margin=5mm,         width=63.5mm,       topspace=4mm,
]
\setuparranging[2*8,rotated]

\def\getTableHours#1%
  {\dorecurse{#1}
     {\setupTABLE[c][each][align=middle,height=\lineheight]
      \setupTABLE[r][1][background=color,backgroundcolor=darkyellow]
      \setupTABLE[c][each][width=0.20\textwidth]
      \setupTABLE[c][2,4][width=0.30\textwidth]
      \dontleavehmode\vskip-\dimexpr\lineheight+\topskip\relax\par
      \startalignment[middle]
      \bTABLE
        \bTR
        \dorecurse{2}{\bTH Type \eTH \bTH Tijd \eTH}
        \eTR
        \getnoflines{\dimexpr\pagegoal-\pagetotal-3\lineheight\relax}
        \dorecurse{\noflines}{\bTR\dorecurse{4}{\bTD \eTD}\eTR}
      \eTABLE
      \stopalignment
      \page}}

% \def\getTableToDo
%   {\dorecurse{\number\numexpr16-\realpageno+1\relax}
%      {\dontleavehmode\vskip-\dimexpr\lineheight+\topskip\relax\par
%       \vbox to \vsize{\leaders\vbox{\thinrule}\vfill}\page}}

\def\getTableToDo
  {\dorecurse{\number\numexpr16-\realpageno+1\relax}
     {\dontleavehmode\vskip-\dimexpr\lineheight+\topskip\relax\par
      \getroundednoflines\textheight
      \thinrules[n=\noflines]\page}}


\starttext

  \getTableHours{8}

  \setuppagenumber[number=1]

  \getTableToDo

\stoptext
