Print a text file to a printer. More information: https://docs.microsoft.com/windows-server/administration/windows-commands/print.
- Print a text file to the default printer:
print {{path/to/file}}
- Print a text file to a specific printer:
print /d:{{printer}} {{path/to/file}}