![]() Method invocation failed because does not contain a method named 'PrintTestPage'. $printer = Read-Host -Prompt 'Please Type In The Name Of The Printer That You Are Having Problems With' ![]() Here right-click on the printer you want to test and select Printer Properties from the menu. I've tried altering the script in the following manner to allow user input. In the Devices and Printers window that opens, scroll down to the Printers section. Please try to print again.",0,"Printer Helper",0x1) $wshell.Popup("I found a problem that I was able to fix. $wshell = New-Object -ComObject Wscript.Shell $PrintTestPage = $printer.PrintTestPage() $printer = Get-WmiObject -Query " SELECT * FROM Win32_Printer WHERE Default=$true" This is what the printer utilities are for. It is not used for testing the alignment and color etc. This means driver listings, the printer model and available printing styles. Remove-Item C:\Windows\System32\spool\PRINTERS\* -Force A Windows test page sole purpose is to list all information directly related to how Windows communicates with your printer. Here is the current functional script: net stop spooler The test page prints information about the printer and the printer drivers. ![]() Right-click the corresponding printer driver icon and selecting Properties from the pop-up menu. Click Start on the Windows task bar, select Settings, and then select Printers. What I have so far does as intended with the Default Printer on a given machine, but I need the end user to be able to select exactly which printer is giving them problems. How to Print a Test Page (Windows 98/Me/2000) (MF4122/MF4150) Last Updated : 1 Issue Number : 8201347500 Solution 1. I'm writing a small ps1 script to clear the queue and restart the spool on a printer of the end user's choosing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |