\documentclass[12pt]{article}

\usepackage{pdfpages}
\usepackage{tikz}

\pagestyle{empty}

\begin{document}

\newsavebox{\ruler}
\savebox{\ruler}{
  \begin{tikzpicture}
      %% lower divisions
      \foreach \x in {0,1,...,3}{
        \draw (\x,0) -- (\x,0.4) node [above,scale=0.4]{\huge \x};
      }
      \foreach \x in {0.1,0.2,...,3}{ \draw (\x,0) -- (\x,0.15); }
      \foreach \x in {0.5,1,...,3}{ \draw (\x,0) -- (\x,0.30); }
    \end{tikzpicture}
  }


%\includepdf[pagecommand={%
  \begin{tikzpicture}[remember picture, overlay]%
%    foreach \y in {1.1,3.7,...,20}{
%      \node[anchor=west, inner sep=0pt, outer sep=0pt] at (-4.2,\y) {\usebox{\ruler}};
%    }
    \draw [red] (-4, 23) -- (-4,-23.0);%
    \draw [red] (3, 23) -- (3,-23.0);%
    \draw [red] (10, 23) -- (10,-23.0);%
    \draw [red] (2.55, 23) -- (2.55,-23.0);%
    \draw [red] (9.55, 23) -- (9.55,-23.0);%
    \draw [red] (16.55, 23) -- (16.55,-23.0);%
%
    \draw [blue] (-10, 3.55) -- (80, 3.55);%
    \draw [blue] (-10, 1.015) -- (80, 1.015);%
    \draw [red] (-10, -1.52) -- (80, -1.52);%
    \draw [red] (-10, -4.06) -- (80, -4.06);%
    \draw [red] (-10, -6.59) -- (80, -6.59);%
    \draw [red] (-10, -9.125) -- (80, -9.125);%
    \draw [red] (-10, -11.66) -- (80, -11.66);%
    \draw [red] (-10, -14.195) -- (80, -14.195);%
    \draw [red] (-10, -16.73) -- (80, -16.73);%
    \draw [red] (-10, -19.27) -- (80, -19.27);%
    \draw [red] (-10, -21.8) -- (80, -21.8);%
%
    \node[inner sep=0pt, outer sep=0pt] at (-2.4,+1.43) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (-2.4,-1.11) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (-2.4,-3.65) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (-2.4,-6.20) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (-2.4,-8.74) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (-2.4,-11.28) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (-2.4,-13.82) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (-2.4,-16.37) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (-2.4,-18.91) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (-2.4,-21.45) {\usebox{\ruler}};
%
    \node[inner sep=0pt, outer sep=0pt] at (1.0,+1.43) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (1.0,-1.11) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (1.0,-3.65) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (1.0,-6.20) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (1.0,-8.74) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (1.0,-11.28) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (1.0,-13.82) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (1.0,-16.37) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (1.0,-18.91) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (1.0,-21.45) {\usebox{\ruler}};
%
    \node[inner sep=0pt, outer sep=0pt] at (4.6,+1.43) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (4.6,-1.11) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (4.6,-3.65) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (4.6,-6.20) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (4.6,-8.74) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (4.6,-11.28) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (4.6,-13.82) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (4.6,-16.37) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (4.6,-18.91) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (4.6,-21.45) {\usebox{\ruler}};
%
    \node[inner sep=0pt, outer sep=0pt] at (8.0,+1.43) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (8.0,-1.11) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (8.0,-3.65) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (8.0,-6.20) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (8.0,-8.74) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (8.0,-11.28) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (8.0,-13.82) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (8.0,-16.37) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (8.0,-18.91) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (8.0,-21.45) {\usebox{\ruler}};
%
    \node[inner sep=0pt, outer sep=0pt] at (11.6,+1.43) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (11.6,-1.11) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (11.6,-3.65) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (11.6,-6.20) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (11.6,-8.74) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (11.6,-11.28) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (11.6,-13.82) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (11.6,-16.37) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (11.6,-18.91) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (11.6,-21.45) {\usebox{\ruler}};
%
    \node[inner sep=0pt, outer sep=0pt] at (15.0,+1.43) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (15.0,-1.11) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (15.0,-3.65) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (15.0,-6.20) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (15.0,-8.74) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (15.0,-11.28) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (15.0,-13.82) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (15.0,-16.37) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (15.0,-18.91) {\usebox{\ruler}};
    \node[inner sep=0pt, outer sep=0pt] at (15.0,-21.45) {\usebox{\ruler}};
%    \draw [help lines] (current page.south west) grid [step=1cm] (current page.north east);
%    \draw [help lines] (current page.south west) grid [step=1mm] (current page.north east);
  \end{tikzpicture}
%}]{avery-58160}

\end{document}
