adding printdialogSpec