Problems Using ImageWriter Graphics Mode; "LPT1: BIN" (34013)



The information in this article applies to:

  • Microsoft QuickBASIC 1.0
  • Microsoft BASIC Interpreter for Apple Macintosh 2.0

This article was previously published under Q34013

SUMMARY

When LPRINT or OPEN "LPT1:DIRECT" 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 "LPT1:BIN" instead of "LPT1:DIRECT". This will print all bytes without translation.

The "LPT1:BIN" device name may only be used with an Apple ImageWriter that is not on the AppleTalk Network. "LPT1:BIN" 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 "LPT1:BIN" device: Microsoft BASIC Compiler Version 1.00 and Microsoft BASIC Interpreter Version 2.00 for Apple Macintosh.

Modification Type:MinorLast Reviewed:1/9/2003
Keywords:KB34013