

CUPS DRIVER GUTENPRINT INSTALL
Very often the wrong driver is used and bugs are reported about "the" driver not working, when the answer was to install another package. The gutenprint package has been patched to use DESTDIR to search for its XML files when the dynamic driver is run, for example. The DESTDIR environment variable will be set when run this way.
CUPS DRIVER GUTENPRINT DRIVERS
Starting with Fedora 21, this should be "BuildRequires: python3-cups, cups"ĭynamic drivers should ensure they can be executed from within the build root of their source package. To ensure a printer driver's binary RPMs are given postscriptdriver() tags, add "BuildRequires: python-cups, cups" to the RPM spec file.

The gutenprint-cups and foomatic packages have examples of this type of driver. In order for the manufacturers and models to be automatically tagged in the RPM package, this list must contain the appropriate Device ID strings. When CUPS runs the program with "list" as its argument, it must write out a list of all the PPDs it is prepared to generate. This is a program that generates PPD files on demand. Yet another way for a driver to integrate with CUPS is for it to provide a CUPS driver. The hpcups driver from the hplip package is an example of this type. Another way is to provide a driver information file, and similarly to PPD files these must include a 1284DeviceID attribute for each PPD they define in order for automatic printer driver installation to work. PPD files are the simplest way for a driver to make itself available through CUPS. *1284DeviceID: "MFG:Brother MDL:HL-5250DN series CMD:PJL,PCL,PCLXL,POSTSCRIPT " *NickName: "Brother HL-5250DN BR-Script3" *ModelName: "Brother HL-5250DN BR-Script3" *ShortNickName: "Brother HL-5250DN BR-Script3" Here is an example of a snippet of a PPD that contains a 1284DeviceID attribute: This will look for PPD files, read through them to find a "1284DeviceID" PPD attribute, and parse the IEEE 1284 Device ID string to extract the "MFG" and "MDL" fields. The way these RPM tags can be added automatically to printer driver packages is by using a "provides" script. Once this is done system-config-printer can use PackageKit to install the driver required for a printer when it is connected, or when a queue is set up for it interactively. The idea behind this feature is to add RPM tags to printer driver packages to match up with the manufacturer and model fields used by printers to identify themselves. This is a sequence of key:value pairs with, among others, fields for the manufacturer, the model, the command sets supported by the printer.

CUPS DRIVER GUTENPRINT BLUETOOTH
Packages like gutenprint-cups, hpijs, and foomatic should be installed on-demand when hardware requiring those drivers is detected.Īll printers, whether connected by parallel port, USB, bluetooth or network, identify themselves using an IEEE 1284 Device ID string.
