English Boards > Requests
save the print file .txt
emre:
Hello spanky. What do you mean by total amount with no commas? Do you want 2.60 instead of 2,60 ? It formats the number according to your regional settings.
Additionally some cash registers needs whole price in cents. In this case we send 260 instead of 2,60. If you need that you can use {CENTS} value.
I hope to release a printer type for creating files on next version.
Thanks.
spanky:
exactly! I send 260 instead of 2.60.
Are you telling me that with {CENTS} I can do?
Where should I put this {CENTS} ?
Always helpful and friendly, Thanks
spanky:
I tried the {CENTS} The problem is that I calculate the price of the product without VAT, So 1 euro = 91 cents with VAT at 10%
To work with Epson printers, rch, mct, ditron ecc. We need {TOTAL AMOUNT CENTS} end {TICKET TOTAL CENTS}
Then to save printing a specific file with specific extension.
I would be very happy if you could include in a future update
Trying to collabborare with evidence and otherwise.
emre:
Can you check "Expression Evaluation in Printer Templates" part of the http://forum2.sambapos.org/index.php/topic,423.0.html post?
With that feature you can print any value in cents. For example
[=ToNumber('{TICKET TOTAL}')*100]
Should convert 25,10 Ticket Total to 2510
There are some fixes for that feature in latest updates.
spanky:
is true, I never thought of, and it works perfectly. ;D
Now missing only the saving of files.
Emre Thanks!
Now do some testing with a virtual printer. Txt.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version