Text alignment using ESC sequence

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

Reply to
daicamad
Loading thread data ...

OPOS is limited in what you can customize. This could be your problem. Craig

Reply to
Craig

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.