Align receipt column to the left

Hi All, I have the following XML code from my a4 receipt. All I am trying to do is make the row "||Discount||" Entry.ReasonDiscount.Code "|"

align left so that it appears under my lookup code or description (i'm using entry.comment)

I cannot seem to get this to work and I am very confused by the alignment command. Can anyone please help? It's an full page receipt using Opos drivers.

I have included the code concerned below;

HeaderHeight + MarginTop "Small" tbNone LineColor

"" PageWidth * 0.10 "Quantity"

">" PageWidth * 0.11 "Price"

">" PageWidth * 0.14 "Extended"

ShowLineDiscounts & (Entry.ExtendedDiscountPurchased 0) Entry.Item.ItemLookupCode "|" Entry.Comment "|" Entry.Quantity "|" Entry.FullPrice "|" Entry.ExtendedFullPrice

Entry.DiscountNegative 0 "||Discount||" Entry.ReasonDiscount.Code "|" Entry.DiscountNegative "|" Entry.ExtendedDiscountNegative

Entry.Item.ItemLookupCode "|" Entry.Comment "|" Entry.Quantity "|" Entry.Price "|" Entry.ExtendedPrice

Reply to
matty102
Loading thread data ...

hi Matty, I have looked at your code and its need some modifiction, like you see the header columns it is 5 but printable columns are more if you look carefully your code:

"||Discount||" Entry.ReasonDiscount.Code "|" Entry.DiscountNegative "|" Entry.ExtendedDiscountNegative

Should be : "|Discount|" Entry.ReasonDiscount.Code "|" Entry.DiscountNegative "|" Entry.ExtendedDiscountNegative

Also check that columns headers are 5 instead 6 i bellieve you modified it. confirm and i checked it works.

Rate me Regards

"matty102" wrote:

Reply to
Akber Alwani

Reply to
matty102

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.