You are not logged in.

#1 2020-10-29 23:39:29

Jack_Indaboks
Member
Registered: 2020-10-29
Posts: 3

[SOLVED] Canon ImageCLASS MF232w - not printing

I am trying to set up a Canon ImageClass MF232w network printer on my Arch system. I know that Arch and Canon have a long history of not getting along but I hope somebody can help me figure out what I'm missing.

Background

The driver on the Canon website was not packaged for Arch, but I noted that it was called "UFRII LT" and quickly found the cnrdrfcups-lb and cndrvcups-lb packages. I tried the newer one first and then the older one, and in both cases the printer wakes up and says it's printing but nothing ever comes out. I found the cups web interface unhelpful, so I switched to command line early on, following this from the Arch Wiki. I also found this topic on the forums and applied what I found there. I also tried using Avahi with the 'IPP Everywhere' driver and had slightly different results. The printer woke up but did not say it was printing anything. The job in CUPS processed and said it was completed but nothing ever printed. To be thorough, I removed the printer from cups, set the cups error log to debug, restarted org.cups.cupsd.service, and started over adding my printer. I was originally trying to access it via the network, but as the post I was following was using usb and there seemed to be fewer variables to get wrong that way, I switched to usb for the time being.

What I did
$ lpinfo -v
file cups-brf:/
network beh
network ipps
network ipp
file cups-pdf:/
network lpd
direct cnusbufr2:/dev/usb/lp0
network socket
network http
network https
direct usb://Canon/MF230%20Series%20UFRII%20LT?serial=01A6AF648991&interface=1
network smb
network dnssd://Brother%20HL-L5100DN%20series%20%40%20iMac%20indaboks._ipp._tcp.local/cups?uuid=3dc9d067-ed7a-3860-7e10-7947613a92e0
network dnssd://Canon%20MF230._ipp._tcp.local/?uuid=01c80000-fe7f-11de-8a39-7438b7c48991
network socket://192.168.0.59
$ lpinfo -m | grep -i mf230
CNRCUPSMF230ZJ.ppd Canon MF230 Series CARPS2
CNRCUPSMF230ZK.ppd Canon MF230 Series UFRII LT
CNRCUPSMF230ZS.ppd Canon MF230 Series UFRII LT
driverless:ipps://Canon%20MF230._ipps._tcp.local/ Canon MF230 Series, driverless - cannot check driverless status, cups-filters 1.28.5
$ lpadmin -p "Canon_Indaboks-USB" -v "usb://Canon/MF230%20Series%20UFRII%20LT?serial=01A6AF648991&interface=1" -m CNRCUPSMF230ZS.ppd
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.
$ lpoptions -d Canon_Indaboks-USB
copies=1 device-uri=usb://Canon/MF230%20Series%20UFRII%20LT?serial=01A6AF648991&interface=1 finishings=3 job-cancel-after=10800
job-hold-until=no-hold job-priority=50 job-sheets=none,none marker-change-time=0 number-up=1 printer-commands=none
printer-info=Canon_Indaboks-USB printer-is-accepting-jobs=false printer-is-shared=true printer-is-temporary=false printer-location
printer-make-and-model='Canon MF230 Series UFRII LT' printer-state=5 printer-state-change-time=1604003018 printer-state-reasons=none
printer-type=529604 printer-uri-supported=ipp://localhost/printers/Canon_Indaboks-USB
$ cupsenable Canon_Indaboks-USB
$ cupsaccept Canon_Indaboks-USB
$ lpr /usr/share/cups/data/testprint
Result

The printer wakes up and says it's printing but nothing comes out. It keeps saying it's printing until I manually cancel the job on the printer itself. (this time I only waited about 10 minutes, but the other day I waited 2 hours just to be sure)

Here is the corresponding /var/log/cups/error_log (set to debug). Unfortunately, I have no clue how to read it.

I am working on trying to make sense of it and will post what I figure out. Any help in the meantime is appreciated.

Last edited by Jack_Indaboks (2022-03-31 15:38:50)

Offline

#2 2020-10-30 16:47:41

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: [SOLVED] Canon ImageCLASS MF232w - not printing

Jack_Indaboks wrote:

I know that Arch and Canon have a long history of not getting along

Don't extrapolate your own lack of troubleshooting skills to a distro issue. I've never had printing issues with Canon, does that now mean Canon and Arch have a long history of working perfect together? It's nonsensical.

Have you tried the Canon proprietary driver for your printer? Explain which driver you are using.

Unfortunately, I have no clue how to read it.

I feel like I'm at a dead end.

Make at least some effort. The log file is perfectly readable for humans. It contains statements such as: Loaded configuration file "/etc/cups/cupsd.conf" (probably a good message) and "HTTP_STATE_WAITING Closing for error 32 (Broken pipe)" - probably a bad message. Line up the timestamps of your attempted print job with the log and correlate the two.

Offline

#3 2020-11-04 17:23:18

Jack_Indaboks
Member
Registered: 2020-10-29
Posts: 3

Re: [SOLVED] Canon ImageCLASS MF232w - not printing

twelveeighty wrote:
Jack_Indaboks wrote:

I know that Arch and Canon have a long history of not getting along

Don't extrapolate your own lack of troubleshooting skills to a distro issue. I've never had printing issues with Canon, does that now mean Canon and Arch have a long history of working perfect together? It's nonsensical.

I was not referring to my own trouble getting it set up. I initially assumed that my own ineptitude was the obvious culprit. I was convinced that Arch and Canon don't get along by several forum posts that said as much. I meant no offense, just noting something I thought I had learned from previous users. And for the record, "not getting along" doesn't mean it never works - simply that it doesn't always work without a lot of effort.

twelveeighty wrote:

Have you tried the Canon proprietary driver for your printer? Explain which driver you are using.

That was an oversight. I have tried the UFRII LT drivers from the cnrdrvcups-lb and cndrvcups-lb packages as well as "Canon MF230 Series - IPP Everywhere" with Avahi. I am also updating the original post to reflect that. Thank you for noting that I had omitted that information.

twelveeighty wrote:

Unfortunately, I have no clue how to read it.

I feel like I'm at a dead end.

Make at least some effort. The log file is perfectly readable for humans. It contains statements such as: Loaded configuration file "/etc/cups/cupsd.conf" (probably a good message) and "HTTP_STATE_WAITING Closing for error 32 (Broken pipe)" - probably a bad message. Line up the timestamps of your attempted print job with the log and correlate the two.

This is the kind of help I was looking for. Thank you. I haven't had a lot of time for the side-by-side comparison yet. I will post my findings here when I do. Thanks!

Offline

#4 2022-03-25 20:04:58

mwsanders
Member
From: Asheville, North Carolina
Registered: 2022-03-25
Posts: 1
Website

Re: [SOLVED] Canon ImageCLASS MF232w - not printing

Jack,

I have a solution for you.

I have the same printer, in the United States, and was able to get it working with the following actions.  This was starting from a fairly fresh Arch Linux install.

1).  Enable the "MultLib" repo in your '/etc/pacman.conf' file.  (needed for the multilib libxml2 package, in my case)
2).  Run 'pacman -Syu' to pick up the multilib repo db.
3).  git clone and makepkg install the following in order:
  a).  libglade:  https://aur.archlinux.org/packages/libglade
    - 'git clone https://aur.archlinux.org/libglade.git'
    - 'makepkg -sricC'
  b).  cndrvcups-common-lb:  https://aur.archlinux.org/packages/cndrvcups-common-lb
    - 'git clone https://aur.archlinux.org/cndrvcups-common-lb.git'
    - 'makepkg -sricC'
  c).  cndrvcups-lb:  https://aur.archlinux.org/packages/cndrvcups-lb
    - 'git clone https://aur.archlinux.org/cndrvcups-lb.git'
    - 'makepkg -sricC'
4).  If you don't already have cups, get it via pacman.
  - 'sudo pacman -S cups'
  I also added the following optional dependencies, just in case...
  - 'sudo pacman -S ghostscript foomatic-db foomatic-db-engine foomatic-db-nonfree antiword docx2txt logrotate'
5).  If you're like me, you will need to enable and start the cups service as well:
  - 'sudo systemctl enable cups'
  - 'sudo systemctl start cups'

Once I did this, gnome print settings fired up, an when I clicked on 'Add Printer', the Canon MF230 was auto-detected on the network.
Setup went off without a hitch, and I was able to successfully print a test page.

Hope this helps, and isn't too late to give you some value.
A little humor...

-- MWS

Last edited by mwsanders (2022-04-28 17:14:30)

Offline

#5 2022-03-26 12:25:02

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED] Canon ImageCLASS MF232w - not printing

Two comments

- pacman -Sy is useful only in very specific cases and will give problems otherwise . 
Please edit your post to use pacman -Syu in step 2 and pacman -S in step 4.

-
cndrvcups-lb and cndrvcups-common-lb  are legacy versions and only kept for printers that don't work with the maintained https://aur.archlinux.org/pkgbase/cnrdrvcups-lb

If you are 100% sure your printer doesn't work with the maintained version , please add it in https://wiki.archlinux.org/title/CUPS/P … lems#UFRII

Welcome to archlinux forums.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2022-03-31 15:37:53

Jack_Indaboks
Member
Registered: 2020-10-29
Posts: 3

Re: [SOLVED] Canon ImageCLASS MF232w - not printing

mwsanders wrote:

gnome print settings fired up, an when I clicked on 'Add Printer', the Canon MF230 was auto-detected on the network.
Setup went off without a hitch, and I was able to successfully print a test page.

Same here!

What worked: a combination of cndrvcups-lb-bin and the system-config-printer GUI.

Thanks!

Offline

Board footer

Powered by FluxBB