Hallo
Ich habe versucht, für die Versandetikette ein variables Layout zu erstellen. Leider scheint das nicht korrekt zu funktionieren. {STRASSE} {PLZ} und {ORT} werden mehrmals gedruckt und überlagern sich. Wir wollen den Ansprechpartner und sonstige wichtige Informationen auf der Etikette drauf haben, wenn es sich bei der Adresse um eine Firma handelt.
Nachstehend mein bisheriger XML-Code:
<label>
<line x="3" y="3" size="5">Absender:</line>
<line x="3" y="8" size="5">{ABSENDERNAME}</line>
<line x="3" y="13" size="5">{ABSENDERSTRASSE}</line>
<line x="3" y="18" size="5">{ABSENDERPLZ}</line>
<line x="13" y="18" size="5">{ABSENDERORT}</line>
<line x="40" y="37" size="5">Empfänger:</line>
<multiline x="40" y="45" size="7" wrap="40" wrapheight="7">{NAME}</multiline>
{IF}{NAME2}{THEN}
<line x="40" y="53" size="7">{NAME2}</line>
{ENDIF}
{IF}{NAME3}{THEN}
<line x="40" y="60" size="7">{NAME3}</line>
<line x="40" y="68" size="7">{STRASSE}</line>
<line x="40" y="76" size="7">{PLZ} {ORT}</line>
{ELSEIF}{NAME2}{THEN}
<line x="40" y="60" size="7">{STRASSE}</line>
<line x="40" y="68" size="7">{PLZ} {ORT}</line>
{ELSE}
<line x="40" y="53" size="7">{STRASSE}</line>
<line x="40" y="60" size="7">{PLZ} {ORT}</line>
{ENDIF}
</label>
Hat jemand diese Problematik schon mal gelöst?
Gruss
Nicolas
