A-91
GS V Set Print Orientation Example
OPEN "COM1:9600,n,8,1" FOR OUTPUT AS #1
PRINT #1, CHR$(27); "*";
PRINT #1, CHR$(29); "t"; CHR$(11);
PRINT #1, CHR$(29); "V1";
PRINT #1, "This is in"; CHR$(10);
PRINT #1, "203 x 203"; CHR$(10);
PRINT #1, "Landscape"; CHR$(10);
PRINT #1, "Mode"; CHR$(10);
PRINT #1, CHR$(29);"V0";
PRINT #1, "This is in"; CHR$(10);
PRINT #1, "Portrait Mode"; CHR$(10);
PRINT #1, CHR$(29); "t"; CHR$(11);
PRINT #1, CHR$(29); "V2";
PRINT #1, "This is in"; CHR$(10);
PRINT #1, "138 x 203"; CHR$(10);
PRINT #1, "Landscape";CHR$(10);
PRINT #1, "Mode"; CHR$(10);
PRINT #1, CHR$(12);
Example 34: GS V Set Print Orientation
GS W Set Bar Code Element Width Example
OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
PRINT #1, CHR$(29); "A"; CHR$(0); CHR$(203);
PRINT #1, CHR$(29); "h"; CHR$(203);
PRINT #1, CHR$(29); "W"; CHR$(3); CHR$(5);
PRINT #1, CHR$(29); "k"; CHR$(4); CHR$(6);
PRINT #1, "DYMO";
PRINT #1, "DYMO"; CHR$(10);
PRINT #1, CHR$(12);
Example 35: GS W Set Bar Code Element Width
GS d Feed n Text Lines Example
OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
PRINT #1, CHR$(27); "*";
PRINT #1, "This is Line 1"; CHR$(10);
PRINT #1, CHR$(29); "d"; CHR$(4);
PRINT #1, "This is Line 6"; CHR$(10);
PRINT #1, CHR$(12);
Example 36: GS d Feed n Text Lines
GS h Set Bar Code Height Example
OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
PRINT #1, CHR$(29); "A"; CHR$(0); CHR$(203);
PRINT #1, CHR$(29); "h"; CHR$(203);
PRINT #1, CHR$(29); "W"; CHR$(3); CHR$(5);
PRINT #1, CHR$(29); "k"; CHR$(4); CHR$(6);
PRINT #1, "DYMO";
PRINT #1, "DYMO"; CHR$(10);
PRINT #1, CHR$(12);
Example 37: GS h Set Bar Code Height