OS-Linux-Service-Cups-CanonMG6100-Mageia2
!! Canon MG-6120 GNU/Linux Printer Driver Installation on Mageia 2
This page used to be all about setting up a real Canon driver that was used with Mageia 1. If that's what you are looking for, see Canon MG-6120 GNU/Linux Printer Driver for general information concerning the Canon printer driver and where to get it, then look in the history of this wiki page for detailed information on setting it up, but be warned, after doing all that, it turns out that the distribution driver works just fine.
What follows DOES NOT require anything that does not come with Mageia 2...
!! CUPS / User Setup
- It is more or less assumed that CUPS is installed and working, but... if it is not, something like the following should work, though it is not tested, because this stuff was already set up ahead of time on my system:
- [@sudo urpmi task-printing-canon task-printing-server@]
- [@sudo service start cups@]
- Add your user to the [@lp@] and [@lpadmin@] groups.
- : To make the group add effective, you generally have have to log off and back in.
!! USB Connected Printer Setup
- : For an example of a Network setup, see the CupsCanonMG6100Mageia3 page.
- Sometimes certain USB ports will have trouble talking to the printer. For example, when plugged into two of the ports on my system I got messages in the log like:
- : [@sudo grep usb /var/log/messages
Sep 17 20:00:12 matrix kernel: [ 4450.900509] usb 1-3: device descriptor read/64, error -110 Sep 17 20:00:27 matrix kernel: [ 4466.112596] usb 1-3: device descriptor read/64, error -110 Sep 17 20:00:27 matrix kernel: [ 4466.336400] usb 1-3: new full-speed USB device number 27 using ohci_hcd Sep 17 20:00:42 matrix kernel: [ 4481.446501] usb 1-3: device descriptor read/64, error -110 Sep 17 20:00:58 matrix kernel: [ 4496.657513] usb 1-3: device descriptor read/64, error -110 Sep 17 20:00:58 matrix kernel: [ 4496.881315] usb 1-3: new full-speed USB device number 28 using ohci_hcd Sep 17 20:01:08 matrix kernel: [ 4507.274434] usb 1-3: device not accepting address 28, error -110 Sep 17 20:01:08 matrix kernel: [ 4507.397336] usb 1-3: new full-speed USB device number 29 using ohci_hcd Sep 17 20:01:19 matrix kernel: [ 4517.790471] usb 1-3: device not accepting address 29, error -110 Sep 17 20:01:19 matrix kernel: [ 4517.790493] hub 1-0:1.0: unable to enumerate USB device on port 3@]
- I tried unplugging and replugging to no avail. Eventually I moved to a different row of USB ports and got:
- : [@sudo grep usb /var/log/messages
Sep 17 20:30:49 matrix kernel: [ 6286.538451] usb 9-2: new high-speed USB device number 7 using ehci_hcd Sep 17 20:30:49 matrix kernel: [ 6286.657599] usb 9-2: New USB device found, idVendor=04a9, idProduct=174a Sep 17 20:30:49 matrix kernel: [ 6286.657607] usb 9-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Sep 17 20:30:49 matrix kernel: [ 6286.657613] usb 9-2: Product: MG6100 series Sep 17 20:30:49 matrix kernel: [ 6286.657617] usb 9-2: Manufacturer: Canon Sep 17 20:30:49 matrix kernel: [ 6286.657621] usb 9-2: SerialNumber: 33D8DD Sep 17 20:30:49 matrix kernel: [ 6286.665556] usblp1: USB Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x04A9 pid 0x174A Sep 17 20:30:49 matrix kernel: [ 6286.665793] scsi7 : usb-storage 9-2:1.2 Sep 17 20:30:49 matrix mtp-probe: checking bus 9, device 7: "/sys/devices/pci0000:00/0000:00:12.2/usb9/9-2" Sep 17 20:30:49 matrix mtp-probe: bus: 9, device: 7 was not an MTP device Sep 17 20:30:50 matrix kernel: [ 6287.669358] scsi 7:0:0:0: Direct-Access Canon MG6100 series 0105 PQ: 0 ANSI: 2 Sep 17 20:30:50 matrix kernel: [ 6287.674089] sd 7:0:0:0: [sdj] Attached SCSI removable disk Sep 17 20:30:50 matrix kernel: [ 6287.959334] usblp1: removed Sep 17 20:30:50 matrix kernel: [ 6287.965706] usblp1: USB Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x04A9 pid 0x174A Sep 17 20:31:16 matrix kernel: [ 6313.056469] usblp1: removed Sep 17 20:31:33 matrix kernel: [ 6330.706921] usblp1: USB Bidirectional printer dev 7 if 1 alt 0 proto 2 vid 0x04A9 pid 0x174A@]
- In any event, there is no real point to continuing if you do not see evidence of the printer being plugged in and recognized.
- Note that at some point, you might notice that the system recognizes the printer is plugged in, and that it is automatically configured in CUPS. That's great, but you might also notice that the automatically set up printer does not work. Now, chances are you could go ahead and reconfigure this printer to make it work, but I'm going to take the approach of doing the setup manually - if only as an exercise of getting a feeling how to work with the printer configuration.
- Once the printer is plugged in and recognized, point your browser to:
- On the CUPS page, click the Administration tab.
- Click the Add Printer button.
- At this point, I saw something like:
- : [@Local Printers: ( ) CUPS-PDF (Virtual PDF Printer)
( ) Canon MG6100 series (Canon MG6100 series) ...@]
- Click the Canon MG6100 series... radio button.
- Click the Continue button.
- Enter the printer details along the lines of:
- : Name: [@Canon_MG6120@]
- : Description: [@Canon MG6120@]
- : Location: [@Den@]
- : Connection: usb://Canon/MG6100%20series?serial=33D8DD&interface=1
- : Sharing: [ ] Share This Printer
- Click the Continue button.
- The browser will change and look something like:
- : [@Name: Canon_MG6120
Description: Canon MG6120 Location: Connection: usb://Canon/MG6100%20series?serial=33D8DD&interface=1 Sharing: Do Not Share This Printer Make: Canon Model:@]
- If you were to look at this page history, you could find notes about how to install an actual Canon driver. If one of those was installed, probably at the top of the selection list would be:
- : [@Canon MG6100 series Ver.3.40 (en)@]
- : Alternatively, one could browse to the .ppd file at:
- : [@/usr/share/cups/model/canonmg6100.ppd@]
- : But, DO NOT select this model! It does not appear to work, and it has a very simplistic configuration interface.
- : Instead, select either of these:
- : [@Canon PIXMA MG6100 - CUPS+Gutenprint v5.2.7
Canon PIXMA MG6100 - CUPS+Gutenprint v5.2.7 Simplified@]
- : Though at first I didn't have much luck with the one without Simplified in the description, I eventually discovered both work. Apparently the Simplified configuration options were less confusing until I figured out what needed to be tweaked...
- Click Add Printer
- At this point, you can adjust the default options, but for now simply click "Set Default Options".
- At this point, a message appears like:
- : [@Printer Canon_MG6120 default options have been set successfully.@]
- Wait a moment, and the browser will refresh to show the printer status.
- Pull down the Maintenance drop-down, and select Print Test Page.
- Probably the document will not print, though it will likely show on the display that the print job came over to the printer. With the other MG6100 Model options, you probably will not get any clue at all that the printer is getting anything, but CUPS will think the job went through just fine. We did things this way to demonstrate how you can go in an tweak things to get the printer working better. Keep going...
- Now, pull down the Administration control...
- Do not select Modify Printer now, but not that this choice lets you select a different model. To get this printer working, I had to experiment with various models to find one that worked.
- Select Set Default Options.
- This will bring up a configuration area that looks something like:
- : [@
Set Default Options for Canon_MG6120 General Printer Features Common Output Control Common Banners Policies
General
Media Size: Letter Color Model: RGB Color Media Type: Plain Paper Media Source: Automatic Paper Source Switching Print Quality: Standard Resolution: Automatic 2-Sided Printing: Off Shrink Page If Necessary to Fit Borders: Shrink (print the whole page)@]
- Change Resolution to 300x300 DPI. Automatic appears to be the main problem. Some of the 600x600 options work a bit, but they do not print correctly. It would seem that the only reliable choices are the ones that specify 300x300. I've seen this before (also with other printers), but I have no idea why.
- Click Set Default Options.
- At this point, a message appears like:
- : [@Printer Canon_MG6120 default options have been set successfully.@]
- Wait a moment, and the browser will refresh to show the printer status.
- Pull down the Maintenance drop-down, and select Print Test Page.
- : This time the test page prints!