getLastPrinter, qzDonePrinting for file/host printing and set exception for nullcommand and nullprintservice