>on 4/26/01 8:59 AM, Chris Stasny at staz@... wrote: > > >> > >> > >> local > >> dim keys as keyMap > >> local fn doCheckPrinting > >> > >> BEEP > >> call getkeys (keys) > >> long if keys.row2& = _cmdPeriod > >> CALL PrSetError(_iPRabort) > >> close LPRINT > >> > >> end if > >> > >> end fn > > > > > > Do one more thing, Eric. Put your beep *inside* of the long if. > > > > >Putting BEEP within the LONG IF doesn't change anything. It still >_doesn't_ beep (although BEEP in other places beeps fine) and has >the same problem. Look at the logic of what you just wrote: You are not executing the PRSetError command. :) Other things to try: - Check the event record to see if the command key modifier and the period key were pressed during the last event or null event - Check PRERROR. Maybe the printer will tell you that this was canceled. - Look for some other piece of logic that will tell you when you can send the error message to the printer Best, -STAZ ~)~ 800.348.2623 Orders http://www.stazsoftware.com 228.255.7086 FAX mailto:staz@...