When I press cmd-p in safari the print page shows up.
Escape doesn't work because I've remapped my escape key to ⌥esc
How do I exit this without using the mouse or escape?
When I press cmd-p in safari the print page shows up.
Escape doesn't work because I've remapped my escape key to ⌥esc
How do I exit this without using the mouse or escape?
Normally, use the esc key.
This will dismiss the dialog without using the mouse.
This shortcut work with most dialog boxes in macOS. See this answer for more details.
If one has remapped the esc key, using command+. should dismiss the dialog as well. (Thanks to Steve Chambers' comment.)