A. A. A new utility has been written called DEFPRINT.EXE which allows the default printer to be set from the command prompt.
A couple of examples...
D:\>defprint /p<br> Found 2 printers
PrinterName: \\EDUC-HQ\Comm Ed (North)<br> ServerName: \\EDUC-HQ<br> PortName: edu-ce-hp5-2<br> DriverName: HP LaserJet 5<br> PrintProcessor: winprint<br> ShareName: commed-2
PrinterName: \\EDUC-HQ\Comm Ed (South)<br> ServerName: \\EDUC-HQ<br> PortName: EDU_COMMED_HP5M<br> DriverName: HP LaserJet 5<br> PrintProcessor: winprint<br> ShareName: commed-1
D:\>defprint /d commed-1
Would set the default printer to commed-1
Equally,
D:\>defprint /d edu_commed_hp5m
would do the same job
D:\>defprint /d lpt1
Would set the default printer to be the local printer (only if it existed)
2 comments
Hide comments