Text Mode Commands | |
---|---|
Instruction | Syntax |
Start Graphics mode | <Esc><Ctrl+G> |
Set text size to 20 columns | <Esc><Ctrl+P> |
Set text size to 40 columns (default) | <Esc><Ctrl+N> |
Set text size to 80 columns | <Esc><Ctrl+S> |
Start International Character mode | <Esc><Ctrl+W> |
End International Character mode | <Esc><Ctrl+X> |
Graphics Mode Commands | |
Instruction | Syntax |
End Graphics Mode | A |
Set Text Scale: 0 to 63 | S<scale> |
Move pen to Home position (0,0) | H |
Set Pen Color: 0 = black, 1 = blue, 2 = green, 3 = red | C<color> |
Set Line Type: 0 = solid, 1 to 15 = dotted/dashed | L<type> |
Draw line from 0,0 to X,Y. X = 0 to 480, Y = -999 to 999 | D<X>,<Y>[;<X>,<Y>]... |
Initialize printer Set current pen position as Home (0,0) | I |
Draw line to X,Y relative from current position | J<X>,<Y>[;<X>,<Y>]... |
Move pen to X,Y | M<X>,<Y> |
Move pen to X,Y relative from current position | R<X>,<Y> |
Draw axis with tick marks: axis = 0 for X, non-zero for Y | X<axis>,<spacing>,<count> |
Set rotation for text printed with P: 0 to 3 | Q<rotation> |
Print text | P<text> |