LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-11-2016, 03:15 AM   #1
wireshark
LQ Newbie
 
Registered: Nov 2015
Distribution: slackware, Debian, Fedora
Posts: 9

Rep: Reputation: Disabled
Canon UFRII printer troubles


Hi,

I own a Canon i-sensys MF8330cdn printer, that unfortunately only supports UFRII-LT as a printer language.

Now Canon has linux printing support for this printer, too, but I am unable to make the printer do anything in slackware

In general, I am quite familiar with cups etc, but this time I am out of further ideas. Here's what I did so far on my slackware current box:
  1. download the most up2date Canon UFRII printer drivers from their website [1]
  2. tried at first with the provided RPM packages, converting them using rpm2txz
  3. used ldd to verify, that all installed binaries had their dependencies solved
  4. added the printer to cups, using system-config-printers and choosing the displayed UFRII driver
  5. unsuccessfully tried to print a testpage, showing me some error messages related to permissions.
  6. subsequently worked through the system-config-printers troubleshooter and fixed the revealed permission errors
  7. retried to print, no success again, even though system-printer-config claimed that the print had been successful (and displayed the fitting notifications).
  8. uninstalled the txz packages from step #2 and compiled the driver from source
  9. same results

I've enabled cups debugging, and here's what such an unsuccessful test looks like:

Code:
D [10/Apr/2016:15:53:15 +0200] [Job 32] 4 filters for job:
D [10/Apr/2016:15:53:15 +0200] [Job 32] bannertopdf (application/vnd.cups-pdf-banner to application/pdf, cost 32)
D [10/Apr/2016:15:53:15 +0200] [Job 32] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [10/Apr/2016:15:53:15 +0200] [Job 32] pdftops (application/vnd.cups-pdf to application/vnd.cups-postscript, cost 100)
D [10/Apr/2016:15:53:15 +0200] [Job 32] pstoufr2cpca (application/vnd.cups-postscript to printer/Canon-MF8300-UFRII-LT, cost 0)
D [10/Apr/2016:15:53:15 +0200] [Job 32] job-sheets=none,none
D [10/Apr/2016:15:53:15 +0200] [Job 32] argv[0]="Canon-MF8300-UFRII-LT"
D [10/Apr/2016:15:53:15 +0200] [Job 32] argv[1]="32"
D [10/Apr/2016:15:53:15 +0200] [Job 32] argv[2]="root"
D [10/Apr/2016:15:53:15 +0200] [Job 32] argv[3]="Test Page"
D [10/Apr/2016:15:53:15 +0200] [Job 32] argv[4]="1"
D [10/Apr/2016:15:53:15 +0200] [Job 32] argv[5]="job-uuid=urn:uuid:1d3a9b04-a63e-3a3e-7f5f-7fd24908b1d0 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1460296395 time-at-processing=1460296395"

[...]

D [10/Apr/2016:15:53:15 +0200] [Job 32] argv[6]="/var/spool/cups/d00032-001"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[5]="CUPS_SERVERBIN=/usr/lib64/cups"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[8]="HOME=/var/spool/cups/tmp"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[9]="PATH=/usr/lib64/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[10]="SERVER_ADMIN=root@artio"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[11]="SOFTWARE=CUPS/2.1.3"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[13]="USER=root"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[14]="CUPS_MAX_MESSAGE=2047"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[17]="IPP_PORT=631"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[18]="CHARSET=utf-8"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[19]="LANG=en_US.UTF-8"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[20]="PPD=/etc/cups/ppd/Canon-MF8300-UFRII-LT.ppd"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[21]="RIP_MAX_CACHE=128m"
D [10/Apr/2016:15:53:15 +0200] [Job 32] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner"

[...]

D [10/Apr/2016:15:53:15 +0200] [Job 32] pstoufr2cpca start.
D [10/Apr/2016:15:53:15 +0200] [Job 32] prtGeneralCurrentLocalization type is 5, expected 2!
D [10/Apr/2016:15:53:15 +0200] [Job 32] backendWaitLoop(snmp_fd=6, addr=0x559b1035a238, side_cb=0x559b0fa85330)
D [10/Apr/2016:15:53:15 +0200] [Job 32] PDF template file doesn\'t have form. It\'s okay.
D [10/Apr/2016:15:53:15 +0200] [Job 32] PID 11475 (/usr/lib64/cups/filter/bannertopdf) exited with no errors.
D [10/Apr/2016:15:53:15 +0200] [Job 32] PID 11476 (/usr/lib64/cups/filter/pdftopdf) exited with no errors.
D [10/Apr/2016:15:53:15 +0200] [Job 32] Printer make and model: Canon mf8300
D [10/Apr/2016:15:53:15 +0200] [Job 32] Running command line for pstops: pstops 32 root \'Test Page\' 1 \'job-uuid=urn:uuid:1d3a9b04-a63e-3a3e-7f5f-7fd24908b1d0 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1460296395 time-at-processing=1460296395\'
D [10/Apr/2016:15:53:15 +0200] [Job 32] Using image rendering resolution 600 dpi
D [10/Apr/2016:15:53:15 +0200] [Job 32] Running command line for gs: gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=ps2write -sOUTPUTFILE=%stdout -dLanguageLevel=3 -r600 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE -c \'save pop\' -f /var/spool/cups/tmp/02cd557179e00
D [10/Apr/2016:15:53:15 +0200] [Job 32] Started filter gs (PID 11480)
D [10/Apr/2016:15:53:15 +0200] [Job 32] Started filter pstops (PID 11481)

[...]

D [10/Apr/2016:15:53:17 +0200] [Job 32] Page = 595x842; 14,14 to 581,828
D [10/Apr/2016:15:53:17 +0200] [Job 32] slow_collate=0, slow_duplex=0, slow_order=0
D [10/Apr/2016:15:53:17 +0200] [Job 32] Before copy_comments - %!PS-Adobe-3.0
D [10/Apr/2016:15:53:17 +0200] [Job 32] %!PS-Adobe-3.0
D [10/Apr/2016:15:53:17 +0200] [Job 32] %%BoundingBox: 0 0 595 842
D [10/Apr/2016:15:53:17 +0200] [Job 32] %%HiResBoundingBox: 0 0 595.00 842.00
D [10/Apr/2016:15:53:17 +0200] [Job 32] %%Creator: GPL Ghostscript 907 (ps2write)
D [10/Apr/2016:15:53:17 +0200] [Job 32] %%LanguageLevel: 2
D [10/Apr/2016:15:53:17 +0200] [Job 32] %%CreationDate: D:20160410155315+02\'00\'
D [10/Apr/2016:15:53:17 +0200] [Job 32] %%Pages: 1
D [10/Apr/2016:15:53:17 +0200] [Job 32] %%EndComments
D [10/Apr/2016:15:53:17 +0200] [Job 32] Before copy_prolog - %%BeginProlog
D [10/Apr/2016:15:53:17 +0200] [Job 32] Before copy_setup - %%Page: 1 1
D [10/Apr/2016:15:53:17 +0200] [Job 32] Before page loop - %%Page: 1 1
D [10/Apr/2016:15:53:17 +0200] [Job 32] Copying page 1...
D [10/Apr/2016:15:53:17 +0200] [Job 32] pagew = 566.9, pagel = 813.5
D [10/Apr/2016:15:53:17 +0200] [Job 32] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842
D [10/Apr/2016:15:53:17 +0200] [Job 32] PageLeft = 14.2, PageRight = 581.1
D [10/Apr/2016:15:53:17 +0200] [Job 32] PageTop = 827.8, PageBottom = 14.3
D [10/Apr/2016:15:53:17 +0200] [Job 32] PageWidth = 595.0, PageLength = 842.0
D [10/Apr/2016:15:53:17 +0200] [Job 32] opvpOpenPrinter(410)
D [10/Apr/2016:15:53:17 +0200] [Job 32] Can\'t exec driver program
D [10/Apr/2016:15:53:17 +0200] [Job 32] Can\'t receive READY message
D [10/Apr/2016:15:53:17 +0200] [Job 32] Connecting to 172.20.20.251:9100
I [10/Apr/2016:15:53:17 +0200] [Job 32] Connecting to printer.
[...]
D [10/Apr/2016:15:53:17 +0200] [Job 32] Set job-printer-state-message to "Connected to printer.", current level=INFO
D [10/Apr/2016:15:53:17 +0200] [Job 32] Connected to 172.20.20.251:9100...
D [10/Apr/2016:15:53:17 +0200] [Job 32] backendRunLoop(print_fd=0, device_fd=7, snmp_fd=6, addr=0x559b1035a238, use_bc=1, side_cb=0x559b0fa85330)

[...]

D [10/Apr/2016:15:53:17 +0200] [Job 32] PID 11478 (/usr/lib64/cups/filter/pstoufr2cpca) did not catch or ignore signal 13.
D [10/Apr/2016:15:53:17 +0200] [Job 32] STATE: +cups-waiting-for-job-completed

[...]

D [10/Apr/2016:15:53:17 +0200] [Job 32] Wrote 1 pages...
D [10/Apr/2016:15:53:17 +0200] [Job 32] PID 11481 (pstops) exited with no errors.
D [10/Apr/2016:15:53:17 +0200] [Job 32] PID 11480 (gs) exited with no errors.
D [10/Apr/2016:15:53:17 +0200] [Job 32] PID 11477 (/usr/lib64/cups/filter/pdftops) exited with no errors.
D [10/Apr/2016:15:53:17 +0200] [Job 32] PID 11479 (/usr/lib64/cups/backend/socket) exited with no errors.
The "best" I can see from there is the

D [10/Apr/2016:15:53:17 +0200] [Job 32] Can\'t exec driver program

line, but unfortunately neither google nor searching the forum brings up anything useful ...

So many anybody else has an idea (besides never ever buying a printer that does not support any out-of-the-box printer languages )


[1] http://www.canon-europe.com/support/...inux%20(64-bit)

Last edited by wireshark; 04-11-2016 at 03:18 AM. Reason: added slackware version
 
Old 04-11-2016, 03:52 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
The error_log looks ok to me at first glance (apart from what you already noted). As you're familiar with CUPS I doubt there's a problem with configuration, but can you show us the configured printer URI just in case?
Code:
lpstat -t
Just in case this thread is in any way helpful

https://forums.linuxmint.com/viewtopic.php?t=131342

Last edited by ferrari; 04-11-2016 at 03:54 AM.
 
Old 04-11-2016, 04:07 AM   #3
wireshark
LQ Newbie
 
Registered: Nov 2015
Distribution: slackware, Debian, Fedora
Posts: 9

Original Poster
Rep: Reputation: Disabled
here's the output:

Code:
lpstat -t
scheduler is running
system default destination: Canon-MF8300C-UFRII-LT
device for Canon-MF8300C-UFRII-LT: socket://172.20.20.251:9100
Canon-MF8300C-UFRII-LT accepting requests since Mon 11 Apr 2016 10:09:23 AM CEST
printer Canon-MF8300C-UFRII-LT is idle.  enabled since Mon 11 Apr 2016 10:09:23 AM CEST
	Waiting for printer to finish.
Right now, I've connected the printer through a RAW socket, but I've also tried with LPD, to no avail

The link you sent me however looks interesting, thanks!

It seems to indicate that the Canon drivers, even though being 64bit, require some 32bit libs. I'll try to add the same 32bit libs to my slackware box and see what happens
 
Old 04-11-2016, 04:42 AM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
It seems to indicate that the Canon drivers, even though being 64bit, require some 32bit libs. I'll try to add the same 32bit libs to my slackware box and see what happens
Yes, it's old software so could well be the case. Might explain why I've seen vague references to (mostly Debian users) symlinking /usr/lib to /usr/lib64 and in that linked page where user sgaggerj mentions
Quote:
# Create a link to /usr/lib64 which doesn't exist on my install.
sudo ln -s /usr/lib /usr/lib64

# not sure if this was required or not - but it seemed to help.
sudo apt-get install ia32-libs
Good luck with this.
 
Old 04-11-2016, 09:21 AM   #5
Qury
Member
 
Registered: Feb 2004
Location: Naas,IE
Distribution: Slackware
Posts: 212

Rep: Reputation: 184Reputation: 184
Hi,

I also had to connect to Canon printers at work, the only packages i had to install were the below RPM's.

I've installed them using rpm -Uvh *.rpm instead of converting them to slackware packages.

cndrvcups-ufr2-uk-3.10-1.x86_64
cndrvcups-common-3.40-1.x86_64


Once they were installed i was able to set up the printers using CUPS.

Regards
Ferenc
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where do find printer driver for canon iP7220 printer running on LINUX 14.0 Leslie Matthews Linux - Newbie 4 06-10-2015 08:01 PM
Ubuntu 12.04 LTS installed, Asus laptop, Canon printer & Canon scanner not working. EatonWF Linux - Newbie 2 07-12-2012 10:44 AM
CUPS and Canon MP190 printer. Print quality and printer sharing... SFGAirborne Linux - Hardware 1 12-14-2010 05:55 AM
Printer troubles - I can't delete my existing printer BobNutfield Slackware 1 04-15-2009 02:28 PM
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration