# [OS X TeX] Borderless (or almost borderless) printing

Alan Munn amunn at msu.edu
Tue Oct 27 14:28:48 EDT 2009

At 6:07 PM +0100 10/27/09, <ewan.Delanoy at math.unicaen.fr> wrote:
>           Hello all,
>
>   in my (admittedly limited) experience with
>  (WYSIWYG or not) text processors, it is usually impossible
>to have control over the whole of the printed page : whenever
>you try to put something too near the edge, texts and images
>get unpredictably displaced.
>
>
>  So my question is : if "doing what you want" on the full sheet is
>impossible,
>what is the next best solution ? What is the largest subrectangle of the
>sheet where LaTeX (or TikZ) commands have a normal, "non-edgy" behaviour ?

As Herb says, the restriction is likely to be in your printer, not in
LaTeX.  The following document creates lines all the way to the edge
of the page, but it can't be printed as such, because printers
usually have about 1/4" (or slightly less) area which is unreachable
by the printing mechanism. (If someone knows why the blank page at
the beginning shows up, I'd like to know.)

If you really want things to the edge of the page, you would need to
print to a stocksize larger than the page you want, and then trim it.
(Probably not what you want to hear.)

Alan

\documentclass[letter]{article}
\usepackage[margin=0in]{geometry}
\usepackage{tikz}
\pagestyle{empty}
\begin{document}
\noindent\begin{tikzpicture}[x=1in,y=1in]
\draw (0,0) -- (8.5,11);
\draw (0,11) -- (8.5,0);
\draw (4.25,0) -- (4.25,11);
\draw (0,5.5) -- (8.5,5.5);
\end{tikzpicture}

\end{document}
--
Alan Munn						amunn at msu.edu
Department of Linguistics
and Germanic, Slavic, Asian and African Languages		Tel.
517-355-7491
Michigan State University, East Lansing MI 48824 USA	Fax	517-432-2736