print.md 303 B

print

Print a text file to a printer. More information: https://learn.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}}