Freigeben über


Print Command Reference

 

Applies To: Windows Vista, Windows Server 2008, Windows Server 2012, Windows 8

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

Command

Description

Lpq

Displays the status of a print queue on a computer running Line Printer Daemon (LPD).

Lpr

Sends a file to a computer or printer sharing device running the Line Printer Daemon (LPD) service in preparation for printing.

Net print

Displays information about a specified printer queue, displays information about a specified print job, or controls a specified print job.

Print

Sends a text file to a printer.

Prncnfg.vbs

Configures or displays configuration information about a printer.

Prndrvr.vbs

Adds, deletes, and lists printer drivers.

Prnjobs.vbs

Pauses, resumes, cancels, and lists print jobs.

Prnmngr.vbs

Adds, deletes, and lists printers or printer connections, in addition to setting and displaying the default printer.

Prnport.vbs

Creates, deletes, and lists standard TCP/IP printer ports, in addition to displaying and changing port configuration.

Prnqctl.vbs

Prints a test page, pauses or resumes a printer, and clears a printer queue.

Pubprn.vbs

Publishes a printer to the Active Directory directory service.

Rundll32 printui.dll,PrintUIEntry

Enables you to automate the installation and configuration of printers using scripts or the command prompt.