L
LarryW
I have made a custom receipt from the receipt.xml that prints just the Item
Description Item Comment and Quanity to print to a networked printer in a
kitchen. How can I make the Font small for the Comment element[Entry.Comment]
(it is on a separate row) and leave the Description and Qty elements the
Large Font size of the Transaction Details Table? Below is the Transaction
Details Section of the receipt format. Is there documentation for the
receipt formatting anywhere? thanks in advance for any help
<!--
=============================
Transaction Details
=============================
-->
<IF>
<CONDITION> Transaction.Type <> transactionDrop & Transaction.Type <>
transactionPayout & Transaction.Type <> transactionNoSale & Transaction.Type
<> transactionAccountPayment </CONDITION>
<THEN>
<TABLE>
<FONT> "Large" </FONT>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth * 0.81 </WIDTH>
<TEXT> "Description" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">" </ALIGNMENT>
<WIDTH> PageWidth * 0.19 </WIDTH>
<TEXT> "Qty" </TEXT>
</COLUMNHEADER>
<ROW> "======================|===" </ROW>
<FOR each="entry">
<IF>
<CONDITION> ShowLineDiscounts & (Entry.ExtendedDiscount <> 0)
</CONDITION>
<THEN>
<IF>
<CONDITION> (Receipt.TaxSystem = taxsystemVAT) & (Entry.Taxable =
0) </CONDITION>
<THEN>
<SET name="ExtendedExclsvPricePlusDiscount" type="vbcurrency">
Entry.ExtendedExclsvPrice + Entry.ExtendedDiscount </SET>
<ROW> Entry.Description "|" ExtendedExclsvPricePlusDiscount </ROW>
<IF>
<CONDITION> (Entry.Comment <> 0) </CONDITION>
<ROW>Entry.Comment</ROW>
</IF>
</THEN>
<ELSE>
<ROW> Entry.Description "|" Entry.Quantity </ROW>
<IF>
<CONDITION> (Entry.Comment <> 0) </CONDITION>
<ROW>Entry.Comment</ROW>
</IF>
</ELSE>
</IF>
<IF>
<CONDITION> Entry.ExtendedDiscountNegative <> 0 </CONDITION>
<THEN>
<ROW> "|Discount|" Entry.ExtendedDiscountNegative </ROW>
</THEN>
</IF>
</THEN>
<ELSE>
<IF>
<CONDITION> (Receipt.TaxSystem = taxsystemVAT) & (Entry.Taxable =
0) </CONDITION>
<THEN>
<ROW> Entry.Description "|" Entry.Quantity </ROW>
<IF>
<CONDITION> (Entry.Comment <> 0) </CONDITION>
<ROW>Entry.Comment</ROW>
</IF>
</THEN>
<ELSE>
<ROW> Entry.Description "|" Entry.Quantity </ROW>
</ELSE>
</IF>
</ELSE>
</IF>
<!-- <IF>
<CONDITION> Entry.Item.ItemType = itemtypeWeighed </CONDITION>
<THEN>
<ROW> "|" Entry.Quantity "" Entry.Item.UnitOfMeasure " @ "
Entry.Price "/" Entry.Item.UnitOfMeasure "|" </ROW>
<IF>
<CONDITION> Entry.WeightFromScale = 0 </CONDITION>
<THEN>
<ROW> "|Manual Weight|" </ROW>
</THEN>
</IF>
</THEN>
<ELSE>
<IF>
<CONDITION> Entry.Quantity <> 1 </CONDITION>
<THEN>
<ROW> "|" Entry.Quantity " @ " Entry.Price "|"
</ROW>
</THEN>
</IF>
</ELSE>
</IF>
<IF>
<CONDITION> ((Entry.QuantityOnOrder <> 0) | (Entry.QuantityRTD <> 0))
& (Transaction.Type <> transactionQuote) </CONDITION>
<THEN>
<ROW> "|RTD:|" Entry.QuantityRTD " "
</ROW>
<ROW> "|On Order:|" Entry.QuantityOnOrder " "
</ROW>
<ROW> "|Picked up:|" Entry.QuantityPurchased " "
</ROW>
<ROW> "||"
</ROW>
</THEN>
</IF> -->
</FOR>
</TABLE>
</THEN>
</IF>
</SUB>
<SUB name="PrintTransactionTotals">
<!--
Description Item Comment and Quanity to print to a networked printer in a
kitchen. How can I make the Font small for the Comment element[Entry.Comment]
(it is on a separate row) and leave the Description and Qty elements the
Large Font size of the Transaction Details Table? Below is the Transaction
Details Section of the receipt format. Is there documentation for the
receipt formatting anywhere? thanks in advance for any help
<!--
=============================
Transaction Details
=============================
-->
<IF>
<CONDITION> Transaction.Type <> transactionDrop & Transaction.Type <>
transactionPayout & Transaction.Type <> transactionNoSale & Transaction.Type
<> transactionAccountPayment </CONDITION>
<THEN>
<TABLE>
<FONT> "Large" </FONT>
<BORDER> tbNone </BORDER>
<COLUMNHEADER>
<ALIGNMENT> "<" </ALIGNMENT>
<WIDTH> PageWidth * 0.81 </WIDTH>
<TEXT> "Description" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> ">" </ALIGNMENT>
<WIDTH> PageWidth * 0.19 </WIDTH>
<TEXT> "Qty" </TEXT>
</COLUMNHEADER>
<ROW> "======================|===" </ROW>
<FOR each="entry">
<IF>
<CONDITION> ShowLineDiscounts & (Entry.ExtendedDiscount <> 0)
</CONDITION>
<THEN>
<IF>
<CONDITION> (Receipt.TaxSystem = taxsystemVAT) & (Entry.Taxable =
0) </CONDITION>
<THEN>
<SET name="ExtendedExclsvPricePlusDiscount" type="vbcurrency">
Entry.ExtendedExclsvPrice + Entry.ExtendedDiscount </SET>
<ROW> Entry.Description "|" ExtendedExclsvPricePlusDiscount </ROW>
<IF>
<CONDITION> (Entry.Comment <> 0) </CONDITION>
<ROW>Entry.Comment</ROW>
</IF>
</THEN>
<ELSE>
<ROW> Entry.Description "|" Entry.Quantity </ROW>
<IF>
<CONDITION> (Entry.Comment <> 0) </CONDITION>
<ROW>Entry.Comment</ROW>
</IF>
</ELSE>
</IF>
<IF>
<CONDITION> Entry.ExtendedDiscountNegative <> 0 </CONDITION>
<THEN>
<ROW> "|Discount|" Entry.ExtendedDiscountNegative </ROW>
</THEN>
</IF>
</THEN>
<ELSE>
<IF>
<CONDITION> (Receipt.TaxSystem = taxsystemVAT) & (Entry.Taxable =
0) </CONDITION>
<THEN>
<ROW> Entry.Description "|" Entry.Quantity </ROW>
<IF>
<CONDITION> (Entry.Comment <> 0) </CONDITION>
<ROW>Entry.Comment</ROW>
</IF>
</THEN>
<ELSE>
<ROW> Entry.Description "|" Entry.Quantity </ROW>
</ELSE>
</IF>
</ELSE>
</IF>
<!-- <IF>
<CONDITION> Entry.Item.ItemType = itemtypeWeighed </CONDITION>
<THEN>
<ROW> "|" Entry.Quantity "" Entry.Item.UnitOfMeasure " @ "
Entry.Price "/" Entry.Item.UnitOfMeasure "|" </ROW>
<IF>
<CONDITION> Entry.WeightFromScale = 0 </CONDITION>
<THEN>
<ROW> "|Manual Weight|" </ROW>
</THEN>
</IF>
</THEN>
<ELSE>
<IF>
<CONDITION> Entry.Quantity <> 1 </CONDITION>
<THEN>
<ROW> "|" Entry.Quantity " @ " Entry.Price "|"
</ROW>
</THEN>
</IF>
</ELSE>
</IF>
<IF>
<CONDITION> ((Entry.QuantityOnOrder <> 0) | (Entry.QuantityRTD <> 0))
& (Transaction.Type <> transactionQuote) </CONDITION>
<THEN>
<ROW> "|RTD:|" Entry.QuantityRTD " "
</ROW>
<ROW> "|On Order:|" Entry.QuantityOnOrder " "
</ROW>
<ROW> "|Picked up:|" Entry.QuantityPurchased " "
</ROW>
<ROW> "||"
</ROW>
</THEN>
</IF> -->
</FOR>
</TABLE>
</THEN>
</IF>
</SUB>
<SUB name="PrintTransactionTotals">
<!--