Eliminate pendingPrintOperations array and use fast enumeration of the operations instead.