1 \documentclass[twoside]{scrartcl}
5 \setlength{\voffset}{0.5cm}
6 \setlength{\hoffset}{-1.9cm}
7 \setlength{\topmargin}{0cm}
8 \setlength{\headheight}{0.5cm}
9 \setlength{\headsep}{1cm}
10 \setlength{\topskip}{0pt}
11 \setlength{\oddsidemargin}{1.0cm}
12 \setlength{\evensidemargin}{1.0cm}
13 \setlength{\textwidth}{19.2cm}
14 \setlength{\textheight}{24.7cm}
15 \setlength{\footskip}{1cm}
16 \setlength{\parindent}{0pt}
17 \renewcommand{\baselinestretch}{1}
20 \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
21 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
23 \pagestyle{myheadings}
29 \parbox[b]{.42\textwidth}{%
34 \parbox[b]{.2\textwidth}{
35 \includegraphics[scale=0.3]{sql-ledger}
37 \begin{tabular}[b]{rr@{}}
42 \rule[1.5em]{\textwidth}{0.5pt}
46 <%pagebreak 90 27 48%>
51 \markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
55 \begin{tabularx}{\textwidth}{@{}rlXrll@{}}
56 \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
57 & \textbf{Serial Number} \\
63 \parbox[t]{1cm}{\hfill}
64 \parbox[t]{.45\textwidth}{
74 <%city%> <%state%> <%zipcode%>
86 Tel: <%customerphone%>
95 \parbox[t]{.45\textwidth}{
105 <%shiptocity%> <%shiptostate%> <%shiptozipcode%>
114 <%end shiptocontact%>
130 \textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
135 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
136 \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
138 <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
144 \begin{tabularx}{\textwidth}{@{}rlXrll@{}}
145 \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
146 & \textbf{Serial Number} \\
148 <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
149 <%unit%> & <%serialnumber%> \\
155 \rule{\textwidth}{2pt}
169 \rule{\textwidth}{0.5pt}