I am currently printing receipt from my data when i print my receipt alignment data is not working properly
i think that i should apply start index and end index to
your code is fine additionally , there is the option in Epson Printer in
Epson
enum EposOcAlign { EPOS_OC_ALIGN_LEFT = 0, EPOS_OC_ALIGN_CENTER, EPOS_OC_ALIGN_RIGHT };
the method is invoked as - (int) addTextAlign:(int)align; use align type as center and try once
- (int) addTextAlign:(int)align;