Me too. Have a good night
I have already tested it, as mentioned in my previous reply
Yes, indeed I uses 31 characters instead of 32. I take down 1 character because it seems that none of the two printers that I have for 58mm, print out well 32 characters.
I stated that I changed "Printer.Ticket to fit a 58mm", so you will see that much of the lines, the only changes made are 2: 1. Change in numbers, ex. 42 to 31. 2. And in most of the lines, not all, I added "space" between the '>' and '$'
Yes, I changed this because, otherwise, the first letter wont show up in the printed ticket. See the first attachment when I start posting for help, the first letter from Line2 through Line4, there is a letter missing from each line
It seems the code mess up, so I will upload it as an attachment
There is no "Space characters" for the last 2 lines. And this is all the codes in Printer.Ticket: <?xml version="1.0" encoding="UTF-8"?> <!-- uniCenta oPOS - Touch friendly Point Of Sale Copyright (c) 2009-2018 uniCenta. http://sourceforge.net/projects/unicentaopos This file is part of uniCenta oPOS. uniCenta oPOS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License,...
Also, I have noticed that the blank spaces is not only in the footer, and it vary depending on how many products are printed, see attachment and look at where it says "Balance Due", there is a difference between each other, and it's the blank space
I changed the Printer.Ticket to fit a 58mm, other than that, I have not make any changes to Printer.Ticket. I did make changes to CONFIGURATION > COMPANY, as shown in the attachment
Hey guys, I need help with my printer.ticket, especially the footer section, it prints too much blank space which waste too much paper, may I know if someone can help me out with this issue? Thanks in advanced
This is the error message I get com.openbravo.pos.scripting.ScriptException: Sourced file: inline evaluation of: `import com.openbravo.format.Formats; import com.openbravo.pos.ticket.TicketLineI . . . '' Token Parsing Error: Lexical error at line 6, column 17. Encountered: "" (96), after : "" bsh.EvalError: Sourced file: inline evaluation of: `import com.openbravo.format.Formats; import com.openbravo.pos.ticket.TicketLineI . . . '' Token Parsing Error: Lexical error at line 6, column 17. Encountered:...
Unfortunately, it does not work, instead there is an error. I have tried two ways and then click the new added button, and both have error
BTW, there is a new icon on top, but is not clickable. Is this the reason why it's not working properly?
BTW, there is a new icon on top, but is not clickable
I have tested the code you just provided to me, but I dont see it works. See attachment Am I doing something wrong?
As I said early, I have tested on both version 4.6 (4.6 and 4.6.1), and both does not work, which is weird. So far, version 4.5.4, version 4.5, and version 4.2, works well.
Actually, there is a semi-colon at the end of that line of code. See attachment
sure, see attachment below. I have also tested it in version 4.6 and I believe the error is similar if not the same. Just in case, the error is shown as follow: com.openbravo.pos.scripting.ScriptException: Sourced file: inline evaluation of: ``import com.openbravo.pos.ticket.TicketLineInfo; index = sales.getSelectedIndex() . . . '' : Constructor error: Can't find constructor: com.openbravo.pos.ticket.TicketLineInfo( java.lang.String, java.lang.String, double, double, com.openbravo.pos.ticket.TaxInfo...
I have just tested it in the version 4.5.4, and it seems it works too, but I dont know why it does not work in version 4.6.1. Can someone help me out to solve this?, See attachment for the result when using version 4.5.4
Hey guys, I need help with a promotion script of 3x1 for the same price. The codes seems to work for oldest version (4.2), but not for the version 4.6.1. See attachment for the error message. I will apppreciate any help provided beforehand
Thanks you very much, it works very well. I appreciate it so much
Hey guys, I un-commented the line for the product's barcode, but when a discount is added to that product, it show up this: "${ticketline.printCode()}", my question is how can I make the product's barcode appear as it should be? See attachment for better understanding my inquiry. Thanks in advance for the help
Hey guys, I un-commented the line for the product's barcode, but when a discount is added to that product, it show up this: "${ticketline.printCode()}", my question is how can I make the product's barcode appear as it should be? See attachment for better understanding my inquiry. Thanks in advance for the help
Hey guys, I un-commented the line for the product's barcode, but when a discount is added to that product, it show up this: "${ticketline.printCode()}", my question is how can I make the product's barcode appear as it should be? See attachment for better understanding my inquiry. Thanks in advance for the help
Sorry about the late reply, I was trying out other new stuff and forgot about here. I think you probably didn't understand my original query, which is to increase the size of the font, which mean that whenever I add a new product, the size of the font of all the columns increase so that the customer can read, the product name, the price, the unit, the taxes, and the value, everything in the list easily, by making the font size bigger. Don't know if you did understand now what I mean by increasing...
As I said early, I have made the change to all three "line size" at Printer.Ticket Preview, but I don't see change, am I doing something wrong or am I missing something?
If this is as it should be, may I know how the "line size" is related to what I'm asking, because I'm a little bit confused. As far as I understand 2 of 3 "line size" seems to be related to "magcard", and the last one seems to be related to "total". This is taken from where you told me: Printer.TicketPreview. I have just changed it, and I don't see any change at all in size, may I know what I'm doing wrong?
Should I set all these three from 1 to 3?, as follow: 1. <line size="3"><text align="left" length="16" bold="true">Total</text><text align="right" length="26" bold="true">${ticket.printTotal()}</text></line> 2. <line size="3"><text align="left" length="16" bold="true">Total</text> <text align="right" length="26" bold="true">£_______</text></line> #else 3. <line size="3"><text align="left" length="16" bold="true">Total</text> <text align="right" length="26" bold="true">${ticket.printTotal()}</text></line>...
Thanks you for the reply, but I can't see this: "Balance Due", instead I have this three related to "line size=1", which one of the following should I look for? <line size="1"><text align="left" length="16" bold="true">Total</text><text align="right" length="26" bold="true">${ticket.printTotal()}</text></line> foreach ($paymentline in $ticket.payments) #if ($paymentline.name == "cash") <line><text bold="true">Cash</text></line> <line><text align="left" length="22">Tendered:</text><text align ="right"...
Hey guys, can anyone help me to increase the font size of all the columns of the ticket line? See attachment I do think that the default seems to be too small (the font size), and some customers might not see it well, so I will appreciate any help provided to solve this issue.
Hey guys, can anyone help me to increase the font size of those columns that you guys are talking?