The sample sshot I gave you was not how it normally looks. I was trying different settings to see if I could do it. If I try xxxx|xxx it wont use the | it just prints it. I want both Justified to right but I want them lined up like I showed you in my example.
It may not be possible to do what I want. I got to thinking… what I actually need is a hardcoded position for the Name to be justified too. If I use |(XX:)|(XX) the first |(XX:) is still justified to the beginning length of |(XX) so if |(XX) is actually |(XXX) then |(XX:) will not be lined up with the line above it.
What I need is a predefined position for |(XX:) to be justified to. This way no matter if |(XX) = |(XXXX), |(XX:) will still be justified at the same position.
It is hard for me to explain what I am trying to do. Lets say I have {NAME} and {NUMBER} I want {NAME} to be justified to a specific point in the receipt and I do not want it to change no matter how many characters are printed in {NUMBER} I want {NUMBER} to be justified to right.
Example:
This way output will always look like the following
Receipt #2343 TR#2343
| John: 12
| John: 123
| John: 1234
----------------------
Edit: I’ve noticed some thing. Usage of tags such as <EB>, <F> tags between lines breaks calculation of columns. You can temporarily remove them for testing. I’ll tweak it a little to allow such tags.
Quick question… how could I test the qr code and barcode printouts? I do not have my POS hardware printer yet (will be purchasing them closer to deployment of Samba)
and if I set to windows printer it does not print them on my samsung laser printer.
If I try HTML printer my samgsung desktop laser printer will not print at all.
EDIT: Never mind I can just wait. I guess its not possible with my printer.
Tested the <EB><DB><F> tags with new version… works great! Cant see them in ticket below… but I have bold enabled on Subtotal, Total, and Payment and the alignment stayed! Thank you @emre
Your Business Name Here
Date:8/29/2014 Time:7:11 PM TR#:1914
Ticket No:55
1 Burrito 3.25
Subtotal: 3.25
------------------------------------------
%6.5 Tax 1: 0.21
%1.75 Tax 2: 0.06
Tip Amount: 1.48
Total: 5.00
==========================================
Cash Payment: 5.00
==========================================
T H A N K Y O U
http://www.mooresdairycreme.com
------------------------------------------
1914
is there any way to use A4 laser printer with logo and negritas letters?
My apologies in advance peopl if this is a boring question
just researched on various topics, but not found anything as:
Logo Printing in Laser Printer.