Forum Discussion
Deploy Printer
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
Thanks for getting back.
I've managed to overcome the creating intunewin file after seeing a tutorial video on YouTube.
Now, I'm getting stuck at extract/convert the setup.exe to .msi. Do you familiar with this?
Thanks.
Sk
- 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
- Sk-73Sep 16, 2021Iron Contributor
Dear Rudy_Ooms_MVP
I hope all is well with you.
Can I check with you regarding I cannot find the *inf file inside the printer driver folder. In this case, what should I proceed to the next step? Will need your kind advice on this.
- Jul 05, 2021Hi
Like I shown in the powershell script, you will need to define the printer tcp port and add the printer. The exe --> msi only installs the software/driver but how does it know which printer to add?
Add-PrinterPort -Name "10.**.**.***" -PrinterHostAddress 10.**.**.***
Add-Printer "Printer Name" -DriverName "Exact Driver Name" -PortName "10.**.**.***" - Sk-73Jul 04, 2021Iron Contributor
Thanks for getting back.
I've managed to push the printer driver to the target machine.
But the printer it doesn't show in the printer list there.
But I can see it in the control panel.
Do you have any ideal?
Regards,
Sk.
- Jul 04, 2021Hi,
Did you try to simple run the msi on a device to see what happens? if you want to deploy it automatically it has to be installed silently without any user prompts/questions - Sk-73Jul 04, 2021Iron Contributor
Good day.
I download and convert the target printer driver setup.exe to the .msi. I not familiar with using these tools. Kindly advise if I did it in the wrong way. Because I'm not sure what's the many different options there, I only make sure the file type is msi.Processing.
Copy that msi file to the printer driver folder.
Execute the IntuneWinAppUtil
100% successfully. The intunewin file is inside the IntuneAppOutput folder.
Creating a group policy in MAM, upload the intunewin.file
Then click the OK button, awaiting the outcome. Even though I'm successful in pushing the driver to the target machine, the configuration is not done. I think I still need a PowerShell script.
Regards,
Sk.
- Jul 03, 2021Hi,
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) ? - Sk-73Jul 03, 2021Iron Contributor
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
- Jul 02, 2021Hi,
I created a blog about this topic... maybe it helps you to make sure the printer and driver is going to be installed
https://call4cloud.nl/2021/07/what-about-printer-drivers/