Restore from a file minimum settings and resolve port name: rundll32 printui.dll,PrintUIEntry /Sr /n "printer" /a "file.dat" ...