# DEVICE = LASTPROMPT:

> [HTML Version](device__lastprompt.htm)

_Added December 2019_

Beginning with A-Shell 6.5.1672, the 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 as the default printer in the selection dialog, while PROMPT(DEFAULT): useS the printer set as "the default" in your Windows printer definitions.

**History**

2019 December, A-Shell 6.5.1672:  Function added to A-Shell