I’m currently using v2 but plan to change to either v3 or v4. So if this cannot be done in v2 then i hope v3 or v4 can do this.
I need help on making the menu display font bigger. I’m using 3 language (english ,thai and chinese) so each menu item will be very long making it smaller. i noticed that display is always single line and the longer the smaller it gets. can it be made to remain the font size but making it into few lines?
also i want to know if it can be made to each language in seperate lines format like this:
currently i’m doing it like this eeeeeeeeeeeee ttttttttttttt cccccccccccccc but it want to make it
so when we see the system, kitchen order or print ticket it will show like above, so it will be very clear as each language start in new line
Ok its working on actual printer but only in ticket printer. when selecting text or html the font size remains same. I need to use text or html as I have multiple language. Anything we can do the change the font using text or html printer?
After closing the div tags still facing the same big spacing, i noticed something wierd is the above green box even without tag closed not having spacing but bottom red box after put the div closed have big spacing
i noticed that when starting a new div tag it will create big spacing, did i do something wrong?
i dont know if this is the same issue, but i have also had an issue with large spaces (or line space being increased) when printing. Now I know this is definitely NOT an issue with my template as I have multiple templates for different things eg, sales, refunds, staff discount etc and the base of each template i copied and pasted to a new template.
This is my issue, for example I have staff discount receipt that prints when the sale has staff discount applied. In this case 2 receipts print a store copy and a customer (staff) copy. I used the same template for both ticket template, copying and pasting one to the other and the only changes made were changing the title to staff or store copy, adding a staff signature line to sign for discount and adding staff entity details to store copy.
when one of them prints the line spacing is increased but when 2nd one prints straight after the spacing is fine. I initially solved this by copying the template that prints fine into the template with large spaces and making my few amendments to it again and that seemed to work, but every now and then another of my templates starts printing with large spaces.
I dont know if this is an issue within samba or not as like i said the two templates are almost identical and there are no additional spaces anywhere.
I cant post screenshots at the moment as im not at PC that has the printer conected but i did manage to take a photo of example receipts that have this issue as shown below
These are from my online order receipts, 2 templates, a Store Copy and a Customer Copy. Both templates are identical and one was copied (cloned) from the other with the only change made being the header that says store copy or customer copy.
So i know the template isnt the issue as they are identical
Can you try with span tag? Also decrease char count per line setting. If you set it to 42 and increase font size SambaPOS will add space characters to complete line to 42 chars and since the font is larger it will break.
Yes, I was going to mention using <span> instead of <div> as well.
DIV is “block-level” while SPAN is “in-line”.
Think of DIV as a box. When you end a DIV, the box is closed, and your cursor is moved to the next line - even if you have several DIV tags in 1 line, the renderer will break them up and stack them on top of each-other.
SPAN on the other hand is not a box, so you can chain them on the same line, and your text stays on the same line.
Very important as well. Your lines may be “wrapping” because the font size being used eats up the character count.
I have a problem with my ticket layout since changing from a ticket printer to a HTML printer. I cannot align the amount on each item to the right - see ticket attached, I have attached my template too