|
Posted by kase on August 22, 2006, 8:57 am
Please log in for more thread options
Hi Rob,
I am having almost like the same issue and need your help here,
I would like to omit the "item" from the receipt format and print out as
Description qty amount
======= == =====
Any ideal how to modify the xml?
Your help is very muc appreciated.
Kase
Rob" wrote:
> All of these changes are in the PrintTransactionDetails Sub.
> To get what you want you are going to have to combine the first two columns
> Item and Description into one column.
> Change this:
> <COLUMNHEADER>
> <ALIGNMENT> "<~" </ALIGNMENT>
> <WIDTH> PageWidth * 0.29 </WIDTH>
> <TEXT> "Item" </TEXT>
> </COLUMNHEADER>
> <COLUMNHEADER>
> <ALIGNMENT> "<" </ALIGNMENT>
> <WIDTH> PageWidth * 0.42 </WIDTH>
> <TEXT> "Description" </TEXT>
> </COLUMNHEADER>
> <COLUMNHEADER>
> <ALIGNMENT> ">~" </ALIGNMENT>
> <WIDTH> PageWidth * 0.29 </WIDTH>
> <TEXT> "Amount" </TEXT>
> <COLUMNHEADER>
> <ROW> "================|=========================|=================" </ROW>
> To this:
> <COLUMNHEADER>
> <ALIGNMENT> "<~" </ALIGNMENT>
> <WIDTH> PageWidth * 0.71 </WIDTH>
> <TEXT> "Item Description" </TEXT>
> </COLUMNHEADER>
> <COLUMNHEADER>
> <ALIGNMENT> ">~" </ALIGNMENT>
> <WIDTH> PageWidth * 0.29 </WIDTH>
> <TEXT> "Amount" </TEXT>
> <COLUMNHEADER>
> <ROW> "=========================================|=================" </ROW>
>
> Then make sure there is only one "|" in each row in the TransactionDetail
> section.
> For instance this line of code:
> <ROW> "|Discount|" Entry.ExtendedDiscountNegative </ROW>
> Should be changed to:
> <ROW> "Discount|" Entry.ExtendedDiscountNegative </ROW>
> There several lines of code that need to changed.
>
> Lastly modify this line of code:
> <ROW> Entry.Item.ItemLookupCode "|" Entry.Description "|"
> Entry.ExtendedFullPrice </ROW>
> and make it look like this:
> <ROW> Entry.Item.ItemLookupCode "|" Entry.ExtendedFullPrice </ROW>
> <ROW> Entry.Description "|" Entry.ExtendedFullPrice </ROW>
> There are two places in the TransactionDetails section that this code should
> be changed to ensure your receipt displays the format you want.
>
> Rob
>
> > would someone please guide me on how to edit the XML in the receipt to
> > show:
> >
> > Item Description Amount
> > 123456789012
> > Nice long sleeve tee shirt $16.99
> >
> > I dont want it to be like this:
> > Item Description Amount
> > 1234567 Nice long sleev $16.99
> > 89012 e Tee Shirt
> >
> > i want it to use 2 lines by default.
> >
> > TIA,
> > --
> > Eddie B
>
>
>
|