LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-25-2019, 02:30 PM   #1
Dan Curtis
LQ Newbie
 
Registered: Mar 2014
Posts: 3

Rep: Reputation: Disabled
Installing canon UFRII ver 307 driver on Slackware 14.1


I'm running the 64-bit version of Slackware 14.1. I recently purchased a Canon MF244dw laser printer after confirming a linux driver for it was available from Canon.
I downloaded this driver's tar file. I untarred it into a directory owned by root. I converted the 64-bit rpm files to tar files using rpm2tar.gz. That worked. I used tar to unpack and install the packaged files. That worked.
CUPS found the printer.
I tried printing to it. All I get is a page with the message: Unable to open initial device, quitting.
Searching for reports of this problem turned up solutions that said that some 32-bit libraries were needed. Really? On a 64-bit system?
Can anybody give me some clarifcation of what's going on here? Anybody running 64-bit Slackware successfully installed this printer?

Here's my solution to this problem:
Not without a lot of trepidation, I downloaded and installed the multilib package per the instructions. Here are all the commands I used (running as root and starting in root's home directory):
cd
lftp -c 'open http://slackware.com/~alien/multilib/ ; mirror -c -e 14.1'
cd 14.1
upgradepkg --reinstall --install-new *.t?z
upgradepkg --install-new slackware64-compat32/*-compat32/*.t?z
They're right out of the multilib documentation. I ran them one at a time too make sure everything went right. Per the instructions, I rebooted to pick up the glibc upgrade. It turns out that's all I needed to do.
I ran some tests and confirmed to my satisfaction it can print ASCII text, Postscript, PDF, JPEG and png files. It also has no problem printing my LibreOffice documents.
Kudos to the folks who created and maintain the multilib package.

Last edited by Dan Curtis; 03-09-2019 at 12:59 PM. Reason: Added solution explanation
 
Old 02-25-2019, 09:43 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I looked up the error message and it seems to be a Ghostscript problem.
Maybe you have to set the default device and that's why it won't open?

https://ubuntuforums.org/showthread.php?t=2185583

Looking at this thread in post #2 you may need these 32-bit libraries. I think they come from multilib.

https://www.linuxquestions.org/quest...10#post5678510
Code:
libc6-i386 libxml2:i386 lib32z1 libjpeg62:i386 libstdc++6:i386
Further google searches suggest (leading me to clarification) that the problem is caused by missing dependencies of i386 packages.
https://unix.stackexchange.com/quest...uitting/328116

I would try to find what the command line is that cups is using to run Ghostscript, and try it outside the cups workflow.
https://www.linuxquestions.org/quest...itting-909342/

It might also be useful to look at /var/log/cups/access_log and error_log.

I recently installed a program on my Debian system and I saw APT pull in 32-bit lib's for it so yeah 32 bit lib's are needed in some cases for a 64-bit system.

Multilib for Slackware
https://docs.slackware.com/slackware:multilib
http://www.slackware.com/~alien/multilib/

Hope the information I found helps or at the very least gives you knowledge to be able to fix the issue.
 
  


Reply

Tags
slackware 14.1



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
network Canon iR2520 UFRII LT printer in Debian kde idle: waiting for printer to finish mshlinux Debian 3 04-26-2017 08:52 PM
Canon UFRII printer troubles wireshark Slackware 4 04-11-2016 09:21 AM
LXer: Slackware: 2013-307-01: mozilla-thunderbird: Security Update LXer Syndicated Linux News 0 11-05-2013 04:30 AM
Sound problem with tv-tuner AverTV Studio 307 XPinguin Linux - Hardware 3 07-27-2005 05:43 AM
Wireless Keyboard & Mouse (Sansun SN-307) Heart SUSE / openSUSE 9 01-22-2005 09:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:05 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