We help IT Professionals succeed at work.

how to call a remote computer USB printer to "print a test page"

Ding QB
Ding QB asked
on
Medium Priority
130 Views
Last Modified: 2019-02-03
Hi there,

In Windows 7 or above, how to call a remote computer USB printer to "print a test page" that is the same as local PC -> Device and Printer choose a printer-> Printer Properties -> Print Test Page

wmic , powershell , vbs, psexec are welcome...
Comment
Watch Question

Owen RubinConsultant
CERTIFIED EXPERT

Commented:
How are you connecting to the remote computer?  It is easy if RDP is used, as you can simply open the printer window and request a test page. I suspect that is not what you are looking for.
DevAdminSystem Engineer | .NET Developer | Microsoft MVP | Technical Speaker
CERTIFIED EXPERT

Commented:
as Owen Rubin says in order to help you first know if this printer is connected to the remote computer locally or if it is shared..

if you have not already seen them you can start to see these two posts related to the printing of a test page through wmi calls made via Powershell:

Use PowerShell to Send Test Page to a Printer
https://blogs.technet.microsoft.com/heyscriptingguy/2014/03/20/use-powershell-to-send-test-page-to-a-printer/

Use PowerShell to Test Remote Printers
https://blogs.technet.microsoft.com/heyscriptingguy/2013/08/05/use-powershell-to-test-remote-printers/

Author

Commented:
the USB printer directly connects to remote computer locally. not a shared printer.
i have 30 of these and local user is using PC , thus remote desktop connection one by one is not a solution.
System Engineer | .NET Developer | Microsoft MVP | Technical Speaker
CERTIFIED EXPERT
Commented:
The PCs are in an Active Directory domain?

How would you need to start the test print?

If the PCs are in an Active Directory domain you could create a scheduled task to start the script from the first post (Use PowerShell to Send Test Page to a Printer) once or more times to launch the print

Author

Commented:
Thank you