Deploy Printer

Contributor

Dear all,

 

May I check with you guys, is anyone here know how to deploy a canon network printer to the end user via Intune? 

Printer model: IR-ADV C5560i 230V

How many printers in the office: 2

 

Many thanks in advance.

Sk

16 Replies
You have got multiple options:

1. Using the Microsoft Universal Print solution
2. Printix
3. Creating a win32app with a powershell script in it and the drivers it self

C:\Windows\SysNative\pnputil.exe /add-driver "$psscriptroot\Driver Folder\Subfolder\driver.inf" /install
Add-PrinterDriver -Name "Exact Driver Name"
Add-PrinterPort -Name "10.**.**.***" -PrinterHostAddress 10.**.**.***
Add-Printer "Printer Name" -DriverName "Exact Driver Name" -PortName "10.**.**.***"

https://www.getrubix.com/blog/deploy-individual-printers-with-intune

@Rudy_Ooms 

 

Hi Rudy,

 

Thanks for getting back.

 

Method 1

Using the Microsoft Universal Print solution.

 

I think my client didn't subscribe to that service. I get the below error msg.

You don't have access to this data. Please make sure you have a Universal Print subscription, that you're a Printer Administrator or Global Administrator, and that your account has been assigned a Universal Print license. Otherwise, please contact your global

 

I will try method 2 later today.

 

Thanks.

Sk

Hi @Rudy_Ooms

 

Could you please advise me on how to execute method 2? 

 

Thanks.

Sk

You mean the printix or the win32 app?

Good day @Rudy_Ooms 

 

Thanks for getting back. I'm referring printix.

 

 

Regards,

Sk

Normally I would choose the Microsoft solution... but if you are dealing with tray options ( or I missed something) or don't have the proper licensing. Printix should be a good option. It's very easy to setup and deploy it to your devices.

Just create a test tenant... download the client on your Windows 10 device which is going to act as the gateway and configure/push the printer to the cloud.. WHen your devices have the printix client installed (intune) you can push the printers silently to all devices... Works great

Hi @Rudy_Ooms 

 

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.

Screenshot_3.png

 

Screenshot_4.png

 

Screenshot_6.png

 

Untitled.png

 

Do you have any idea why not successful to create intunewin file?

 

Thanks.

Sk

Hi.
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

Hi @Rudy_Ooms 

 

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

Hi,

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/

Hi @Rudy_Ooms 

 

The blog you create is fantastic.
Could you please take a look at it below? Is this the correct *.inf file?

Screenshot_1.png

 

I'm now encounter diff error msg.

 

Screenshot_3.pngUntitled.png

 

Screenshot_4.png

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.

Untitled.png

 

So, I hope I can at least push the new printer driver to everyone.

 

Thanks.

Sk

Hi,

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) ?

Hi @Rudy_Ooms 

 

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.

 

Screenshot_1.pngScreenshot_2.png

Screenshot_3.png

Screenshot_4.pngScreenshot_5.pngScreenshot_6.pngScreenshot_7.pngScreenshot_8.pngScreenshot_9.png

 

Processing.

 

Screenshot_10.pngScreenshot_11.png

 

Copy that msi file to the printer driver folder.

Screenshot_12.png

 

Execute the IntuneWinAppUtil

Screenshot_13.png

 

100% successfully. The intunewin file is inside the IntuneAppOutput folder.

Screenshot_14.png

 

Creating a group policy in MAM, upload the intunewin.file

 

Untitled.png

 

Screenshot_15.png

Screenshot_16.png

Screenshot_17.png

 

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.

Hi,

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

Hi @Rudy_Ooms

 

Thanks for getting back.

I've managed to push the printer driver to the target machine. 

Printer driver push down successfully.png

 

But the printer it doesn't show in the printer list there.

 

Screenshot_3.png

 

Screenshot_2.png

 

 

 

Untitled.png

 

But I can see it in the control panel.

 

Screenshot_1.png

 

Do you have any ideal?

 

Regards,

Sk.

Hi

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.**.**.***"