How do we trap a cancelled print job:

I have this simplistic approach for printing a card:

on MouseUp
  set the width of this stack  to 595
  set the height of this stack  to 792
  set the printmargins to 0,0,0,0
  set topleft of image 1 to 8,16
  answer printer
  print card
  if it is "cancel" then
    set the rect of this stack  to tStackSize
    show scrollbar vert
    show grc "toolPanel"
    exit mouseup
  end if
  
  set the rect of this stack  to tStackSize
  show scrollbar vert
  show grc "toolPanel"
end MouseUP

but, on a Mac, if the user hits the cancel button in the print set up
dialogue box the printing continues. . .

Hinduism Today

Sivakatirswami
Editor's Assistant/Production Manager
www.HinduismToday.com
[EMAIL PROTECTED]


Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to