A-102
GS q Print UPC/EAN Checksum Example
OPEN "COM1:9600,n,8,1" FOR OUTPUT AS #1
PRINT #1, “^027*^029t^037^029V^004";
PRINT #1, “^029h^101^029k^002^011";
PRINT #1, “01234567890";
PRINT #1, “01234567890^029q^002^011";
PRINT #1, “01234567890";
PRINT #1, “^012";
Example 40: GS q Print UPC/EAN Checksum
GS t Set Characters per Line in Landscape Example
OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
PRINT #1, “^027*^029t^017^029V1";
PRINT #1, "This is Line One This is Line Two^010^012";
Example 41: GS t Set Characters per Line in Landscape
GS u Set Characters per Line in Portrait Example
OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
PRINT #1, “^029T^003”;
PRINT #1, “^029u^017This is Line One This is Line 2";
Example 42: GS u Set Characters per Line in Portrait
GS w Set Bar Code Module Width Example
OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
PRINT #1, “^029A^000^203”;
PRINT #1, “^029h^203”;
PRINT #1, “^029w^003^005”;
PRINT #1, “^029k^004^006”;
PRINT #1, "DYMO";
PRINT #1, "DYMO^010^012”;
Example 43: GS w Set Bar Code Module Width
Source Code Examples
Included in this CD are demo programs and sample source code.
The source code is provided in both the BASIC and C
programming languages.