![]()
A CUPS backend that enables direct printing to Sony Digital Paper devices (DPT-RP1, DPT-CP1) and Fujitsu Quaderno e-readers. Print documents from any application directly to your device over WiFi or Bluetooth.
Document/Printed/ folder on deviceBefore installing this CUPS backend, ensure you have the following:
CUPS - Common UNIX Printing System
# Debian/Ubuntu
sudo apt install cups
# Arch Linux
sudo pacman -S cups
# Fedora
sudo dnf install cups
dpt-rp1-py - Python library for DPT devices
pip install dpt-rp1-py
notify-send.sh - Enhanced notification script
# Download and install notify-send.sh
curl -o /usr/local/bin/notify-send.sh https://raw.githubusercontent.com/vlevit/notify-send.sh/master/notify-send.sh
chmod +x /usr/local/bin/notify-send.sh
ppdc - PPD compiler (usually included with CUPS development packages)
# Debian/Ubuntu
sudo apt install cups-ppdc
# Arch Linux
sudo pacman -S cups
# Fedora
sudo dnf install cups-devel
The easiest way to install on Arch Linux is via the AUR:
yay -S dpt-rp1-cups
Clone the repository:
git clone https://github.com/cristobaltapia/dptrp1-cups.git
cd dptrp1-cups
Build and install:
sudo make DESTDIR=/ install
This will:
/usr/lib/cups/backend//usr/share/cups/model//usr/share/pixmaps/Restart CUPS service:
sudo systemctl restart cups
Before you can use this CUPS backend, you must configure dpt-rp1-py to authenticate with your device.
Register your computer with the device:
dptrp1 --addr <device-ip-address> register
Follow the on-screen instructions - you'll need to enter a code displayed on your device.
Verify the configuration files are created:
ls ~/.config/dpt/
# Should show: deviceid.dat privatekey.dat
The backend expects these files at:
~/.config/dpt/deviceid.dat~/.config/dpt/privatekey.datlpadmin -L 'DPT-RP1 WiFi' -D 'DPT-RP1 WiFi Printer' \
-p 'DPT-RP1-WiFi' -E -v 'dptrp1:192.168.1.101'
lpadmin -L 'DPT-CP1 WiFi' -D 'DPT-CP1 WiFi Printer' \
-p 'DPT-CP1-WiFi' -E -v 'dptcp1:192.168.1.101'
Important: Replace 192.168.1.101 with your device's actual IP address.
-L : Location description-D : Human-readable description-p : Printer name (used in CUPS)-E : Enable the printer and accept jobs-v : Device URI
dptrp1: for A4 devicesdptcp1: for A5 devicesOn your Sony DPT or Fujitsu Quaderno:
You can also use Bluetooth by specifying the Bluetooth address:
lpadmin -L 'DPT-RP1 Bluetooth' -D 'DPT-RP1 Bluetooth Printer' \
-p 'DPT-RP1-BT' -E -v 'dptrp1:AA:BB:CC:DD:EE:FF'
Once configured, the DPT device will appear as a regular printer in all your applications.

Document/Printed/ on your devicePrinted documents are automatically named with:
YYYY-MM-DD_HH-MM2025-12-10_14-30_report.pdfyay -R dpt-rp1-cups
Remove the printer from CUPS:
lpadmin -x 'DPT-RP1-WiFi'
Uninstall the backend:
cd dptrp1-cups
sudo make DESTDIR=/ uninstall
Restart CUPS:
sudo systemctl restart cups
This backend integrates with CUPS to provide seamless printing:
The backend intelligently handles PDFs:
This project is licensed under the MIT License - see the LICENSE file for details.
Enjoy wireless printing to your Digital Paper device!
39 commits
Hacker News (1)
Shell
76.7%
Makefile
23.3%
![]()
A CUPS backend that enables direct printing to Sony Digital Paper devices (DPT-RP1, DPT-CP1) and Fujitsu Quaderno e-readers. Print documents from any application directly to your device over WiFi or Bluetooth.
Document/Printed/ folder on deviceBefore installing this CUPS backend, ensure you have the following:
CUPS - Common UNIX Printing System
# Debian/Ubuntu
sudo apt install cups
# Arch Linux
sudo pacman -S cups
# Fedora
sudo dnf install cups
dpt-rp1-py - Python library for DPT devices
pip install dpt-rp1-py
notify-send.sh - Enhanced notification script
# Download and install notify-send.sh
curl -o /usr/local/bin/notify-send.sh https://raw.githubusercontent.com/vlevit/notify-send.sh/master/notify-send.sh
chmod +x /usr/local/bin/notify-send.sh
ppdc - PPD compiler (usually included with CUPS development packages)
# Debian/Ubuntu
sudo apt install cups-ppdc
# Arch Linux
sudo pacman -S cups
# Fedora
sudo dnf install cups-devel
The easiest way to install on Arch Linux is via the AUR:
yay -S dpt-rp1-cups
Clone the repository:
git clone https://github.com/cristobaltapia/dptrp1-cups.git
cd dptrp1-cups
Build and install:
sudo make DESTDIR=/ install
This will:
/usr/lib/cups/backend//usr/share/cups/model//usr/share/pixmaps/Restart CUPS service:
sudo systemctl restart cups
Before you can use this CUPS backend, you must configure dpt-rp1-py to authenticate with your device.
Register your computer with the device:
dptrp1 --addr <device-ip-address> register
Follow the on-screen instructions - you'll need to enter a code displayed on your device.
Verify the configuration files are created:
ls ~/.config/dpt/
# Should show: deviceid.dat privatekey.dat
The backend expects these files at:
~/.config/dpt/deviceid.dat~/.config/dpt/privatekey.datlpadmin -L 'DPT-RP1 WiFi' -D 'DPT-RP1 WiFi Printer' \
-p 'DPT-RP1-WiFi' -E -v 'dptrp1:192.168.1.101'
lpadmin -L 'DPT-CP1 WiFi' -D 'DPT-CP1 WiFi Printer' \
-p 'DPT-CP1-WiFi' -E -v 'dptcp1:192.168.1.101'
Important: Replace 192.168.1.101 with your device's actual IP address.
-L : Location description-D : Human-readable description-p : Printer name (used in CUPS)-E : Enable the printer and accept jobs-v : Device URI
dptrp1: for A4 devicesdptcp1: for A5 devicesOn your Sony DPT or Fujitsu Quaderno:
You can also use Bluetooth by specifying the Bluetooth address:
lpadmin -L 'DPT-RP1 Bluetooth' -D 'DPT-RP1 Bluetooth Printer' \
-p 'DPT-RP1-BT' -E -v 'dptrp1:AA:BB:CC:DD:EE:FF'
Once configured, the DPT device will appear as a regular printer in all your applications.

Document/Printed/ on your devicePrinted documents are automatically named with:
YYYY-MM-DD_HH-MM2025-12-10_14-30_report.pdfyay -R dpt-rp1-cups
Remove the printer from CUPS:
lpadmin -x 'DPT-RP1-WiFi'
Uninstall the backend:
cd dptrp1-cups
sudo make DESTDIR=/ uninstall
Restart CUPS:
sudo systemctl restart cups
This backend integrates with CUPS to provide seamless printing:
The backend intelligently handles PDFs:
This project is licensed under the MIT License - see the LICENSE file for details.
Enjoy wireless printing to your Digital Paper device!
Hacker News (1)
39 commits
Shell
76.7%
Makefile
23.3%