I have a table which has many columns. They can't fit in one page on PDF file. I would like to find some packages to print this table in several pages automatically. Each page should have same table column headers and table headers. Columns continue to overflow to the next several pages dynamically (Maybe several pages). It depends on the date range specified.
My question is different from the one mentioned in the duplicate comments: Table and multi-page which only prints 2 pages in a book.
Here is my MWV:
%!TEX TS-Program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass{article}
\usepackage{graphics}
\usepackage{fancyhdr}
\usepackage{ctable}
\usepackage{tabularx}
\usepackage[margin=2.5cm]{geometry}
\setlength\parindent{0pt}
\newcommand{\sectionheader}[1] {
\textbf{#1}
\rule{\textwidth}{6pt}
}
\setlength{\heavyrulewidth}{0.12em}
\pagenumbering{arabic}
\pagestyle{fancy}
\lhead{Patient Name: Claire Roberts}
\rhead{\thepage}
\cfoot{}
\begin{document}
\thispagestyle{empty}
\textbf{Patient Information for Claire Roberts}
Last updated on February 19, 2016
\sectionheader{SYMPTOMS}
\begin{tabularx}{\textwidth}{l*{16}X}
\textbf{PERCEPTION}
& {6/2/16} & {6/3/16} & {6/4/16} & {6/5/16} & {6/6/16} & {6/7/16} & {6/8/16} & {6/9/16} & {6/10/16} & {6/11/16} & {6/12/16} & {6/13/16} & {6/14/16} & {6/15/16} & {6/16/16} & {6/17/16}\\
{SATISFACTION}
& -
& -
& -
& 2
& -
& 2
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
\\
\hline
\textbf{VOID}
& {6/2/16} & {6/3/16} & {6/4/16} & {6/5/16} & {6/6/16} & {6/7/16} & {6/8/16} & {6/9/16} & {6/10/16} & {6/11/16} & {6/12/16} & {6/13/16} & {6/14/16} & {6/15/16} & {6/16/16} & {6/17/16}\\
{AWAKE}
& -
& 5
& -
& -
& 2
& 1
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
\\{SLEEPING}
& 5
& -
& -
& 1
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
\\{URGENCY}
& -
& -
& 2
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
\\
\hline
\textbf{UR}
& {6/2/16} & {6/3/16} & {6/4/16} & {6/5/16} & {6/6/16} & {6/7/16} & {6/8/16} & {6/9/16} & {6/10/16} & {6/11/16} & {6/12/16} & {6/13/16} & {6/14/16} & {6/15/16} & {6/16/16} & {6/17/16}\\
{UR\_LEAK\_AMOUNT}
& -
& -
& -
& -
& Moderate
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
\\{TOTAL}
& -
& -
& -
& 1
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
\\
\hline
\textbf{BM}
& {6/2/16} & {6/3/16} & {6/4/16} & {6/5/16} & {6/6/16} & {6/7/16} & {6/8/16} & {6/9/16} & {6/10/16} & {6/11/16} & {6/12/16} & {6/13/16} & {6/14/16} & {6/15/16} & {6/16/16} & {6/17/16}\\
{AWAKE}
& -
& -
& -
& -
& -
& 3
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
\\{SLEEPING}
& -
& -
& -
& -
& 5
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
\\{SOIL\_AMOUNT}
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
\\
\hline
\textbf{BOWEL}
& {6/2/16} & {6/3/16} & {6/4/16} & {6/5/16} & {6/6/16} & {6/7/16} & {6/8/16} & {6/9/16} & {6/10/16} & {6/11/16} & {6/12/16} & {6/13/16} & {6/14/16} & {6/15/16} & {6/16/16} & {6/17/16}\\
{AMOUNT}
& -
& -
& 6
& -
& 5
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
\\{TOTAL}
& -
& -
& -
& 8
& -
& 9
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
\\
\hline
\textbf{PADS}
& {6/2/16} & {6/3/16} & {6/4/16} & {6/5/16} & {6/6/16} & {6/7/16} & {6/8/16} & {6/9/16} & {6/10/16} & {6/11/16} & {6/12/16} & {6/13/16} & {6/14/16} & {6/15/16} & {6/16/16} & {6/17/16}\\
{TOTAL}
& -
& -
& -
& 9
& -
& 8
& -
& -
& -
& -
& -
& -
& -
& -
& -
& -
\\
\hline
\end{tabularx}
\newpage
\bigskip
\newpage
\end{document}
Here is what I have now, extra columns don't print to the next page and just print on the top of other date column:

