Jump to content

Recommended Posts

  • 3 months later...
Posted

Sorry to bring this thread back. Does anyone know how to get this working with Sharp Printers? They don't use the usual .INF files etc so I cannot get the required information from the driver. I have had a look online and no one seems to know how to do it in any of the guides or reddit threads I have looked at. I am also in touch with my printer supplier and support company but they seem to be stumped as well.

 

Thanks in advance

Posted

I have sharp printers in an intunewin pacakge, looking at my source folder for the intunewin

c:\windows\sysnative\pnputil.exe -a *.inf
add-printerdriver -name "SHARP MX-M3071 PCL6"
add-printerport -name "10.162.123.123:" -PrinterHostAddress 10.162.123.123
add-printer -name "Staffroom Jun 21" -driver "SHARP MX-M3071 PCL6" -port "10.162.123.123:"

 

 

In the source folder is a lot of files including INF, I guess I got a download from sharp then used 7-zip to extract the files assuming there wasn't a cmdline switch. Failing that take a look at C:\windows\System32\DriverStore\FileRepository then install the drivers manually and then copy all the new files in FileRepository as these are what you need to install

  • Thanks 1
Posted

How did you get the .INF and other files out of the driver installer? When I extract the driver using 7-zip this is all I get in the folder (see picture)

Screenshot 2023-11-02 105026.png

Posted
How did you get the .INF and other files out of the driver installer? When I extract the driver using 7-zip this is all I get in the folder (see picture)

[ATTACH=CONFIG]70225[/ATTACH]

 

You'll need to either get the universal driver or find a driver where it is a .zip file instead of a installer

  • Thanks 1
Posted
Can you not just deploy the driver as a software package like any other app? You can then set supersedence within InTune if you need to upgrade drivers in the future, at that point windows will find the appropriate driver?
  • Thanks 1
Posted
Can you not just deploy the driver as a software package like any other app? You can then set supersedence within InTune if you need to upgrade drivers in the future, at that point windows will find the appropriate driver?

From memory I think the installer doesnt have a silent option..

  • Thanks 2
Posted
Just wanted to say a quick thanks to everyone who helped. I have managed to get a Win32 app created and it is currently deploying over intune as we speak. Also thank you for the heads up about innoextract, that tool is fantastic and worked first time!
  • 2 months later...
Posted
In the end I abandoned the deployment via Intune. With the help of our Printer Supplier I ended up installing PaperCut Mobility Print on the Print Server and set the printer up to be accessed through it. Deployed the PaperCut software via Intune (worked a treat and was a doddle with a full guide for it) and published the needed link via Teams so it was always available. Wish I had gone down this route to start, works well and is reliable. Pupils just need to click that link through Teams and it sets the printer up for the and away it goes.
Posted

Wish I could follow suite. Once this current DC is done with I wont be firing up a box just to share printers from as i'm wanting fully serverless.

 

If i come in one morning and something is down its either Broadband, Switches, Firewall, O365. Nice and simple.

  • Thanks 1
Posted
Might be worth looking into PaperCut's fully cloud based service for that. Much more reliable and manageable, plus support is available as it is a paid service. When I get to the state of no onsite servers (plan to go to the cloud fully as well), I will be looking down this route after the experience I have had with their products so far
  • 3 weeks later...
Posted (edited)

Having a bit of an issue with this. Have followed steps and the printer installs on the device but keep getting the error around detection. I've tried a few different registry entries for detection but still seems to be failing despite the key being there.

 

Have checked the Intune logs on the device and it says applicationDetected: False. Any idea where I'm going wrong here? Have attached screenshots...

Screenshot 2024-02-27 at 09.30.39.pngScreenshot 2024-02-27 at 09.31.37.png

 

EDIT: Here is my detection policy:

 

Key Path: Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\PrinterPorts

Value name: House Office Canon

Detection Method: Value exists

Edited by EssentialRug
Posted
So you're looking in hkey_current_user, but what account is the install /detection running as - system?

 

Yes...but also tried with the key mentioned in this thread which looks in hkey_local_machine and didn't work either...

Posted

Double check your KeyPath, you sent it as a space. (highlighted in red)

 

"Key Path: Computer\HKEY_CURRENT_USER\Software\Microsoft\Wind ows NT\CurrentVersion\PrinterPortsValue name: House Office CanonDetection Method: Value exists"

Posted
Double check your KeyPath, you sent it as a space. (highlighted in red)

 

"Key Path: Computer\HKEY_CURRENT_USER\Software\Microsoft\Wind ows NT\CurrentVersion\PrinterPortsValue name: House Office CanonDetection Method: Value exists"

 

Hmm, yeah that's all good too. I think just some weirdness when I copy and pasted it from Intune, but theres definitely no space in the policy...

Posted
Would you be able to screenshot the configuration of the win32 app deployment and settings just so I can go over them :)

 

Of course, please find below. Thanks so much for taking a look.

Screenshot 2024-03-04 at 13.25.13.png

Screenshot 2024-03-04 at 13.25.20.png

Screenshot 2024-03-04 at 13.25.53.png

Posted

Just do this for me

 

Key Path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Print\Printers\(insert printer name)Value name: NameDetection Method: String ComparisonOperator: EqualsValue: (insert printer name)

 

The detection 100% needs to be Local Machine and not user

Posted
Just do this for me

 

Key Path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Print\Printers\(insert printer name)Value name: NameDetection Method: String ComparisonOperator: EqualsValue: (insert printer name)

 

The detection 100% needs to be Local Machine and not user

 

Screenshot 2024-03-04 at 14.34.01.png

 

Screenshot 2024-03-05 at 16.25.52.png

 

Just remade the whole thing from scratch, but same outcome and same error regarding detection.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...