A-89
GS DC3 Cancel Double Height Example
OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
PRINT #1, CHR$(27); "*";
PRINT #1, CHR$(27); "T";
PRINT #1, CHR$(29); CHR$(18);
PRINT #1, "This line is Double Height"; CHR$(10);
PRINT #1, CHR$(29); CHR$(19);
PRINT #1, "This line is Normal Height"; CHR$(10);
PRINT #1, CHR$(12);
Example 26: GS DC3 Cancel Double Height
GS RS Set Inverse Print Mode Example
OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
PRINT #1, CHR$(27); "*";
PRINT #1, "Normal";
PRINT #1, CHR$(29); CHR$(30);
PRINT #1, "Inverse"
PRINT #1, CHR$(29); CHR$(31);
PRINT #1, "Normal"; CHR$(10);
PRINT #1, CHR$(12);
Example 27: GS RS Set Inverse Print Mode
GS US Cancel Inverse Print Mode Example
OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
PRINT #1, CHR$(27); "*";
PRINT #1, "Normal";
PRINT #1, CHR$(29); CHR$(30);
PRINT #1, "Inverse"
PRINT #1, CHR$(29); CHR$(31);
PRINT #1, "Normal"; CHR$(10);
PRINT #1, CHR$(12);
Example 28: GS US Cancel Inverse Print Mode
GS * Landscape Mode Graphics Example
OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
PRINT #1, CHR$(29);”*”;
PRINT #1, CHR$(1); CHR$(1);
PRINT #1, CHR$(3); CHR$(10); CHR$(10);
FORI=1to100
PRINT #1, CHR$(I);
NEXT I
Example 29: GS * Landscape Mode Graphics