Home Page link  

Forcing receipt to use 2 lines

 

Point-Of-Sale Software - - MS Point Of Sale software discussed here 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Forcing receipt to use 2 lines Eddie B 04-03-2006
Posted by Eddie B on April 3, 2006, 7:52 pm
Please log in for more thread options
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

Posted by Rob on April 5, 2006, 10:48 am
Please log in for more thread options
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> "&lt;~" </ALIGNMENT>
<WIDTH> PageWidth * 0.29 </WIDTH>
<TEXT> "Item" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "&lt;" </ALIGNMENT>
<WIDTH> PageWidth * 0.42 </WIDTH>
<TEXT> "Description" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "&gt;~" </ALIGNMENT>
<WIDTH> PageWidth * 0.29 </WIDTH>
<TEXT> "Amount" </TEXT>
<COLUMNHEADER>
<ROW> "================|=========================|=================" </ROW>
To this:
<COLUMNHEADER>
<ALIGNMENT> "&lt;~" </ALIGNMENT>
<WIDTH> PageWidth * 0.71 </WIDTH>
<TEXT> "Item Description" </TEXT>
</COLUMNHEADER>
<COLUMNHEADER>
<ALIGNMENT> "&gt;~" </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



Posted by Eddie B on April 7, 2006, 11:42 am
Please log in for more thread options
Thanks Rob, that did it. There was a slash or two missing in your code
(malformed XML), so i am posting the updated version of your advice here for
future reference:

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.

--
Eddie B

Posted by Jane J on May 23, 2007, 6:16 pm
Please log in for more thread options
Is it possible for you to send me as an attachment the *.xml file you created
for forcing receipt to use 2 lines?
I'm having trouble finding and making the changes you list in Notepad or
Wordpad.

"Eddie B" wrote:

> Thanks Rob, that did it. There was a slash or two missing in your code
> (malformed XML), so i am posting the updated version of your advice here for
> future reference:
>
> 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.
>
> --
> Eddie B

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
>
>
>

Similar ThreadsPosted
How to configure 2 lines in receipt May 13, 2007, 12:19 am
More than 5 lines of text on Receipt footer? March 24, 2006, 9:52 pm
Editing the Amount of Advancement Lines after a Receipt June 27, 2006, 7:34 am
POS Sales Receipt printing extra lines! March 11, 2008, 11:07 am
Remove footer lines from Signature portion of Receipt? March 30, 2006, 5:25 am
Forcing a 401 Worksheet January 4, 2007, 3:06 pm
Forcing Tender from COM add-in May 3, 2007, 3:45 pm
Forcing Cashiers to Sign In between each transaction April 20, 2006, 1:07 pm
Forcing Cashier to Enter Cash Amount? August 25, 2006, 1:59 pm
Signatur Lines December 31, 2008, 5:52 am

Contact Us | Privacy Policy
This site is not affiliated with Intuit - makers of Quickbooks and Quicken software
This site is not affiliated with Sage Software - makers of Peachtree accounting software
XML SitemapXML Sitemap