I usually take the doors off the cabinets and lay them flat on a 2X6 that's wrapped in paper. There I sand wipe prime and paint them. Then, flip them. The thing I run into sometimes is screwing up the finished side while working on the other side. I'm sure there are better ways to do this.