Table of contents
Collapse the table of content
Expand the table of content

print Command Reference

Corey Plett|Last Updated: 11/16/2016

Applies To: Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

The following is a list of print command-line tools.

[lpq] the status of a print queue on a computer running Line printer Daemon (LPD).
lprSends a file to a computer or printer sharing device running the Line printer Daemon (LPD) service in preparation for printing.
Net printDisplays information about a specified printer queue, displays information about a specified print job, or controls a specified print job.
printSends a text file to a printer.
prncnfgConfigures or displays configuration information about a printer.
prndrvradds, deletes, and lists printer drivers.
prnjobspauses, resumes, cancels, and lists print jobs.
prnmngradds, deletes, and lists printers or printer connections, in addition to setting and displaying the default printer.
prnportcreates, deletes, and lists standard TCP/IP printer ports, in addition to displaying and changing port configuration.
prnqctlprints a test page, pauses or resumes a printer, and clears a printer queue.
pubprnPublishes a printer to the active directory directory service.
rundll32 printui.dll,printUIEntryEnables you to automate the installation and configuration of printers using scripts or the command prompt.
© 2017 Microsoft