So if you already have a crucial irreplaceable file named SETPTR#.BAT, make a copy of it now, because any existing file by that name will be overwritten.
It creates a temporary batch file named SETPTR#.BAT in the current WP directory, runs the batch file, the deletes the batch file. While editing the macro, if necessary, also change the name of your Windows directory in case it is NOT C:\WINDOWS (it might be F:\WINDOWS, for example). If you get this wrong, the macro is guaranteed NOT to work. Remember, the name that you need to type is NOT the one on the front of the physical printer, but only - and exactly - the name that Windows displays in its Devices and Printers menu and that appears when you choose the Print menu from a Windows application. The name must be exactly right, with no quotation marks and no extra spaces. Next, you absolutely MUST edit each macro in WP (Ctrl-F10, LASERJET or whatever name you chose), and type in the EXACT name of your printer where it tells you to do so, using the name that Windows displays on its print menus.
If you want to switch between default printers, make a second copy of the macro, and rename one something like LASERJET.WPM and the other something like INKJET.WPM Here is a WPDOS 5.1 macro that sets the default Windows printer when used with vDosWP.