SATO CL608/612 Printer User Manual


 
Programming Manual 8. Custom Characters And Graphics
SATO RISC Printers 207
4. Using the hexadecimal data, send the following code to print the
graphic image as designed.
E$ = CHR$(27)
WIDTH "lpt1:", 255
LPRINT E$; "A";
LPRINT E$; "V0100"; E$; "H0100"; E$; "GH006006";
LPRINT "3FFFFFFFFFFC"; "7FFFFFFFFFFE"; "E06000000607";
LPRINT "C06000000603"; "C06000000603"; "C06000000603";
LPRINT "C06000000603"; "C06000000603"; "C06000000603";
LPRINT "C06000000603"; "C06000000603"; "C06000000603";
LPRINT "C06000000603"; "C06000000603"; "C06000000603";
LPRINT "C06000000603"; "C06000000603"; "C06000000603";
LPRINT "C06000000603"; "C06000000603"; "C06000000603";
LPRINT "C06000000603"; "C06000000603"; "C06000000603";
LPRINT "C06000000603"; "C06000000603"; "C06000000603";
LPRINT "C03FFFFFFC03"; "C01FFFFFF803"; "C00000000003";
LPRINT "C00000000003"; "C00000000003"; "C000FFFF8003";
LPRINT "C001FFFFC003"; "C00303FFE003"; "C00603FFE003";
LPRINT "C00603FFE003"; "C00603FFE003"; "C00603FFE003";
LPRINT "C00603FFE003"; "C00603FFE003"; "C00603FFE003";
LPRINT "600603FFE003"; "300603FFE003"; "180603FFE003";
LPRINT "0C0603FFE007"; "06FFFFFFFFFE"; "03FFFFFFFFFC";
LPRINT E$; "H0200"; E$; "V0100"; E$; "XMSATO Printer Driver"
LPRINT E$; "H0200"; E$; "V0150"; E$; "XMDisk1"
LPRINT E$; "Q1";
LPRINT E$; "Z";
Note: Spaces shown in the hexidecimal listing above are for empha-
sis only. Spaces must not be encoded within the graphic portion of
the data stream to the printer. Also, CR and LF characters to sepa-
rate the lines must not be encoded in the data stream.