aboutsummaryrefslogtreecommitdiff
path: root/doc/gp-gl.txt
blob: 0980935202e6356f8b7d4c14741625ba6ca88fdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Description (not part of docu)

[t]	EOT			ASCII 0x03
a	Acceleration
f	Force
n	Pen?
x,y	Coordinate		20 = 1mm, float value
∆	Delta			-x..x
θ	Degree			0..3600

Plots line

D	Draw			Dx1,y1,x2,y2...xn,yn[t]
E	Relative Draw		E∆x1,∆x1,∆x2,∆x2...∆xn,∆yn[t]
M	Move			Mx,y,
O	Relative Move		O∆x,∆y,
MP	Move Polar		MPr,θ[t]				nop
DP	Drar Polar		DPr1,θ1,r2,θ2...rn,θn[t]		nop
EP	Relative Draw Polar	EP∆r,θ[t]				nop
OP	Relative Move Polar	EP∆r,∆θ[t]				nop
RP	Radius Plot		EPθ,l1,l2				nop

Character and symbol

P	Print			Pc1,c2...cn[t]
K	Kana (greek)		Kc1,c2...cn[t]
N	Mark			Nn,					nop
SP	Select Point Mark	SPc[t]					nop
(	User Pattern		(n1,n2...nn[t]		Not Supported	nop
(P	User Program Pattern	(P[p,]∆x1,∆y1,[p,]∆x2,∆y2...[p,]∆xn,∆yn	nop

Circle and curve

WP	3-Point Circle		WPx1,y1,x2,y2,x3,y3[,d][t]
W	Circle			Wx0,y0,r1,r2,θ1,θ2[,d][t]
]	Relative Circle		]r1,r2,θ1,θ2[,d][t]
Y	Curve			Ya,x1,y1,x2,y2...xn,yn[t]
_	Relative Curve		_a,∆x1,∆y1,∆x2,∆y2...∆xn,∆yn[t]
)	Ellipse			)a,x0,y0,r1,r2,θ1,θ2,θ3
BZ	Bezier Curve		BZa,x1,y1,x2,y2,x3,y3,x4,y4[,d][t]

Line specification

L	Line Type		Lp,
B	Line Scale		Bl,

Character and symbol specification

$	Font			$n,(m,)
S	Alpha Scale		Sn,(m,)					nop
Q	Alpha Space		Ql(k,)
R	Alpha Rotate		Rθ,					nop
I	Alpha Italic		Ip,
LP	Label Position		LPn[t]
A	Alpha Reset		A					nop
RC	Replot Character	RCc,x1,y1,[P,]x2,y2,[P1]...xn,yn[t]	nop

Control

H	Home			H
^	Offset			^x,y,
^P	Offset Polar		^Px,y[,θ[f][t]]
J	New Pen			Jn,(m)			n=1..8
!	Speed			!l[,n][t]		l=1..10,101..140 n=1..8
*	Pen Acceleration&Force	*a,f[,n][t]		a=1..3 f=1..31 n=1..8
FC	Cutter Offset		FCp,q[,n][t]
FD	Blade Rotation Control	FDθ[t]
\	Write Lower Left	\x,y,
Z	Write Upper Right	Zx,y,
/	Rotate			/x,y,θ,
>	Clipping		>x1,y1...xn,yn[t]

&	Factor			&p,q,r,
SO	Set Origin		SOn
T	Buzzer			Tn					nop
F	Chart Feed		Fl[t]

Output coordinates

G	Gin			G
C	Call Gin		C
?	Read Offset		?
[	Read Lower Left		[
U	Read Upper Right	U

Interface control

V	Read Status Word1	V
@	Read Status Word2	@
#	Read Status Word3	#
=	Term			=t1,t2
"	Error Mask		"m,
:	Clear			:
;	Interface Clear		;
BS	Buffer Size		BSs1,s2,s3,s4		Not Supported	nop

Graph

X	Axis			Xp,q,r[,t1,t2][t]
%	Hatching		%n,x,y,d,θ[t]		n=1..3
				%n,r1,r2,θ1,θ2,d[t]	n=11..13
				%n,d,θ,x1,y1...xn,yn[t]	n=21..23