printing primer desing restuls to file