Quote:
i dont know how to set standard print receipt alignment
You are already doing alignment, you simply do it wrong.
See what you do: each tome you draw a string, you give coordinates which tell where the left part begins.
For label aligned on left, just give coordinates.
For label aligned on right or centered, you need to query the system for the length and compute the matching left coordinate.
for centered label, the left coordinate is center coordinate minus length/2.
for right label, the left coordinate is right coordinate minus length.