%
% $Id: apex-fax.sty,v 1.3 1999/01/13 21:44:10 ejb Exp $
% $Source: /home/ejb/tex/macros/RCS/apex-fax.sty,v $
% $Author: ejb $
%

% Usage: \faxheader{to}{company}{fax number}{pages}{from}{date}{Re}

\usepackage{apex-logo}
\usepackage{array}
\setlength{\topmargin}{0in}
\setlength{\headsep}{0in}
\setlength{\textwidth}{6.5in}
\setlength{\textheight}{9in}
\setlength{\parskip}{1ex}
\setlength{\oddsidemargin}{0in}
\setlength{\evensidemargin}{\oddsidemargin}
\setlength{\parindent}{0em}
\pagestyle{empty}

\newcommand{\faxheader}[7]{
\begin{tabular*}{\textwidth}{m{.4\textwidth}@{\extracolsep{\fill}}m{\apexlogowidth}}
\begin{tabular}{|ll|} \hline
\rule{0pt}{1em} & \\
\multicolumn{2}{|l|}{Apex Data Services, Incorporated} \\
\multicolumn{2}{|l|}{120 Presidents Plaza} \\
\multicolumn{2}{|l|}{198 Van Buren Street} \\
\multicolumn{2}{|l|}{Herndon, VA 20170-5338} \\
Phone: & (703) 709-3000 \\
Fax: &   (703) 709-8517 \\
\rule{0pt}{1em} & \\
\rule{0pt}{1em} & \\ \hline
\end{tabular} & \apexlogo{1} \\
\end{tabular*}

{\Huge \textbf{Fax}}

\vspace{2\baselineskip}

\begin{tabular*}{\textwidth}{
>{\rule{0pt}{4ex}\bfseries}l
p{.3\textwidth}
>{\bfseries}l
l@{\extracolsep{\fill}}}
To: & #1 & Company: & #2 \\ \hline
Fax No: & #3 & Pages: & #4 \\ \hline
From: & #5 & Date: & #6 \\ \hline
Re: & \multicolumn{3}{l@{\extracolsep{\fill}}}{#7} \\ \hline
$\bullet$ Comments: & & & \\
\end{tabular*}
}
