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
- 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-73Jul 01, 2021Iron Contributor
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
- 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/ - 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 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 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 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
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 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-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.