Forum Discussion
Deploy Printer
The blog you create is fantastic.
Could you please take a look at it below? Is this the correct *.inf file?
I'm now encounter diff error msg.
The way you push a new printer is better—Microsoft Universal Cloud Print solution.
The way I'm doing now, it just pushes the printer driver to the target machine, without port IP, print preference configuration.
But, I think my client does not subscripted the universal print service. Please see the below attached.
So, I hope I can at least push the new printer driver to everyone.
Thanks.
Sk
Could you show me your powershell script which you covnerted to a intunewinapp
A screenshot from the folder with the powershell script
And the win32 app settings (install rules etc) ?
- May 02, 2022🙂 sometimes thats all you need
- RJMonk03May 01, 2022Brass ContributorYou have patience 😛
- Sk-73Dec 28, 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
- HjorthenDec 09, 2021Brass Contributor
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. - Sk-73Sep 17, 2021Iron Contributor
Thank you.
Can I check with you the below two commands? Please advise if the command is correct. Thanks.
powershell.exe *Executionpolicy Bypass .\install.ps1
powershell.exe *Executionpolicy Bypass .\uninstall.ps1 - Sep 17, 2021
I would go for that inf file i am mentioned earlier in the screenshot.
and - Sk-73Sep 17, 2021Iron Contributor
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.
- Sep 16, 2021