printer-testpage.tex 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. \documentclass[a4paper]{scrartcl}
  2. \usepackage[a4paper,margin=0cm,left=-0.65cm]{geometry}
  3. \usepackage{amssymb,amsmath}
  4. \usepackage[rgb]{xcolor}
  5. \usepackage{tikz}
  6. \usetikzlibrary{shadings}
  7. \begin{document}
  8. \begin{tikzpicture}
  9. \begin{scope}[yshift=3cm]
  10. \draw[shading=color wheel] (0,0) rectangle (20.998,10);
  11. \end{scope}
  12. \begin{scope}[yshift=3cm]
  13. \draw[rectangle,fill=cyan] (0,13) rectangle (20.998,14) node[pos=.5,text=white] {\Huge \textbf{Cyan}};
  14. \draw[rectangle,fill=magenta] (0,12) rectangle (20.998,13) node[pos=.5,text=white] {\Huge \textbf{Magenta}};
  15. \draw[rectangle,fill=yellow] (0,11) rectangle (20.998,12) node[pos=.5,text=white] {\Huge \textbf{Yellow}};
  16. \draw[rectangle,fill=black] (0,10) rectangle (20.998,11) node[pos=.5,text=white] {\Huge \textbf{Black}};
  17. \end{scope}
  18. \begin{scope}[yshift=17.5cm]
  19. \foreach \x in {1,2,...,21}
  20. \draw [color=red, line width=1mm](\x cm,0cm) -- (\x cm,1.5cm)
  21. node[color=red, rotate=90, anchor=west] {\pgfmathprint{int(\x)}};
  22. \foreach \x in {0,1,...,210}
  23. \draw [color=red, line width=0.1mm](\x mm,0cm) -- (\x mm,1.0cm)
  24. node[color=red, rotate=90, anchor=west] {};
  25. \draw[line width=5mm](0cm, 0cm) -- (100,0cm);
  26. \draw[line width=0.1mm](0cm, 0.5cm) -- (100,0.5cm);
  27. \end{scope}
  28. \draw [color=red, line width=1mm](2cm,0 cm) -- (3.5cm,0 cm)
  29. node[color=red, anchor=west] {};
  30. \foreach \y in {1,2,...,29}
  31. \draw [color=red, line width=1mm](2cm,\y cm) -- (3.5cm,\y cm)
  32. node[color=red, anchor=west] {\pgfmathprint{int(\y)}};
  33. \end{tikzpicture}
  34. \end{document}