I didn't check, but I assume the /p in
start /w notepad /p "%temp%\Listing"
means "print the file". To check yourself, open a command prompt and type notepad /? to see the help listing all switches. If you remove it, my guess is the file will just open.

But why not use Karen's directory printer from
It's free and much more flexible? Far better than this very limited Microsoft suggestion.