Microsoft KB Archive/34013

= Problems Using ImageWriter Graphics Mode; &quot;LPT1: BIN&quot; =

Article ID: 34013

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft QuickBasic 1.0
 * Microsoft BASIC Interpreter 2.0

-



This article was previously published under Q34013



SUMMARY
When LPRINT or OPEN &quot;LPT1:DIRECT&quot; is used to send control characters to the Apple ImageWriter to put the printer into graphics mode, the output may not appear as expected, due to the translation of certain characters. For example, TAB (ASCII 9) characters are translated to eight spaces during output. To get straight binary output without any translation, use &quot;LPT1:BIN&quot; instead of &quot;LPT1:DIRECT&quot;. This will print all bytes without translation.

The &quot;LPT1:BIN&quot; device name may only be used with an Apple ImageWriter that is not on the AppleTalk Network. &quot;LPT1:BIN&quot; will not work with the Apple LaserWriter.

The above information applies to Microsoft QuickBASIC Version 1.00 for the Apple Macintosh and Microsoft BASIC Interpreter Versions 2.10 and 3.00 for the Apple Macintosh.

The following products DO NOT support the &quot;LPT1:BIN&quot; device: Microsoft BASIC Compiler Version 1.00 and Microsoft BASIC Interpreter Version 2.00 for Apple Macintosh.

Additional query words: MQuickB

Keywords: KB34013

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.