Im printing on a POS receipt printer as follows (VB.NET):
args.Graphics.DrawString("Hello World", New Font("Arial", 8, FontStyle.Regular), Brushes.Red, 0,0)
but when trying to cut the paper, its not working:
Const ESC = Chr(27)
Dim strCut As String
strCut = ESC & "i"
args.Graphics.DrawString(strCut, New Font("Arial", 8, FontStyle.Regular), Brushes.Red, 0, 0)
The manual say the following:
Code: ASCII ESC i
Hex 1B 69
Decimal 27 105
This command executes a partial cut of the paper with one point left uncut.
The same partial cut as this command is executed using ESC m and GS V.
That's why I set strCut as ESC + "i"
But aint working....
Any tips? Thanks!