Bluetooth printing backend for CUPS

by Marcel Holtmann


1. Introduction

This is the Bluetooth printing backend for CUPS. At the moment this backend only provides native printing for Bluetooth serial port enabled printers, but for the future the support of Basic Printing (BPP) and Hardcopy Cable Replacement (HCRP) are planned. Starting with version 0.2 it has some untested support for HCRP, but in the version 0.3 the HCRP printing is reviewed and tested with HCRP capable printers and adapters.

Starting with bluez-utils-2.7 the Bluetooth printing backend is fully integrated into the BlueZ core package.


2. Installation

The "make install" of the source package do nothing at the moment. The needed files have to copied by hand. The first file is the backend itself and is must be copied to the CUPS backend directory. For Debian this directory is under /usr/lib/cups/backend/. The second file is the backend configuration printers.conf and this must be copied to /etc/bluetooth/. To make the new backend available to CUPS, the service must be restarted.


3. Configuration

The easiest way to configure a new printer is to add it to /etc/bluetooth/printers.conf and after a restart of the CUPS system the Bluetooth printer will available in the device list. The printer can now be configured like any other CUPS printer.

The second method is to identify the printer by a Bluetooth URI:

bluetooth://device/service

In the case of a serial port Bluetooth printer this will look like this:

bluetooth://00900263E083/spp

The Bluetooth device for this printer is 00:90:02:63:E0:83 and it is used without the colons. The service spp identifies the serial port printing.

Within the CUPS system the printer is always identified with the URI and any subsequent change in the config file don't affect the configured printers.

It is also safe to leave the service name field empty. If the URI only contains the Bluetooth device address the backend will select the protocol according to the SDP records of the remote device.

bluetooth://00900263E083/

If a device provides support for SPP and HCRP the hardcopy cable replacement profile will be chosen if no service name is specified in the URI.


4. Download

cups-bluetooth-0.1.tar.gz (193 KB)
cups-bluetooth-0.2.tar.gz (195 KB)
cups-bluetooth-0.3.tar.gz (195 KB)


5. Product links

Ricoh Aficio® AP600N
Anycom Bluetooth PM-2002 Printer Module
Anycom Bluetooth USB Printer Module PM-300
TROY WindConnect Bluetooth Wireless Printer Adapter
TROY WindConnect Printer Adapter (in German)


Copyright © 2003 Marcel Holtmann Created on July 30, 2003
Last modification on November 8, 2003