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.
#!/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 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.
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.