CGP-115 (260-1192) Control Codes Faxback Doc. # 5634
CHR$ (8) Backspace in Text Mode.
LPRINT CHR$(8) PRINT#-2, CHR$(8)
CHR$ (10) Line Feed.
LPRINT CHR$(10) PRINT#-2, CHR$(10)
CHR$ (11) Reverse Line Feed in Text Mode. Moves paper down one row.
LPRINT CHR$(11) PRINT#-2, CHR$(11)
CHR$ (13) Carriage Return.
LPRINT CHR$(13) PRINT#-2, CHR$(13)
CHR$ (17) Set Text Mode.
LPRINT CHR$(17) PRINT#-2, CHR$(17)
CHR$ (18) Set Graphic Mode.
LPRINT CHR$(18) PRINT#-2, CHR$(18)
CHR$ (29) Change Color in TEXT mode.
LPRINT CHR$(29) PRINT#-2, CHR$(29)
A Reset Pen moves to left margin (without drawing) and
returns to Text Mode.
LPRINT "A" PRINT#-2, "A"
C number Change color to specified Pen. "number" from 0-3.
LPRINT "C1" PRINT#-2, "C4"
D destination Draw from current coordinate to specified destination. If
there is more than one point the line continues to the sec-
ond point, etc. Current origin is used.
LPRINT "D";X",";Y PRINT#-2, "D240,100"
H Moves Pen to current origin without drawing line.
LPRINT "H" PRINT#-2, "H"
I Sets new Origin (i.e. the current Pen location).
LPRINT "I" PRINT#-2, "I"
J destination Draws a line from current Pen location X steps to the right
and Y steps up.
LPRINT "J100,200,300,-200"
Ltype Change Line Type from 0 to 15. 0 is a solid line. 1-15
draws dotted (dashed) lines.
LPRINT "L3" PRINT#-2, "L15"
Mx,y Move (Absolute). Move without drawing to location x steps
right (left) and y steps up (down) of present origin.
PRINT#-2, "M100,-100"
Pcharacters Print characters in Graphic Mode.
PRINT#-2, "PTODAY IS";DATE$
Q direction Change print direction. "direction" is 0-3. 0 is normal,
left-to-right: 1, top-to-bottom: 2, upside-down: 3, bottom-
to-top.
LPRINT "Q2" PRINT#-2, "Q3"
Rx,y Move (Relative). Move without drawing from present location
to location x steps to the right (left) and y steps up
(down).
LPRINT "R200,-200" PRINT#-2, "R30,20"
Xaxis, step, Draw a coordinate axis from present location in direction
intervals specified by axis using increments of step and marking in-
tervals of them.
LPRINT "X0,-20,16" PRINT#-2, "X1,5,100"
(tlc-7/2/93)
Privacy Policy