PEN (library procedure) outputs a list containing the pen's position, mode, and hardware-specific characteristics, for use by SETPEN.