Why do you need to detect and cancel a plot? What's that function help you do in the big picture?
Does this have anything to do with your plotter/printer buffer.
If so it's all about using a timer function that gives a delay between each set of prints.
But... of course that doesn't answer your direct question. Sorry.