A signed apt & dnf package repository. Add it once, then install and auto-upgrade the driver by name. Free & open source by Run The Wall.
curl -fsSL https://runthewall.github.io/tspl-cups-driver/apt/KEY.gpg \
| sudo tee /usr/share/keyrings/tspl.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/tspl.gpg] https://runthewall.github.io/tspl-cups-driver/apt ./" \
| sudo tee /etc/apt/sources.list.d/tspl.list
sudo apt update && sudo apt install tspl-cups-driver
sudo curl -fsSL https://runthewall.github.io/tspl-cups-driver/rpm/tspl.repo \
-o /etc/yum.repos.d/tspl.repo
sudo dnf install tspl-cups-driver
The package installs the driver files. Create the print queue once:
sudo lpadmin -p HZD950 -E -v tspl://auto -P /usr/share/ppd/tspl/tspl-label.ppd \
-o printer-is-shared=true -o media=na_index-4x6_4x6in
# 203 dpi printer? add: -o Resolution=203dpi
# black-mark / continuous stock? add: -o MediaTracking=BlackMark (or Continuous)
All metadata and repos are signed with:
3F73 56D6 95A0 69F1 FCD3 8C87 B259 0979 F60F A24D