HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

print — Print a text file to a printer. More information: <https://learn.microsoft.com/windows-server/admini

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandtextcliprintfileprintermore
windows

Problem

How to use the print command: Print a text file to a printer. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/print>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: windows/print

Revisions (0)

No revisions yet.