Checking in thermalprinter code.