Receipt Problems (Comments)

Hi there

My second attempt with a bit better spelling/grammer

I am trying to get item comments to print in a 40 column receipt format (just like they do in full page receipt formats).

I have gotten it as far as showing the comments under the item description but the comments get cut off after 23 characters (or the end of the column within the table). Is there a way for the comments to continue on a new line?

Here is the code I am working with. Any ideas would be greatly appreciated?

============================ Transaction Details ============================--> Transaction.Type transactionDrop & Transaction.Type transactionPayout & Transaction.Type transactionNoSale & Transaction.Type transactionAccountPayment "Small" tbNone "~" PageWidth * 0.29 "Amount" "================|=========================|=================" ShowLineDiscounts & (Entry.ExtendedDiscountPurchased 0) Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.ExtendedFullPrice "|" Entry.comment "|" Entry.ExtendedDiscountNegative 0 "|Discount|" Entry.ExtendedDiscountNegative Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.ExtendedPrice "|" Entry.comment "|"

Reply to
mbonin
Loading thread data ...

Are you using windows or OPOS drivers? If OPOS it won't wrap to the next line, and if it's getting cut off in the middle of a word, most likely the word is so long it would have to wrap to show the whole word. And that will only work with windows drivers. Craig

Reply to
Craig

Craig

I am doing my trouble shooting on an HP Laser Jet (which i believe has windows drivers but i could be wrong). When I use the "full page" reciept format (generic report that comes with RMS) it prints the item comments and continues to the next line when it runs out of space on the current line. This is what I am also trying to achieve in the 40 Column Reciept format, but am stumbling at the comment being cutoff instead of continuing on the next line.

If it is a driver issue and not a code issue than why does the full page report do what I need but not the 40 column report?

Thanks for your help on this.

Matt

"Craig" wrote:

Reply to
mbonin

Craig..here is another part of the report i am working with...I do see that there is OPOS code in the page settings area of the script. This code is not in the "full page" reciept script. Could this be where my problem is?

Receipt - 402 column Microsoft Corporation Version 1.06 1 2.75 11.00 0 0 0 0

100 437 True True False

False False True False

True True True True True

True

True 75

True True True True True "Thank you for shopping" Store.Name "We hope you'll come back soon!" PaperWidth - MarginLeft - MarginRight PaperHeight - MarginTop - MarginBottom 0 0

CharacterSet PaperCutPercent PrintReceipt PrintJournal PrintSlip ReceiptCount MarginTop MarginBottom MarginLeft MarginRight orPortrait "Arial" 9 False False False vbBlack 44 "Arial" 7 False False False vbBlack 44 "Arial" 12 True False False vbBlack True 2 30 ShowHeaderLogo LogoHeader PageWidth MarginLeft 0 tbNone "^" PageWidth ShowStoreInfo Len(Store.Name) Store.Name Len(Store.Address1) Store.Address1 Len(Store.Address2) Store.Address2 Len(Store.CityStateZip) Store.CityStateZip Len(Store.Phone) Store.Phone Len(Store.Fax) Store.Fax tbNone "^~" PageWidth Len(FooterLine1) FooterLine1

Len(FooterLine2) FooterLine2 Len(FooterLine3) FooterLine3 Len(FooterLine4) FooterLine4 Len(FooterLine5) FooterLine5

ShowFooterLogo LogoFooter PageWidth MarginLeft 0

Reply to
mbonin

The full page printer would be using windows drivers that don't have the same limitations as receipt printers using OPOS drivers. So that could be the difference. You need to see if your receipt printer is using OPOS drivers or not. If it is, OPOS won't wrap to the next line, which means you will lose part of the description. Craig

Reply to
Craig

With Windows drivers, the tilde in the ALIGNMENT property prevents line wrap. Removing it allows line wrap. "~"

Reply to
Marc

Thanks Marc for the more detailed explanation on windows drivers, just keep in mind it will not work with OPOS drivers. Craig

Reply to
Craig

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.