Using "LPT1: PROMPT", Draft Character Width Differs from Best (20520)



The information in this article applies to:

  • Microsoft QuickBASIC Compiler for the Apple Macintosh 1.0
  • Microsoft QuickBASIC Compiler for the Apple Macintosh 1.0a
  • Microsoft QuickBASIC Compiler for the Apple Macintosh 1.0b
  • Microsoft BASIC Compiler
  • Microsoft BASIC Interpreter for Apple Macintosh 3.0
  • Microsoft BASIC Interpreter for Apple Macintosh 2.0
  • Microsoft BASIC Interpreter for Apple Macintosh 2.1

This article was previously published under Q20520

SUMMARY

The information below applies to the following products:

  1. Microsoft QuickBASIC Compiler version 1.00 1.00a 1.00b for the Apple Macintosh
  2. Microsoft BASIC Compiler version 1.00 for the Apple Macintosh
  3. Microsoft BASIC Interpreter versions 2.00, 2.10, and 3.00 the Apple Macintosh
When you OPEN "LPT1:PROMPT" FOR OUTPUT AS #n, the spacing of the characters using Draft mode differs from that of Faster and Best modes. The spacing difference occurs because when you select Draft mode, the ImageWriter printer driver supplied by Apple lines up the letters in the same place as they appear in Faster or Best quality modes. Since M's and W's are narrower in Draft mode, a space will follow them.

To demonstrate this behavior, run the following example twice, the first time choosing Faster or Best from the dialog box, and the second time choosing Draft mode:
   OPEN "LPT1:PROMPT" FOR OUTPUT AS #1
   PRINT #1,"Note the spacing of the letters in Draft:"
   PRINT #1,"M.M.m.m.W.W.w.w.i.x.1234567890"
   CLOSE #1
				
(In the version 2.30 ImageWriter driver that comes with Finder version 5.3, the higher quality modes are called Faster and Best. The higher quality modes were called Standard and High in the older ImageWriter driver that came with version 4.1 of the Finder.)

Modification Type:MinorLast Reviewed:8/16/2005
Keywords:KB20520