Invoking Slashed Zeros in Character Mode, ImageWriter Printer (20542)
The information in this article applies to:
- Microsoft QuickBASIC 1.0
- Microsoft QuickBASIC 1.0a
- Microsoft QuickBASIC 1.0b
- Microsoft BASIC Compiler
- Microsoft BASIC Interpreter for Apple Macintosh 1.0
- Microsoft BASIC Interpreter for Apple Macintosh 1.01
- Microsoft BASIC Interpreter for Apple Macintosh 2.0
- Microsoft BASIC Interpreter for Apple Macintosh 2.1
- Microsoft BASIC Interpreter for Apple Macintosh 3.0
This article was previously published under Q20542 SUMMARY
This article applies to Microsoft QuickBASIC Versions 1.00, 1.00a,
1.00b, Microsoft BASIC Compiler Version 1.00, and Microsoft BASIC
Interpreter Versions 1.00, 1.01, 2.00, 2.10, and 3.00 for the Apple
Macintosh.
To invoke printing of slashed zeros on the Apple ImageWriter printer
using control codes, refer to Page 42 of the ImageWriter printer
manual. Although the manual gives the control codes for printing
slashed zeros, it fails to mention that a space (" ") is also needed
at a particular point, as follows:
LPRINT CHR$(27);CHR$(68);" ";CHR$(1);CHR$(0); ' Sets slashed zeros.
X=5.003 : LPRINT "101010",X ' Demonstrates slashing of zeros.
LPRINT CHR$(27);CHR$(90);" ";CHR$(1);CHR$(0); ' Sets non-slashed 0.
LPRINT "101010",X ' Demonstrates non-slashing of zeros.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB20542 |
---|
|