in

Quark Forums

Print dialog stuck on 'Printer Description File not installed'

Last post 09-23-2008 12:05 AM by OzSanta. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 09-21-2008 11:48 PM

    Print dialog stuck on 'Printer Description File not installed'

    I've got 4200 lines of Applescript to automate our mailroom, and the darn thing gets stuck on the above error whenever we try a print a Quark file with an embedded printer description. It responds to a manual press, but nothing in Applescript will press that darn button. It's obviously locked to the print code. Is there anything we can do to avoid the dialog, or to press that 'OK" button?
  • 09-22-2008 1:24 AM In reply to

    Re: Print dialog stuck on 'Printer Description File not installed'

    You may be able to press that button by saying,

    tell application "System Events"

    tell process "QuarkXPress"

    keystroke (ASCII character 13)

    end tell

    end tell

    ASCII character 13 is (I think) the return key. If a button is highlighted in a dialog (and Quark is generating the dialog), this may work. If you've got 4200 lines of Applescript you must know a lot more about it than I do, but this did work for me when other efforts failed (in QXP 6.5, OS X 10.4.9).

  • 09-22-2008 5:00 AM In reply to

    Re: Print dialog stuck on 'Printer Description File not installed'

    Also, to get the above to work, GUI scripting may need to be enabled by checking the "enable access for assistive devices" check box in the Universal Access pane of the System Preferences.

  • 09-23-2008 12:05 AM In reply to

    Re: Print dialog stuck on 'Printer Description File not installed'

    G'day, & thanks people. GUI is definitely on. This script hangs whether i use a 'print' statement, or a 'keystroke P using command'. Even a 'beep' after the print won't sound. It's as though the programmer has forgotten to hand control of the interface over to the error dialog box. Does it in both 7.3 and 8. Bug I think. Regards Santa
Page 1 of 1 (4 items)
Powered by Community Server (Commercial Edition), by Telligent Systems