Forum Discussion
Deploy Printer
Thank you. I've two questions.
1. How to make the .inf visible?
2. I found more than 1 .inf file, may I know how do I determine which is the one I need to do the script? Grateful for your kind assistance.
I have deployed the exact same driver with the script below:
Add-PrinterPort -PrinterHostAddress IP_ADDRESS_HERE -Name "IP_ADDRESS_HERE"
cscript "C:\Windows\System32\Printing_Admin_Scripts\en-US\prndrvr.vbs" -a -m "Canon Generic Plus PCL6" -i ".\GPlus_PCL6_Driver_V250_32_64_00\x64\Driver\CNP60MA64.INF" -h ".\GPlus_PCL6_Driver_V250_32_64_00\x64\Driver" -v 3
Add-Printer -Name "PRINTERNAME_HERE" -PortName "IP_ADDRESS_HERE" -DriverName "Canon Generic Plus PCL6"
Attached is the driver folder with the driver unziped.
When deployed, both the driverfolder and the script should be placed in the same folder - in my case i placed both within the same folder in the root of the C:\ drive like shown in the image here:
Note that i converted the script to an .exe file called "add printers".
This solution worked perfectly for me, and i was able to add the printers without line of sight to them aswell.
- May 01, 2022🙂 sometimes thats all you need
- RJMonk03May 01, 2022Brass ContributorYou have patience 😛
- Sk-73Dec 27, 2021Iron Contributor
Hi Hjorthen
Happy new year soon! Sorry for the late response, and I think I have no chance to try it again since now I've joined diff company, also using endpoint manager to manage all the devices but here is using Xero-X printer. I'll keep it for the future and I'll share it with my friends if they need help with this.

You even attached the printer driver. Thank you once again!
- Dec 10, 2021That vbs method should work indeed... Pnputil/printbrm/prndrvr.vbs are all possible options to deploy some printers and drivers