Suppressing CR/LF on "LPT1: BIN" after Every 80 Printable Bytes (42663)
The information in this article applies to:
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft Basic Professional Development System for MS-DOS 7.0
This article was previously published under Q42663 SUMMARY
The two sample programs shown below suppress the automatic forcing of
a LineFeed (LF) character that normally follows a Carriage Return (CR)
character sent to the printer.
The "LPT1:BIN" device requires a WIDTH#n,255 statement to suppress
CR/LF pairs added by Basic after every 80th printable ASCII character.
The "LPT1" device doesn't require a WIDTH#n statement.
This information applies to QuickBasic Versions 4.00, 4.00b, and 4.50,
to Microsoft Basic Compiler Versions 6.00 and 6.00b, and to Microsoft
Basic PDS Version 7.00.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB42663 |
---|
|