<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[latin1]{inputenc}
\setlength{\voffset}{0.5cm}
\setlength{\hoffset}{-2.0cm}
\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.5cm}
\setlength{\footskip}{1cm}
\setlength{\parindent}{0pt}
\renewcommand{\baselinestretch}{1}
\begin{document}

\newlength{\descrwidth}\setlength{\descrwidth}{10cm}

\newsavebox{\hdr}
\sbox{\hdr}{
  \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont

  \parbox{\textwidth}{
    \parbox[b]{12cm}{
      &lt;?lsmb company ?&gt;
      
      &lt;?lsmb address ?&gt;}\hfill
    \begin{tabular}[b]{rr@{}}
    Telefon &amp; &lt;?lsmb tel ?&gt;\\
    Telefax &amp; &lt;?lsmb fax ?&gt;
    \end{tabular}

    \rule[1.5ex]{\textwidth}{0.5pt}
  }
}
    
\fontfamily{cmss}\fontshape{n}\selectfont

\markboth{&lt;?lsmb company ?&gt;\hfill &lt;?lsmb ordnumber ?&gt;}{\usebox{\hdr}}

\pagestyle{myheadings}
%\thispagestyle{empty}     use this with letterhead paper

&lt;?lsmb pagebreak 65 27 37 ?&gt;
\end{tabular*}

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

\newpage

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

\vspace*{-12pt}

\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
  \textbf{Nummer} &amp; \textbf{Artikel} &amp; \textbf{Anz} &amp;
    \textbf{Einh} &amp; \textbf{Preis} &amp; \textbf{Total} \\
  &amp; �bertrag von &lt;?lsmb lastpage ?&gt; &amp; &amp; &amp; &amp; &lt;?lsmb sumcarriedforward ?&gt; \\
&lt;?lsmb end pagebreak ?&gt;


\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont

\vspace*{2cm}

&lt;?lsmb name ?&gt;

&lt;?lsmb address1 ?&gt;

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

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

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

\vspace{3.5cm}

\textbf{B E S T E L L U N G}
\hfill
\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
  \textbf{Datum} &amp; &lt;?lsmb orddate ?&gt; \\
&lt;?lsmb if reqdate ?&gt;
  \textbf{Lieferung bis} &amp; &lt;?lsmb reqdate ?&gt; \\
&lt;?lsmb end reqdate ?&gt;
  \textbf{Nummer} &amp; &lt;?lsmb ordnumber ?&gt;
\end{tabular}

\vspace{1cm}

\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
  \textbf{Nummer} &amp; \textbf{Artikel} &amp; \textbf{Anz} &amp;
    \textbf{Einh} &amp; \textbf{Preis} &amp; \textbf{Total} \\
&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{tabular*}


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

\vspace{0.2cm}

\hfill
\begin{tabularx}{7cm}{Xr@{}}
  \textbf{Zwischensumme} &amp; \textbf{&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
  \textbf{Total} &amp; \textbf{&lt;?lsmb ordtotal ?&gt;}\\
\end{tabularx}

\vspace{0.3cm}

\hfill
  Alle Preise 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>