Forum Discussion
Deploy Printer
Thanks for your kind advice.
I haven't try that printix, because I have no ideal how to start.
These few days I'm trying that method 3. Creating a win32app with a powershell script in it and the drivers it self.
I based on the following URL carry out the steps
https://docs.microsoft.com/en-us/mem/intune/apps/apps-win32-prepare
Unfortunately, not successful.
Do you have any idea why not successful to create intunewin file?
Thanks.
Sk
What is in the c:\testapp folder? have you created the v1.0 folder also with the setup file in it? Is the exe file also a silent one? if its niot silent you will need to use the powershell deployment tool
- 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