TITLE
    AppleScript: Alert Displayed When Printing Scripts From Script Editor
Article ID:
Created:
Modified:
31290
12/15/00
2/7/01

TOPIC

    An alert box with an error message may appear if you print AppleScript text from the Script Editor application program.


DISCUSSION

    Symptom

    An alert box with this error message appears after you print AppleScript text from the Script Editor application program:

      "Could not print the document because of a program error."

    Although the error message says the document could not be printed, it actually is printed.

    Products affected
    • AppleScript 1.4.3
    • CarbonLib 1.1 and later

    Solution

    You can safely ignore this error message.

    The alert box is displayed as a result of changes made to the printing code in CarbonLib 1.1. CarbonLib 1.1 or later may have been installed as part of another software package. To verify, check the version of the CarbonLib system extension in the Extensions folder.

    This may be addressed in a future update to AppleScript.


Document Information
Product Area: Apple Software
Category: AppleScript
Sub Category: General Topics

Copyright © 2000 Apple Computer, Inc. All rights reserved.