Prnqctl.vbs Command In Windows Server 2008

This article explains Prnqctl.vbs command in Windows Server 2008 operating system and also explains its syntax.
  • 1497

Introduction

Prnqctl.vbs command in Windows Server 2008 is used to prints a test page, pauses or resumes a printer and clears a printer queue. Syntax used for Prnqctl.vbs command is given below.

Syntax

Cscript Prnqctl {-z | -m | -e | -x | -?} [-s <ServerName>] [-p <PrinterName>] [-u <UserName>] [-w <Password>]

Parameters For Prnqctl.vbs

Parameter Description
-z Pauses printing on the printer specified with the -p parameter.
-m Resumes printing on the printer specified with the -p parameter.
-e Prints a test page on the printer specified with the -p parameter.
-x Cancels all print jobs on the printer specified with the -p parameter.
-s <ServerName> Defines the name of the remote computer that hosts the printer that you want to manage.
-p <PrinterName> Defines the name of the printer that you want to manage.
-u <UserName> -w <Password> Defines an account with permissions to connect to the computer that hosts the printer that you want to manage.
/? Show help at the command prompt.

Ask Your Question 

Got a programming related question? You may want to post your question here 

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.