Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

Prnqctl Command in Windows: Explained

Understand Prnqctl Command in Windows with clear explanations, practical examples, and useful tips. This updated guide covers the essential concepts and...

Table of Contents

Prnqctl Command in Windows is easier to understand when the core ideas are paired with practical examples. The sections below explain the topic clearly, highlight useful steps, and point out details that can prevent common errors.

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016 , Windows Server 2012 R2, Windows Server 2012 )

The prnqctl commandhelps print a test page, pause or resume the printer and delete the printer queue.

Syntax command prnqctl

 cscript Prnqctl {-z | -m | -e | -x | -?} [-s] 
 [-p] [-u] [-w] 
 The command parameter prnqctl 

Parameters

Describe

-z

Pause printing on the printer specified with the -p parameter.

-m

Continue printing on the printer specified with the -p parameter.

-e

Print a test page on the printer specified with the -p parameter.

-x

Cancel all print jobs on the printer specified with the -p parameter.

-S

Specify the name of the remote computer that the printer store you want to manage.If you do not specify a remote computer, the local computer will be used by default.

-p

Required parameters.Specify the name of the printer you want to manage.

-u -w

Specify the authorized account to connect to the printer storage computer you want to manage.All members in the local administrator group of the target computer have these rights, but the permissions can also be granted to other users.If you do not specify an account, you must log in to an account with these permissions so that the command can be executed.

/?

Show help at thecommand prompt.

Prnqctl command statement

The prnqctl command is a Visual Basic script located in the % WINdir% System32printing_Admin_Scripts directory . To use this command, at the command prompt, type cscript followed by the full path to the prnqctl file, or change the directory to the appropriate directory.

As an example,:

 cscript% WINdir% System32printing_Admin_Scriptsen-USprnport 

If the information you provide contains spaces, use quotation marks for the text (As an example,, "computer Name").

Example prnqctl command

To print a test page on a printer called Laserprinter1 that is shared by the server named Server1 , enter:

 cscript Prnqctl -e -s Server1 -p Laserprinter1 
  • Prnport command in Windows
  • Prnmngr command in Windows
  • The prnjobs command in Windows
  • Prndrvr command in Windows

FAQ

What is Prnqctl Command in Windows?

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 ) The prnqctl commandhelps print a test page, pause or resume the printer and delete the printer queue.

Why is Prnqctl Command in Windows important?

A clear understanding of Prnqctl Command in Windows helps you make informed decisions, avoid common mistakes, and use the relevant tools or techniques more effectively.

How should beginners approach Prnqctl Command in Windows?

Start with the fundamental concepts, follow the examples step by step, and test each change in a safe environment before applying it to important systems or data.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.