Hello my writer Brother HL-2040’s driver not in the fedora how can ı install this writer’s driver in Fedora Workstation 43?
While I’m not familiar with the HL2040, I’ve been able to use the anywhere drive on a Brother MFC L3780CDW. To spam my own page, I wrote it up at Scanning and Printing from CLI with a section on Fedora at Scanning and Printing from CLI
The package foomatic-db contains drivers for HL-2040
One of these four should work.
foomatic:Brother-HL-2040-hl1250.ppd Brother HL-2040 Foomatic/hl1250
foomatic:Brother-HL-2040-hpijs-pcl5e.ppd Brother HL-2040 Foomatic/hpijs-pcl5e
foomatic:Brother-HL-2040-lj4dith.ppd Brother HL-2040 Foomatic/lj4dith
foomatic:Brother-HL-2040-ljet4.ppd Brother HL-2040 Foomatic/ljet4
This is a GDI printer: https://openprinting.org/printer/Generic/Generic-GDI_Printer, and https://www.openprinting.org/driver/gdi/. The second link will generate a generic GDI PPD file, but may need some manual tweaks for current CUPS.
Thank you!
AI said the same thing, I tried to do it but it didn’t work, it gave an error. I tried printing the photo but it only showed the settings message.
I assume you tried the generic GDI PPD file. Several years ago I had a similar problem with an old Canon printer. The PPD file format has changed, so I had to translate some entries in the existing PPD file to the newer PPD syntax. PPD was orginally defined by Adobe and extended by CUPS in https://www.cups.org/doc/spec-ppd.html. Quoting https://www.cups.org/doc/api-raster.html
The CUPS raster API provides a standard interface for reading and writing CUPS raster streams which are used for printing to raster printers. Because the raster format is updated from time to time, it is important to use this API to avoid incompatibilities with newer versions of CUPS.