Remove `outer` method and use `execCommand` for print