adjusted dot.h for printing PDAs