Esto está en VB, pero mira a ver si te sirven los códigos.
Código:
Printer.Print "~EF~EG"
Printer.Print "^XA^MMT^MNN^MTT^LH0,0^MD30^JMA^PR2,6^XZ"
Printer.Print "^XA"
Printer.Print "^LL2400"
Printer.Print "^MCY^XZ"
Printer.Print "^XA^FT150,80^A0N,60"
Printer.Print "^FVblablabla^FS"
Printer.Print "^FT150,160^A0N,40"
Printer.Print "^FVejemplo^FS"
Printer.Print "^FT160,260^A0N,60"
Printer.Print "^FVSI^FS"
Un Saludo.