The printer suddenly stops printing or starts to print slow

Make sure you mounted the ferrite core on the power lead of the adapter.
Also make sure the adapter is not really close to the controllerboard.