AppleTalk Printer 60-Second Time-Out Kills Mac BASIC Printing (23449)
The information in this article applies to:
- Microsoft BASIC Compiler
- Microsoft BASIC Interpreter for Apple Macintosh 3.0
- Microsoft QuickBASIC Compiler for the Apple Macintosh 1.0
This article was previously published under Q23449 SUMMARY
When printing over the AppleTalk Network, the network will time out
and nothing will print if a program delays sending output for more
than 60 seconds while the printer device ("LPT1:" or "LPT1:PROMPT") is
OPEN. This is a problem when the output per page is complicated enough
to take more than a minute before the output is sent, or if you
attempt to print more than about twenty pages. The problem can occur
when printing to either an Apple LaserWriter or ImageWriter over the
AppleTalk Network. The problem does not occur with a directly
connected LaserWriter or ImageWriter.
This information applies to the Microsoft BASIC Compiler Version 1.00,
the Microsoft BASIC Interpreter Version 3.00, and QuickBASIC Version
1.00 for the Apple Macintosh.
As a workaround, you can design your program to prepare and store the
printer output before opening the printer. The statements PICTURE ON,
PICTURE OFF, and PICTURE$ are useful for storing images in string
variables, which can be directed to the printer later with the PICTURE
and WINDOW OUTPUT#n statements. Printing can then be performed in one-
to ten-page batches so as not to time out.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB23449 |
---|
|