0

Does any one how to center text to be printed using page mode in ePOS ios SDK?

this is my code

int retVal = success;

retVal = [builder addPageBegin];
retVal = [builder addText:@"Text"];
retVal = [builder addPageEnd];

But it doesn't work and doesn't print. any ideas? thank you.

n0minal
  • 3,195
  • 9
  • 46
  • 71

1 Answers1

-1

You can send commands to the printer to set the page format. For instance, to center a text, you can use : ESC a 1

nicolas
  • 234
  • 4
  • 11