<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[twoside]{scrartcl}
\usepackage[frame]{xy}
\usepackage{tabularx}
\usepackage{graphicx}
\setlength{\voffset}{0.5cm}
\setlength{\hoffset}{-1.9cm}
\setlength{\topmargin}{0cm}
\setlength{\headheight}{0.5cm}
\setlength{\headsep}{1cm}
\setlength{\topskip}{0pt}
\setlength{\oddsidemargin}{1.0cm}
\setlength{\evensidemargin}{1.0cm}
\setlength{\textwidth}{19.2cm}
\setlength{\textheight}{24.7cm}
\setlength{\footskip}{1cm}
\setlength{\parindent}{0pt}
\renewcommand{\baselinestretch}{1}
\begin{document}

\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont

\pagestyle{myheadings}
\thispagestyle{empty}

\vspace*{-1.3cm}

\parbox{\textwidth}{
  \parbox[b]{.42\textwidth}{
    &lt;?lsmb company ?&gt;
    
    &lt;?lsmb address ?&gt;
  }
  \parbox[b]{.2\textwidth}{
    \includegraphics[scale=0.3]{ledger-smb}
  }\hfill
  \begin{tabular}[b]{rr@{}}
  Telephone &amp; &lt;?lsmb tel ?&gt;\\
  Facsimile &amp; &lt;?lsmb fax ?&gt;
  \end{tabular}

  \rule[1.5ex]{\textwidth}{0.5pt}
}
  

&lt;?lsmb pagebreak 65 27 48 ?&gt;
\end{tabularx}

  \rule{\textwidth}{2pt}
  
  \hfill
  \begin{tabularx}{7cm}{Xr@{}}
  Subtotal &amp; &lt;?lsmb sumcarriedforward ?&gt; \\
  \end{tabularx}

\newpage

\markright{&lt;?lsmb company ?&gt;\hfill &lt;?lsmb ordnumber ?&gt;}

\vspace*{-12pt}

\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
  \textbf{Number} &amp; \textbf{Description} &amp; \textbf{Qt'y} &amp;
    \textbf{Unit} &amp; \textbf{Price} &amp; \textbf{Amount} \\
  &amp; carried forward from &lt;?lsmb lastpage ?&gt; &amp; &amp; &amp; &amp; &lt;?lsmb sumcarriedforward ?&gt; \\
&lt;?lsmb end pagebreak ?&gt;


\vspace*{0.5cm}

\parbox[t]{1cm}{\hfill}
\parbox[t]{.45\textwidth}{
\textbf{To}
\vspace{0.5cm}
  
&lt;?lsmb name ?&gt;

&lt;?lsmb address1 ?&gt;

&lt;?lsmb address2 ?&gt;

&lt;?lsmb city ?&gt; &lt;?lsmb state ?&gt; &lt;?lsmb zipcode ?&gt;

&lt;?lsmb country ?&gt;

\vspace{0.3cm}

&lt;?lsmb if contact ?&gt;
Attn: &lt;?lsmb contact ?&gt;
\vspace{0.3cm}
&lt;?lsmb end contact ?&gt;

&lt;?lsmb if vendorphone ?&gt;
Tel: &lt;?lsmb vendorphone ?&gt;
&lt;?lsmb end vendorphone ?&gt;

&lt;?lsmb if vendorfax ?&gt;
Fax: &lt;?lsmb vendorfax ?&gt;
&lt;?lsmb end vendorfax ?&gt;

&lt;?lsmb email ?&gt;
}
\parbox[t]{.45\textwidth}{
\textbf{Ship To}
\vspace{0.5cm}

&lt;?lsmb shiptoname ?&gt;

&lt;?lsmb shiptoaddress1 ?&gt;

&lt;?lsmb shiptoaddress2 ?&gt;

&lt;?lsmb shiptocity ?&gt; &lt;?lsmb shiptostate ?&gt; &lt;?lsmb shiptozipcode ?&gt;

&lt;?lsmb shiptocountry ?&gt;

\vspace{0.3cm}

&lt;?lsmb if shiptocontact ?&gt;
Attn: &lt;?lsmb shiptocontact ?&gt;
\vspace{0.3cm}
&lt;?lsmb end shiptocontact ?&gt;

&lt;?lsmb if shiptophone ?&gt;
Tel: &lt;?lsmb shiptophone ?&gt;
&lt;?lsmb end shiptophone ?&gt;

&lt;?lsmb if shiptofax ?&gt;
Fax: &lt;?lsmb shiptofax ?&gt;
&lt;?lsmb end shiptofax ?&gt;

&lt;?lsmb shiptoemail ?&gt;
}
\hfill

\vspace{1cm}

\textbf{P U R C H A S E} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
\hfill

\vspace{1cm}
\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
  \textbf{Order \#} &amp; \textbf{Date} &amp; \textbf{Required by} &amp; \textbf{Contact} &amp; \textbf{Shipping Point} &amp; \textbf{Ship via} \\ [0.5ex]
  \hline
  &lt;?lsmb ordnumber ?&gt; &amp; &lt;?lsmb orddate ?&gt; &amp; &lt;?lsmb reqdate ?&gt; &amp; &lt;?lsmb employee ?&gt; &amp; &lt;?lsmb shippingpoint ?&gt; &amp; &lt;?lsmb shipvia ?&gt; \\
  \hline
\end{tabularx}

\vspace{1cm}

\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
  \textbf{Number} &amp; \textbf{Description} &amp; \textbf{Qt'y} &amp;
    \textbf{Unit} &amp; \textbf{Price} &amp; \textbf{Amount} \\
&lt;?lsmb foreach number ?&gt;
  &lt;?lsmb number ?&gt; &amp; &lt;?lsmb description ?&gt; &amp; &lt;?lsmb qty ?&gt; &amp;
    &lt;?lsmb unit ?&gt; &amp; &lt;?lsmb sellprice ?&gt; &amp; &lt;?lsmb linetotal ?&gt; \\
&lt;?lsmb end number ?&gt;
\end{tabularx}


\parbox{\textwidth}{
\rule{\textwidth}{2pt}

\vspace{0.2cm}

\hfill
\begin{tabularx}{7cm}{Xr@{}}
  Subtotal &amp; &lt;?lsmb subtotal ?&gt; \\
&lt;?lsmb foreach tax ?&gt;
  &lt;?lsmb taxdescription ?&gt; on &lt;?lsmb taxbase ?&gt; &amp; &lt;?lsmb tax ?&gt;\\
&lt;?lsmb end tax ?&gt;
  \hline
  Total &amp; &lt;?lsmb ordtotal ?&gt;\\
\end{tabularx}

\vspace{0.3cm}

\hfill
  All prices in \textbf{&lt;?lsmb currency ?&gt;}.

\vspace{12pt}

&lt;?lsmb if notes ?&gt;
  &lt;?lsmb notes ?&gt;
&lt;?lsmb end if ?&gt;

}


%\renewcommand{\thefootnote}{\fnsymbol{footnote}}

%\footnotetext[1]{\tiny }

\end{document}

</pre></body></html>