Windows printing enhancement: new printer pseudo device LASTPROMPT: uses the printer last selected in an A-Shell or ATE printer selection dialog. As with PROMPT:, it can be used with ATE AUXLOC: printing, i.e.
DEVICE=AUXLOC:LASTPROMPT:
The above would send the printout to ATE via the AUXLOC: device, where ATE would then send it to the printer previously selected.
Note that the PROMPT: device also uses the printer previously selected (by A-Shell or ATE) as the default printer in the selection dialog, while PROMPT(DEFAULT): use the printer set as the default in your Windows printer definitions.