How to install Samsung printer driver on Fedora Silverblue?

Hello,

I have a Samsung laser printer which needs the Samsung unified printer driver.
The driver is only provided via install.sh script which simply works on Fedora Workstation but I have no idea how to integrate it into ostree. As I read rpm-ostree only layers RPMs.

Any idea?

1 Like

Yes this is indeed a special scenario.

Can you post the install.sh here?

Use

```
Code
```

For the correct formatting

install.sh

#!/bin/sh

SCRIPTS_DIR=$(dirname "$0")/noarch

# load 'scripting' run-time support utility functions
. "${SCRIPTS_DIR}/scripting_utils"
script_log_init $(basename "$0" ".sh")

# load 'package' run-time support utility functions
. "${SCRIPTS_DIR}/package_utils"
environment_init $(basename "$0" ".sh")

if sh "$SCRIPTS_DIR/pre_install.sh" "$@" ; then
	if sh "$SCRIPTS_DIR/package_install.sh" "printer-meta" ; then
		# CUPS - OK
		sh "$SCRIPTS_DIR/package_install.sh" "scanner-meta"
	else
		# CUPS - NG
		show_nls_message_no_nl "**** Do you want to continue to install scan driver ? [y/n] : "
		if [ -z "${CONTINUE_INSTALL}" ] ; then
			read CONTINUE_INSTALL
		fi
		if [ "y" = "${CONTINUE_INSTALL}" ] || [ "Y" = "${CONTINUE_INSTALL}" ] ; then
			sh "$SCRIPTS_DIR/package_install.sh" "scanner-meta"
		fi
	fi
	sh "$SCRIPTS_DIR/post_install.sh" "$@"
fi

The downoad consists of more files and sh scripts and can be found here:

https://support.hp.com/de-de/drivers/samsung-xpress-sl-m2675-laser-multifunction-printer-series/model/16462859

The unified driver provides USB support, but some Samsung printers support driverless printing via AirPrint and should work with Linux IPP if you are able to use network printing. Linux does have some “work in progress” support for IPP via USB.

Sadly I can only use printing by usb.

When I try printing without the driver the printer awakens. So there is some reaction but it’s not printing. When I open the scanner program it sais that some drivers are missing.

Maybe its time for a new printer because it is an older model? But it is still printing fine. Would be a shame to throw it away.

Are there some lists availlable with printers that are 100% Linux compatible?

It is more than “work in progress”. The ipp-usb has been around for quite some time, and it only depends on the printer to support it. The printer docs almost never specify if the printer does or doesn’t support it.

IPP has many options/quirks needed for specific models. It seems to need trial-and-error to find the settings for a particular model. These are collected in /usr/share/ipp-usb/quirks/*.conf files. Progress means getting quirks for more printers, and perhaps some new quirks parameters.