Difference between revisions of "CUPS/Printer-specific problems"
(#foo2zjs, mentioned above for supporting some HP printers, also support some Minolta printers.) |
(Add documentation for cnijfilter2-bin, and Pixma MX490 / Pixma MX492) |
||
Line 230: | Line 230: | ||
==Canon== | ==Canon== | ||
− | There are many possible drivers for Canon printers. [http://gimp-print.sourceforge.net/p_Supported_Printers.php Many Canon printers] are supported by {{Pkg|gutenprint}}. Some of Canon's LBP, iR, and MF printers use a driver supporting the UFR II/UFR II LT/LIPSLX protocols, which is available as {{AUR|cndrvcups-lb}} or {{AUR|cndrvcups-lb-bin}}. Others use the [[#CARPS]], [[#cnijfilter]], or [[Canon CAPT]] drivers. | + | There are many possible drivers for Canon printers. [http://gimp-print.sourceforge.net/p_Supported_Printers.php Many Canon printers] are supported by {{Pkg|gutenprint}}. Some of Canon's LBP, iR, and MF printers use a driver supporting the UFR II/UFR II LT/LIPSLX protocols, which is available as {{AUR|cndrvcups-lb}} or {{AUR|cndrvcups-lb-bin}}. Others use the [[#CARPS]], [[#cnijfilter]] ([[AUR|cnijfilter2]] / [[AUR|cnijfilter2-bin]]), or [[Canon CAPT]] drivers. |
{| class="wikitable" | {| class="wikitable" | ||
Line 313: | Line 313: | ||
| MG4200 series || {{AUR|cnijfilter-mg4200}} || Avoid the [[CUPS#Web interface|web interface]] when adding the printer as it won't find the PPD file. | | MG4200 series || {{AUR|cnijfilter-mg4200}} || Avoid the [[CUPS#Web interface|web interface]] when adding the printer as it won't find the PPD file. | ||
|- | |- | ||
− | | | + | | MX490 || rowspan="3" | {{AUR|cnijfilter2}}<br />{{AUR|cnijfilter2-bin}} || |
+ | |- | ||
+ | | MX492 || | ||
+ | |- | ||
+ | | TS8050 || Without {{AUR|cnijfilter2}} printing will fail with a filter error or you might get "Rendering Completed" and nothing will print | ||
|- | |- | ||
| TS9020 || {{AUR|canon-ts9020}} || | | TS9020 || {{AUR|canon-ts9020}} || |
Revision as of 16:04, 11 September 2018
This article contains printer or manufacturer-specific instructions for CUPS. See OpenPrinting if your printer is not already listed here, or if none of the listed drivers work.
Contents
Brother
Printer | Driver/filter | Notes |
---|---|---|
DCP-135C | brother-dcp135cAUR | |
DCP-150C | brother-dcp150cAUR | |
DCP-7020 | foomatic | Or Brother's driver. |
DCP-7030 | brother-dcp7030AUR | |
DCP-7065DN | brother-dcp7065dnAUR | |
FAX-2820 | brother-cups-wrapper-laserAUR | |
FAX-2840 | brother-fax2840AUR | Or foomatic - works mostly with hpijs-pcl5e.ppd . Same as the HL-2170W.
|
FAX-2940 | brother-fax2940AUR | |
HL-2030 | foomatic | Or brother-hl2030AUR |
HL-2035 | foomatic | Should be compatible with any drivers for the HL-2030. |
HL-2040 | foomatic | Or brother-hl2040AUR |
HL-2130 | foomatic (using the HL-2140 driver) | Or hplip |
HL-2140 | foomatic | Or brother-hl2140AUR |
HL-2170W | foomatic | Or Brother's driver. |
HL-2230 | foomatic | Same as HL-2170W. Select HL-2170W as the driver in CUPS admin when adding a printer. |
HL-2250DN | brother-hl2250dnAUR | |
HL-2270DW | brother-hl2270dwAUR | |
HL-2280DW | brother-hl2280dwAUR | |
HL-2340DW | brother-hll2340dwAUR | |
HL-3045CN | Install Brother's driver. | |
HL-3140CW | brother-hl3140cwAUR | Use IPP and Brother's driver to avoid page-shrinking and endless blank printouts |
HL-3150CDW | brother-hl3150cdwAUR | |
HL-3170CDW | brother-hl3170cdwAUR | |
HL-5140 | foomatic | Or Brother's driver. |
HL-5340 | foomatic | Using the Generic PCL 6/PCL XL Printer - CUPS+Gutenprint (gutenprint and foomatic-db-gutenprint-ppds). Or Brother's driver, which may result in failed prints with postscript errors. |
HL-L2300D | brother-hll2300dAUR | |
HL-L2350DW | brother-hll2350dwAUR | |
HL-L2380DW | brother-hll2380dwAUR | |
HL-L2395DW | brother-hll2395dwAUR | Use socket protocol (socket://hostname-or-ip:9100 ).
|
HL-L5100DN | HP LaserJet Foomatic driver | This model will emulate a HP LaserJet. lpd://hostname-or-ip/BINARY_P1
|
MFC-420CN | brother-mfc-420cnAUR | |
MFC-440CN | brother-mfc-440cnAUR | |
MFC-7360N | brother-mfc7360nAUR | |
MFC-7840W | brother-mfc-7840wAUR | |
MFC-9320CW | Install Brother's driver. | |
MFC-9332CDW | brother-mfc-9332cdwAUR | |
MFC-9840CDW | foomatic | Or Brother's driver. This printer also works with the generic PCL-6 driver from the gutenprint package. Use pcl_p1 for the printer's address when using the PCL-6 driver. |
MFC-J470DW | brother-mfc-j470dwAUR | |
MFC-J4710DW | brother-mfc-j4710dwAUR | |
MFC-J480DW | brother-mfc-j480dwAUR | Use ipp:// described below.
|
MFC-J5520DW | brother-mfc-j5520dwAUR | |
MFC-J5910DW | brother-mfc-j5910dwAUR | |
MFC-J650DW | Install Brother's driver. | |
MFC-J885DW | brother-mfc-j885dwAUR | |
MFC-J985DW | brother-mfc-j985dwAUR | |
MFC-L2700DW | brother-mfc-l2700dwAUR | Please look also at the comments section of the AUR package page. |
QL-500 | brother-ql500AUR | |
QL-570 | brother-ql570AUR | |
QL-580N | brother-ql580nAUR | |
QL-650TD | brother-ql650tdAUR | |
QL-700 | brother-ql700AUR | |
QL-710W | brother-ql710wAUR | |
QL-720NW | brother-ql720nwAUR | |
QL-1050 | brother-ql1050AUR | |
QL-1050N | brother-ql1050nAUR | |
QL-1060 | brother-ql1060nAUR | |
TD-2020 | brother-td2020AUR | |
TD-2120N | brother-td2120nAUR | |
TD-2130N | brother-td2130nAUR | |
TD-4000 | brother-td4000AUR | |
TD-4100N | brother-td4100nAUR | |
Printer | Driver/filter | Notes |
Network printers
For network printers, use ipp://printer_ip/ipp/port1
as printer address.
For some older printers, this might not work. If not, try lpd://printer_ip/BINARY_P1
instead.
Some printers use the socket protocol. For these printers, use socket://printer_ip:9100
.
For http, use http://printer_ip/POSTSCRIPT_P1
.
Custom drivers
Brother provides custom drivers on their website, either in source tarball, rpm, or deb form. Packaging Brother printer drivers covers creating PKGBUILDs from the existing RPM packages.
Manually installing from the RPM packages
Install the rpmextract package, and extract both rpm packages using rpmextract.sh
. Extracting both files will create a var and a usr directory - move the contents of both directories into the corresponding root directories.
Run the cups wrapper file in /usr/local/Brother/cupswrapper
. This should automatically install and configure your brother printer.
For some of the drivers 32 bit libraries may need to be installed from multilib.
Updating the firmware
snmpwalk -c public $PRINTER_IP | grep -A 1 3.6.1.4.1.2435.2.4.3.99.3.1.6.1.2
At this point, you will have the relevant data to get a valid firmware download link from Brother. The file should look similar to the one below:
request.xml
<REQUESTINFO> <FIRMUPDATETOOLINFO> <FIRMCATEGORY>MAIN</FIRMCATEGORY> <OS>LINUX</OS> <INSPECTMODE>1</INSPECTMODE> </FIRMUPDATETOOLINFO> <FIRMUPDATEINFO> <MODELINFO> <SELIALNO></SELIALNO> <NAME>MFC-9330CDW</NAME> <SPEC>0401</SPEC> <DRIVER></DRIVER> <FIRMINFO> <FIRM> <ID>MAIN</ID> <VERSION>R1506121801:4504</VERSION> </FIRM> <FIRM> <ID>SUB1</ID> <VERSION>1.07</VERSION> </FIRM> <FIRM> <ID>SUB2</ID> <VERSION>L1505291600</VERSION> </FIRM> </FIRMINFO> </MODELINFO> <DRIVERCNT>1</DRIVERCNT> <LOGNO>2</LOGNO> <ERRBIT></ERRBIT> <NEEDRESPONSE>1</NEEDRESPONSE> </FIRMUPDATEINFO> </REQUESTINFO>
Post this file to Brother:
curl -X POST -d @request.xml https://firmverup.brother.co.jp/kne_bh7_update_nt_ssl/ifax2.asmx/fileUpdate -H "Content-Type:text/xml" > response.xml
In response.xml
you will find a <PATH>
tag that contains the firmware download URL. Next, download the firmware, push it to the printer, and let the printer process it. Before that is done, change the Admin password to something known, it will be used as the user to log into the FTP site (VERY bad practice, don't do this).
wget http://update-akamai.brother.co.jp/CS/LZ4266_W.djf ftp $PRINTER_IP bin hash send LZ4266_W.djf bye
With that, the printer will restart, and the latest firmware will be installed and (hopefully) your printing woes will be solved.
Canon
There are many possible drivers for Canon printers. Many Canon printers are supported by gutenprint. Some of Canon's LBP, iR, and MF printers use a driver supporting the UFR II/UFR II LT/LIPSLX protocols, which is available as cndrvcups-lbAUR or cndrvcups-lb-binAUR. Others use the #CARPS, #cnijfilter (cnijfilter2 / cnijfilter2-bin), or Canon CAPT drivers.
Printer | Driver/filter | Notes |
---|---|---|
iP4300 | gutenprint | Or use the TurboPrint driver. |
LBP810 | Canon CAPT | |
LBP1120 | ||
LBP1210 | ||
LBP2900 | ||
LBP3000 | ||
LBP3010 | ||
LBP3018 | ||
LBP3050 | ||
LBP3100 | ||
LBP3108 | ||
LBP3150 | ||
LBP3200 | ||
LBP3210 | ||
LBP3250 | ||
LBP3300 | ||
LBP3310 | ||
LBP3500 | ||
LBP5000 | ||
LBP5050 series | ||
LBP5100 | ||
LBP5300 | ||
LBP6000 | ||
LBP6018 | ||
LBP6020 | ||
LBP6200 | ||
LBP6300 | ||
LBP6300n | ||
LBP6310dn | ||
LBP7010C | ||
LBP7018C | ||
LBP7200Cdn (network mode) | ||
LBP7200C series | ||
LBP7210Cdn | ||
LBP9100C | ||
MF4720w | cndrvcups-lb-binAUR | |
MG4200 series | cnijfilter-mg4200AUR | Avoid the web interface when adding the printer as it won't find the PPD file. |
MX490 | cnijfilter2AUR cnijfilter2-binAUR |
|
MX492 | ||
TS8050 | Without cnijfilter2AUR printing will fail with a filter error or you might get "Rendering Completed" and nothing will print | |
TS9020 | canon-ts9020AUR | |
Printer | Driver/filter | Notes |
Some Canon printers will use a similar setup to the iP4500, so consider modifying the cnijfilter-ip4500AUR package for other, similar printers.
CARPS
Some of Canon's printers use Canon's proprietary Canon Advanced Raster Printing System (CARPS) driver. Rainbow Software have managed to reverse engineer the CARPS data format and have successfully created a CARPS CUPS driver, which is available as carps-cupsAUR. The project's GitHub page includes a list of working printers.
USB over IP (BJNP)
Some Canon printers use Canon's proprietary USB over IP BJNP protocol to communicate over the network. There is a CUPS backend for this, which is available as cups-bjnpAUR.
cnijfilter
Some printers using the cnijfilter drivers support the cnijnet
protocol. To find the printer URI run
$ cnijnetprn --search auto
and use the cnijnet:/
URI in the output.
Dell
Printer | Driver/filter | Notes |
---|---|---|
1250C | foo2zjs-nightlyAUR | See http://cybercom.net/~dcoffin/hbpl, the patch has been merged into upstream. The printer may also work with the Xerox Phaser 6000B driver. |
C1660NW | foo2zjs-nightlyAUR | The printer may also work with the Xerox Phaser 6000B driver. |
E515,
E515dw |
Install Dell's driver. | Both e515dwcupswrapper-3.2.0-1.i386.deb and e515dwlpr-3.2.0-1.i386.deb need to be installed. You could either write a PKGBUILD, use debtapAUR, or use dpkgAUR (using dpkg is not recommended as the files will not be managed by pacman). The driver works on both the x86_64 and i386 platforms, but may require multilib. |
S1130n | dell-unified-printer-driverAUR | Driver conflicts with samsung-unified-driver-printer (both create rastertospl and libscmssc.so) |
1130 | ||
1133 | ||
1135n | ||
1815 | ||
2145cn | ||
2335dn | ||
2355dn | ||
5330 | ||
B1160 | ||
B1160w | ||
B1165nfw | ||
B1260dn | ||
B1265dfw | ||
B1265dnf | ||
B2365dnf | ||
Printer | Driver/filter | Notes |
Epson
epson-inkjet-printer-escprAUR and epson-inkjet-printer-escpr2AUR are sets of drivers using the Epson Inkjet Printer Driver (ESC/P-R) for Linux.
Printer | Driver/filter | Notes |
---|---|---|
AcuLaser CX11(NF) | epson-alcx11-filterAUR | |
AcuLaser C900 | This printer uses Epson's driver, with a device URI of 'usb://EPSON/AL-C900', and may need the pipsplus service to be running. | |
EP-50V | epson-inkjet-printer-escpr2AUR | |
EP-879A | ||
EP-880A | ||
ET-2700 | epson-inkjet-printer-escprAUR | |
ET-2750 | ||
ET-3700 | epson-inkjet-printer-escpr2AUR | |
ET-3750 | ||
ET-4750 | ||
EW-M571T | epson-inkjet-printer-escprAUR | |
EW-M670FT | epson-inkjet-printer-escpr2AUR | |
L380 | epson-inkjet-printer-201601wAUR | |
L382 | ||
L4150 | epson-inkjet-printer-escprAUR | |
L4160 | ||
L6160 | epson-inkjet-printer-escpr2AUR | |
L6170 | ||
L6190 | ||
LP-S5000 | This printer requires a custom driver from Avasys. | |
PM-520 | epson-inkjet-printer-escpr2AUR | |
PX-M5080F | ||
PX-M5081F | ||
PX-M680F | ||
PX-M7070FX | ||
PX-M780F | ||
PX-M781F | ||
PX-M884F | ||
PX-S5080 | ||
PX-S7070X | ||
PX-S884 | ||
TX125 | epson-inkjet-printer-n10-nx127AUR | |
WF-3720 | epson-inkjet-printer-escpr2AUR | |
WF-4720 | ||
WF-4730 | ||
WF-4740 | ||
WF-7210 | ||
WF-7710 | ||
WF-7720 | ||
WF-C869R | ||
XP-446 | epson-inkjet-printer-escprAUR | |
XP-5100 | epson-inkjet-printer-escpr2AUR | |
XP-6000 | ||
XP-8500 | ||
XP-15000 | ||
Printer | Driver/filter | Notes |
Utilities
escputil
escputil is part of the gutenprint package, and performs some utility functions on Epson printers such as nozzle cleaning.
mtink
This is a printer status monitor which enables to get the remaining ink quantity, to print test patterns, to reset printer and to clean nozzle. It use an intuitive graphical user interface.
Stylus-toolbox
This is a GUI using escputil and cups drivers. It supports nearly all USB printer of Epson and displays ink quantity, can clean and align print heads and print test patterns.
Custom drivers
Avasys
"Source" code of the driver is available on the avasys website, in Japanese, however it includes a 32 bit binary which will cause problem on 64 bit system.
- Install the psutils, bc, libstdc++5 packages (lib32-libstdc++5 on 64bit).
- Download the source code of the driver.
- Compile and install the driver.
$ ./configure --prefix=/usr $ make # make install
If you have any problems on a 64 system, some other lib32 libraries may be required. Please adjust this page if that is the case.
HP
See also CUPS/Troubleshooting#HP issues.
Most HP printers will use hplip, but some may use hpojAUR. Some laser printers are also supported by foo2zjs-nightlyAUR.
Printer | Driver/filter | Notes |
---|---|---|
DeskJet 710C | pnm2ppaAUR | |
DeskJet 712C | ||
DeskJet 720C | ||
DeskJet 722C | ||
DeskJet 820se | ||
DeskJet 820Cxi | ||
DeskJet 1000Cse | ||
DeskJet 1000Cxi | ||
LaserJet P1606dn | hplip + hplip-pluginAUR | Or foo2zjs-nightlyAUR, or AirPrint. |
LaserJet Pro MFP M126nw | hplip + hplip-pluginAUR | |
Photosmart 2575 | hplip | Or use the hpijs driver in foomatic. |
Printer | Driver/filter | Notes |
HPLIP
hplip provides drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet, and some LaserJet printers, and also provides an easy to use setup tool. See https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index for the list of supported printers.
To run the setup tool with the GUI qt frontend:
# hp-setup -u
To run the setup tool with the command line frontend:
# hp-setup -i
To set up directly the configuration of a network connected HP printer:
# hp-setup -i <ip address>
To run systray spool manager:
$ hp-systray
To generate a URI for a given ip address:
# hp-makeuri <ip address>
PPD files are in /usr/share/ppd/HP/
.
If your printer is listed as requiring a binary plugin, install the hplip-pluginAUR package from AUR.
If the binary plugin hplip-pluginAUR is a requirement you will need to start the org.cups.cupsd.service
before the PPD is recognized by hplip.
hplip depends on foomatic-db-engine which prevents the drivers list from appearing when a printer is added to CUPS via the web user interface (following error : "Unable to get list of printer drivers"). Possible workarounds:
- Either: Install hplip first, then retrieve the PPD file that matches your printer from
/usr/share/ppd/HP/
. Next, remove hplip entirely as well as any unnecessary dependencies. Finally, install the printer manually using the CUPS web UI, selecting the PPD file you retrieved, and then re-install hplip. After a reboot, you should have a fully working printer. - Or: Remove hplip, foomatic-db and foomatic-db-engine along with any unnecessary dependencies. Reinstall hplip and restart CUPS. Install your printer using the CUPS web UI, which should now be able to find the drivers automatically. No reboot needed.
foo2zjs
foo2zjs supports some HP LaserJet printers. As of June 2018 the hplip package interferes with foo2zjs-nightlyAUR, as described at this forum post and FS#58815.
Konica Minolta
Printer | Driver/filter | Notes |
---|---|---|
Minolta Magicolor 1600W | foomatic | |
Minolta Magicolor 1680MF | ||
Minolta Magicolor 1690MF | ||
Minolta Magicolor 2480MF | ||
Minolta Magicolor 2490MF | ||
Minolta Magicolor 2530DL | ||
Minolta Magicolor 4690MF | ||
Printer | Driver/filter | Notes |
foo2zjs
#foo2zjs, mentioned above for supporting some HP printers, also support some Minolta printers.
Lexmark
Utilities
Lexmark provides a utility called lexijtools with the drivers.
Custom drivers
Lexmark does provide Linux drivers for all their hardware. The following packages are required:
- cups
- sane
- ncurses
- libusb
- libxext
- libxtst
- libxi
- libstdc++5
- krb5
- lua (for the automated installer)
- Java (for the automated installer, and some of the Lexmark tools)
The drivers will need to be downloaded from Lexmark's website. Preferably, create a package (see Creating packages) and install it. Here is a basic PKGBUILD that still needs work but will give an idea of what is required.
PKGBUILD
# Contributor: Todd Partridge (Gen2ly) toddrpartridge (at) yahoo pkgname=cups-lexmark-Z2300-2600 pkgver=1 pkgrel=1 pkgdesc="Lexmark Z2300 and 2600 Series printer driver for cups" arch=('i686') url="http://www.lexmark.com/" license=('custom') depends=('cups' 'glibc' 'ncurses' 'libusb' 'libxext' 'libxtst' 'libxi' 'libstdc++5' 'krb5' 'lua' 'java-runtime') conflicts=('z600' 'cjlz35le-cups' 'cups-lexmark-700') source=(lexmark-inkjet-08-driver-1.0-1.i386.tar.gz.sh) md5sums=(3c37eb87e3dad4853bf29344f9695134) package() { # Extract installer sh lexmark-inkjet-08-driver-1.0-1.i386.tar.gz.sh --target Installer-Files cd Installer-Files mkdir Driver tar xvvf instarchive_all --lzma -C Driver/ cd Driver tar xv lexmark-inkjet-08-driver-1.0-1.i386.tar.gz -C $pkgdir }
Keep in mind you can use the automated installer but doing so will leave the resulting changes untracked. The PPD will be installed into /usr/local/lexmark/lxk08/etc/
or similar, depending on the printer model.
Oki
Printer | Driver/filter | Notes |
---|---|---|
C110 | foomatic | |
MC561 | foomatic-db-nonfree | |
Printer | Driver/filter | Notes |
Ricoh
Install openprinting-ppds-pxlmono-ricohAUR if your device is black and white, or openprinting-ppds-pxlcolor-ricohAUR if it's color. Note that Ricoh copiers are sometimes branded as Savin, Gestetner, Lanier, Rex-Rotary, Nashuatec, and/or IKON. So, if you have a device bearing one of these brands, it may be supported by these drivers as well.
For winprinters (Ricoh series SP100 and SP200) try out ricoh-sp100-gitAUR.
Printer | Driver/filter | Notes |
---|---|---|
SP 112 | ricoh-sp100-gitAUR | |
SP 201n | ricoh-sp100-gitAUR | |
213W | Generic PCL Laser | Obtain a WPS code by holding down the wifi button for 2 seconds, then hitting the stop/start button. |
Printer | Driver/filter | Notes |
Samsung
For printers requiring the cnijfilter drivers, search for the correct driver in the AUR
Printer | Driver/filter | Notes |
---|---|---|
ML-2010 | splix | |
SCX-4200 | splix | |
Newer printers? | samsung-unified-driverAUR | |
Printer | Driver/filter | Notes |
Xerox or FujiXerox
Printer | Driver/filter | Notes |
---|---|---|
DocuPrint 203A | hplip | Using the DocuPrint P8e(hpijs) driver, or the Brother driver on FujiXerox's website (see #Brother for more information on how to install custom Brother drivers). |
Phaser 3100MFP | Install Xerox's driver | See #Phaser 3100MFP for more instructions. |
Phaser 6115MFP | foomatic | |
Phaser 6121MFP | foomatic | |
Printer | Driver/filter | Notes |
Custom drivers
Phaser 3100MFP
Once you have downloaded the drivers, execute the driver installer and accept the licence:
# cd printer # ./XeroxPhaser3100.install
Note that the driver is 32 bit, so some 32 bit libraries will be required on an x86_64 system.
For the scanner, create an /etc/sane.d directory if it doesn't already exist, because it's need by the installer:
# mkdir -p /etc/sane.d
Now install the driver:
# cd scanner/ # ./XeroxPhaser3100sc.install
Again, on an x86_64 install, 32 bit libraries will be needed.
Phaser 6000B
Install the xerox-phaser-6010 package (archived from the AUR).
The driver may require older versions of nettle and gnutls to be installed, since the binary blob linked against older versions of the shared libraries provided by those packages. The oldest known-good versions are nettle-2.7.1-1
and gnutls-3.3.13-1
.
Phaser 6125N
FujiXerox does not support Linux on this model. An old rpm is available but does not seem to work.
A slightly adapted custom driver has been found to work out of the box.
To install the tarball, run
# tar -C / --keep-newer-files -xvzf cups-xerox-phaser-6125n-1.0.0.tar.gz