AbortPrinting example