Html Şablonda Etiket Puntosu

Merhaba ;
Sorunlu bir müşteri ile karşı karşıyayım :blush:
Aşağıdaki gibi bir html yazıcı şablonu oluşturdum, her şey OK ama müşteri, ürün puntosu ile Sipariş etiketi puntosunu ayrı yapalım diyor. Etiketler 2 punto daha küçük olsun şeklinde. Html de çok iyi değilim ama ayrı bir table içinde ayarlanması gerekiyor sanırım, bu table da yaptığımı Sipariş etiketlerine nasıl bağlayacağımı bilmiyorum. Html konusunda iyi olan arkadaşlar şu şablonu bir editleyip atarsa sevinirim.

ads

[LAYOUT]
– General layout
<div style="text-align:left">
<img src="c:\menufoto\baslik.bmp" width="250" height="140">
</div>

<div style="font-size:14px;font-family:Calibri">
<table>
<tr>
<td width=120 align=Left>Sipariş Saati :</td> <td width=180>{TICKET TIME}</td>
</tr>
<tr>
<td width=120 align=Left>Sipariş Tarihi :</td> <td width=180>{TICKET DATE}</td>
</tr>
<tr>
<td width=120 align=Left>{TICKET TYPE} No:</td> <td width=180>{TICKET NO}</td>
</tr>

</table>
</div>
<div style="font-size:14px;font-family:Calibri">
<table>
{ENTITIES}
</table>
</div>

<div style="font-size:11px;font-family:Calibri">

<table>
<tr>
<td width=160 align=Left>ADET ÜRÜN ADI </td><td width=85 align=Right>TUTAR</td>
</tr>
</table>

</div>

<div style="font-size:18;font-family:Calibri">
<table>
{ORDERS}
</table>
</div>

<div style="font-size:13px;font-family:Calibri">
<table>
<tr>
<td width=160 align=Left>Belge Toplam:</td><td width=90 align=Right>{PLAIN TOTAL: }</td>
</tr>

{PAYMENTS}
{DISCOUNTS}
{TAXES}
{SERVICES}
</table>
</div>

<div style="font-size:12px;font-family:Calibri">
<table>
<tr>
<td width=160 align=Left>Ödenen Toplam:</td><td width=90 align=Right>{TENDERED TOTAL}</td>
</tr>
</table>
</div>

<div style="font-size:18px;font-family:Calibri">
<table>
<tr>
<td width=160 align=Left>Kalan Toplam:</td><td width=90 align=Right>{REMAINING TOTAL}</td>
</tr>
</table>
</div>

=========================================

<div style="font-size:17px;font-family:Calibri;text-align:Center">
A F İ Y E T O L S U N <br><br>
<table>
<tr>
<td width=40 align=Left>NOT:</td> <td width=180>{NOTE}</td>
</tr>
<tr>
<td width=100 align=Left>Ödeme Şekli :</td> <td width=180>{TICKET TAG:Ödeme Şekli}</td>
</tr>
<tr>
<td width=100 align=Left>Para Üstü :</td> <td width=180>{TICKET TAG:Para Üstü} TL</td>
</tr>
</table>
[DISCOUNTS]
<tr>
<td width=160 align=Left>{CALCULATION NAME}:</td><td width=70 align=Right>{CALCULATION TOTAL}</td>
</tr>

[SERVICES]
<tr>
<td width=160 align=Left>{CALCULATION NAME}:</td><td width=70 align=Right>{CALCULATION TOTAL}</td>
</tr>

[TAXES]
<tr>
<td width=160 align=Left>{TAX NAME} %{TAX RATE}:</td><td width=70 align=Right>{TAX AMOUNT}</td>
</tr>

[PAYMENTS]
<tr>
<td width=170 align=Left>{PAYMENT NAME}:</td><td width=70 align=Right>{PAYMENT AMOUNT}</td>
</tr>

[ORDERS]
– Default format for orders
<tr>
<td width=190>-{QUANTITY} {NAME} </td><td width=60 align=Right> {TOTAL PRICE}</td>
</tr>

{ORDER TAGS}

[ORDERS:İkram]
– Format for gifted orders
<tr>
<td width=170>- {QUANTITY} {NAME} </td><td width=30>{PRICE}</td><td width=30> İKR</td>
</tr>

[ORDERS:İade]
– Nothing will print for void lines

[ORDER TAGS]
– Format for order tags

<tr>
<td width=190> » {ORDER TAG NAME}</td><td width=30 Align=Right>{ORDER TAG TOTAL PRICE}</td>
</tr>

[ENTITIES:Masa]
– Table entity format
<tr>
<td width=95>Masa:{ENTITY NAME}</td> <td width=180></td>
</tr>

[ENTITIES:Müşteri]
– Customer entity format
<tr>
<td width=60>Müşteri:{ENTITY DATA:Adı} <td width=180>{ENTITY NAME}</td>
</tr>

<tr>
<td width=60>Telefon:</td> <td width=180>{ENTITY DATA:Telefon}</td>
</tr>
<tr>
<td width=60>Adres:</td> <td width=180>{ENTITY DATA:Adres} </td>
</tr>

Order tags i bu sekilde degistirip deneyebilir misin

[ORDER TAGS]
– Format for order tags

 
<tr>
<td width=190> 
 <div style="font-size:16;font-family:Calibri">  
» {ORDER TAG NAME}
  </div>   
</td><td width=30 Align=Right>
  <div style="font-size:16;font-family:Calibri">   
{ORDER TAG TOTAL PRICE}
  </div> 
</td>
</tr>

@erkan_kaplan Teşekkürler, aynen budur :+1:

Şuraya da şablon olarak yapıştıralım, birine lazım olur belki.

[LAYOUT] -- General layout 
<div style="text-align:left"> <img src="c:\menufoto\baslik.bmp" width="250" height="140"> </div>

<div style="font-size:14px;font-family:Calibri">
<table>
<tr>
<td width=120 align=Left>Sipariş Saati :</td> <td width=180>{TICKET TIME}</td>
</tr>
<tr>
<td width=120 align=Left>Sipariş Tarihi :</td> <td width=180>{TICKET DATE}</td>
</tr>
<tr>
<td width=120 align=Left>{TICKET TYPE} No:</td> <td width=180>{TICKET NO}</td>
</tr>

</table>
</div>
<div style="font-size:14px;font-family:Calibri">
<table>
{ENTITIES}
</table>
</div>

<div style="font-size:11px;font-family:Calibri">

<table>
<tr>
<td width=160 align=Left>ADET ÜRÜN ADI </td><td width=85 align=Right>TUTAR</td>
</tr>
</table>

</div>

<div style="font-size:18;font-family:Calibri">
<table>
{ORDERS}
</table>
</div>

<div style="font-size:13px;font-family:Calibri">
<table>
<tr>
<td width=160 align=Left>Belge Toplam:</td><td width=90 align=Right>{PLAIN TOTAL: }</td>
</tr>

{PAYMENTS}
{DISCOUNTS}
{TAXES}
{SERVICES}
</table>
</div>

<div style="font-size:12px;font-family:Calibri">
<table>
<tr>
<td width=160 align=Left>Ödenen Toplam:</td><td width=90 align=Right>{TENDERED TOTAL}</td>
</tr>
</table>
</div>

<div style="font-size:18px;font-family:Calibri">
<table>
<tr>
<td width=160 align=Left>Kalan Toplam:</td><td width=90 align=Right>{REMAINING TOTAL}</td>
</tr>
</table>
</div>

=========================================

<div style="font-size:17px;font-family:Calibri;text-align:Center">
A F İ Y E T O L S U N <br><br>
<table>
<tr>
<td width=40 align=Left>NOT:</td> <td width=180>{NOTE}</td>
</tr>
<tr>
<td width=100 align=Left>Ödeme Şekli :</td> <td width=180>{TICKET TAG:Ödeme Şekli}</td>
</tr>
<tr>
<td width=100 align=Left>Para Üstü :</td> <td width=180>{TICKET TAG:Para Üstü} TL</td>
</tr>
</table>
[DISCOUNTS]
<tr>
<td width=160 align=Left>{CALCULATION NAME}:</td><td width=70 align=Right>{CALCULATION TOTAL}</td>
</tr>

[SERVICES]
<tr>
<td width=160 align=Left>{CALCULATION NAME}:</td><td width=70 align=Right>{CALCULATION TOTAL}</td>
</tr>

[TAXES]
<tr>
<td width=160 align=Left>{TAX NAME} %{TAX RATE}:</td><td width=70 align=Right>{TAX AMOUNT}</td>
</tr>

[PAYMENTS]
<tr>
<td width=170 align=Left>{PAYMENT NAME}:</td><td width=70 align=Right>{PAYMENT AMOUNT}</td>
</tr>

[ORDERS]
– Default format for orders
<tr>
<td width=190>-{QUANTITY} {NAME} </td><td width=60 align=Right> {TOTAL PRICE}</td>
</tr>

{ORDER TAGS}

[ORDERS:İkram]
– Format for gifted orders
<tr>
<td width=170>- {QUANTITY} {NAME} </td><td width=30>{PRICE}</td><td width=30> İKR</td>
</tr>

[ORDERS:İade]
– Nothing will print for void lines

[ORDER TAGS]
– Format for order tags

<tr>
<td width=190>
<div style="font-size:12;font-family:Calibri">
-» {ORDER TAG NAME}
</div>
</td><td width=30 Align=Right>
<div style="font-size:12;font-family:Calibri">
{ORDER TAG TOTAL PRICE}
</div>
</td>
</tr>

[ENTITIES:Masa]
– Table entity format
<tr>
<td width=95>Masa:{ENTITY NAME}</td> <td width=180></td>
</tr>

[ENTITIES:Müşteri]
– Customer entity format
<tr>
<td width=60>Müşteri:{ENTITY DATA:Adı} <td width=180>{ENTITY NAME}</td>
</tr>

<tr>
<td width=60>Telefon:</td> <td width=180>{ENTITY DATA:Telefon}</td>
</tr>
<tr>
<td width=60>Adres:</td> <td width=180>{ENTITY DATA:Adres} </td>
</tr>
2 Beğeni