On the same theme....
This program never ceases to amaze me.
I have products currently in two categories.
As strange as it may sound, when I enter products from one category to a sale
and the ticket is printed, there are no $ signs appearing for the products under the price column
but there are $ signs appearing under the Value column !!!
Products from the other category show $ signs in both columns.
This is on a computer that I haven't made changes to with your above tip.
Any ideas what is going on here?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think it's because the length of the product price exceeds the length specified in the Printer.Ticket. By default, Value has more lenght than PriceTax. And since it's aligned to the right, the '$' sign gets cut off first. Just adjust lengths accordingly.
Thanks for the explanation Swordy, it makes sense.
"And for the Total '$' sign, just add another '$' before ${ticket.printTotal()."
BINGO! Thanks for the great idea. :)
It's working perfectly.
For those who are thinking "What the heck is this guy going on about? His business must be rolling in dough if he has no room on his receipt printouts for $ signs!"
The business is in the Caribbean and those $1000 pesos don't amount to much at all.
This is what a typical receipt would look like (if this site formats this properly). You can see it gets a bit tricky to read with the congestion when the amounts are in the thousands and line discounts are offered:
Solid blue $826.00 x2 $1652.00
Line Discount 10%($82.60) x1 ($82.60)
Well the site didn't format it properly but you get the general idea.
Last edit: PasswordSafeGuy 2016-04-13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For those who are thinking "What the heck is this guy going on about? His business must be rolling in dough if he has no room on his receipt printouts for $ signs!"
Lol yeah I thought you must have a high-end business selling expensive handbags or something. ;D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ahhh.. if only it were that simple Andrew.
I did look at that code before and noticed the $ signs.
They hold another function, they don't simply add a $ sign to the code to the right. :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry about that. It has been awhile since i've worked with that code extensively.
No idea on correct solution, but you could strip the $ from the value and store in new var? Just a thought.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I realize that depending on locale, your money denomination will vary.
Could someone please tell me how I can customize our receipts so that all $ signs are removed except for the final Total?
Space is an issue here! And every $ sign takes up precious space.
I can take the $ away, but can not keep it for total.
Under Configuration > Locale > Currency pop-down and choose '$' #,##0.00 and then remove the '$' portion and then save.
OK thanks very much Ricky, that is very helpful!
On the same theme....
This program never ceases to amaze me.
I have products currently in two categories.
As strange as it may sound, when I enter products from one category to a sale
and the ticket is printed, there are no $ signs appearing for the products under the price column
but there are $ signs appearing under the Value column !!!
Products from the other category show $ signs in both columns.
This is on a computer that I haven't made changes to with your above tip.
Any ideas what is going on here?
I think it's because the length of the product price exceeds the length specified in the Printer.Ticket. By default, Value has more lenght than PriceTax. And since it's aligned to the right, the '$' sign gets cut off first. Just adjust lengths accordingly.
And for the Total '$' sign, just add another '$' before ${ticket.printTotal().
Last edit: Swordylove 2016-04-13
*OP asks, how to remove $ symbols from receipts?
It has already been answerd by RickyO.
Thanks for the explanation Swordy, it makes sense.
"And for the Total '$' sign, just add another '$' before ${ticket.printTotal()."
BINGO! Thanks for the great idea. :)
It's working perfectly.
For those who are thinking "What the heck is this guy going on about? His business must be rolling in dough if he has no room on his receipt printouts for $ signs!"
The business is in the Caribbean and those $1000 pesos don't amount to much at all.
This is what a typical receipt would look like (if this site formats this properly). You can see it gets a bit tricky to read with the congestion when the amounts are in the thousands and line discounts are offered:
Solid blue $826.00 x2 $1652.00
Line Discount 10%($82.60) x1 ($82.60)
Last edit: PasswordSafeGuy 2016-04-13
You're welcome.
Lol yeah I thought you must have a high-end business selling expensive handbags or something. ;D
In Printer.Ticket...
instead of
In Printer.Ticket...
instead of
Ahhh.. if only it were that simple Andrew.
I did look at that code before and noticed the $ signs.
They hold another function, they don't simply add a $ sign to the code to the right. :(
Sorry about that. It has been awhile since i've worked with that code extensively.
No idea on correct solution, but you could strip the $ from the value and store in new var? Just a thought.
I thought the $ were strings.
Sorry guys, for any confusion I may have caused.