Redirecting Fonts and Graphics to Printer with WINDOW OUTPUT# (20521)
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 2.0
- Microsoft BASIC Interpreter for Apple Macintosh 2.1
- Microsoft BASIC Interpreter for Apple Macintosh 3.0
This article was previously published under Q20521 SUMMARY
You can redirect the sending of fonts or graphics from the current
output window to the Macintosh printer.
You can first OPEN "LPT1:PROMPT" or "LPT1:" as device #n, and then use
WINDOW OUTPUT #n to redirect output to the printer device, as shown in
the example below.
To change text font or face, you must execute the CALL TEXTFONT or
CALL TEXTFACE statement AFTER the WINDOW OUTPUT #n statement. Then a
subsequent PRINT statement will use the specified font or face to the
printer. (The font or face won't change on the printer if CALL
TEXTFONT or CALL TEXTFACE is before the WINDOW OUTPUT #n statement.)
When sending output with WINDOW OUTPUT #n, use the PRINT statement
instead of PRINT#n.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB20521 |
---|
|