SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
download the most up2date Canon UFRII printer drivers from their website [1]
tried at first with the provided RPM packages, converting them using rpm2txz
used ldd to verify, that all installed binaries had their dependencies solved
added the printer to cups, using system-config-printers and choosing the displayed UFRII driver
unsuccessfully tried to print a testpage, showing me some error messages related to permissions.
subsequently worked through the system-config-printers troubleshooter and fixed the revealed permission errors
retried to print, no success again, even though system-printer-config claimed that the print had been successful (and displayed the fitting notifications).
uninstalled the txz packages from step #2 and compiled the driver from source
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 )
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?
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.