I am trying to print receipt using OPOS. I want to print Items on the left and the prices on the right. I tried the followings, but they don't work...
printNormal "Item 1" + ESC|rA + "123.45"
printNormal ESC|N + "Item 1" + ESC|rA + "123.45"
printNormal ESC|N + "Item 1" + CR + ESC|rA + "123.45" + ESC|N
printNormal ESC|N + "Item 1" ; printNormal ESC|rA + "123.45" + ESC|N
The printer always print 'everything' on the right. I tried with bold, and wide characters, and they behave as it suppose to be. They only format the "following" text, not entire line as the alignment.
Does anyone have any idea?
Thanks