Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 31 Aug 2014, 02:49
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
Canon printer installation problems
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
frefel

Joined: 26 Feb 2009
Posts: 178
Location: Eugene, Ore., US

PostPosted: Sat 13 Jun 2009, 16:28    Post_subject:  Canon printer installation problems
Sub_title: MPlayer and Dillo also
 

This should be basic but I can't figure it out. Puppy 4.2, Thinkpad T22

In order to be able to print I need to install a driver for my Canon printer. I have obtained the driver and can install it in Ubuntu without a problem. In Puppy though it seems I need to install Dillo and pb_debianinstaller to do that. So I downloaded the Pet package for Dillo but get a long list of dependencies that it needs, but PackageManager doesn't offer me the option to add those. When I do a "dependency check" in PetGet Dillo is not listed as one of the apps. I have a Dillo icon in Menu but clicking on it does nothing so I'm assuming I somehow need to get those dependencies, but how?

A different problem for MPlayer: I downloaded it with Pet, checked for all dependencies -ok- but there is no Menu item for it. How can I get it up and running?

Thanks.

Edited_times_total
Back to top
View user's profile Send_private_message AIM 
rcrsn51


Joined: 05 Sep 2006
Posts: 9061
Location: Stratford, Ontario

PostPosted: Sat 13 Jun 2009, 16:43    Post_subject:  

What's the printer? Where did you get the driver?
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6683
Location: lisbon

PostPosted: Sat 13 Jun 2009, 21:18    Post_subject:  

I don't know why the install would require dillo but, if you want to install it, there is the older gtk1 based version, and the newer fltk2 release. For the missing library files, for the gtk1 version, see this thread. For the fltk2 version see here.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9061
Location: Stratford, Ontario

PostPosted: Sat 13 Jun 2009, 22:50    Post_subject:  

As far as I can tell, pb_debianinstaller uses Dillo as its GUI interface. But frefel doesn't need either to install a .deb package. Puppy has command line tools that will do the job instead.
Back to top
View user's profile Send_private_message 
frefel

Joined: 26 Feb 2009
Posts: 178
Location: Eugene, Ore., US

PostPosted: Sun 14 Jun 2009, 14:27    Post_subject:  

rcrsn51 - I'm not very familiar with any more than the most basic command functions but if I had the exact sequence I might be able to do it. I got the printer driver download from the Canon Australia site as recommended in the Ubuntu forums. The printer is an Canon MF4270 ImageClass. The driver download comes in a Debian format in 2 packages that Ubuntu installs easily with its built-in installer. I'm assuming the same driver will work for the Puppy kernel also.

muggins - I'll check those out if I can't figure out how to do the command line install.

Any ideas on bringing the installed MPlayer to the menu and opening it?
Back to top
View user's profile Send_private_message AIM 
rcrsn51


Joined: 05 Sep 2006
Posts: 9061
Location: Stratford, Ontario

PostPosted: Sun 14 Jun 2009, 20:24    Post_subject:  

First off, if you are using Puppy 4.2 with CUPS 1.4b, I would recommend that you "upgrade" to 4.2.1 with CUPS 1.3.10. This is the more stable version of CUPS, which makes it easier to work with.

You have probably observed that the download from Canon has both .deb and .rpm versions. You have also probably observed that the extraction program in Puppy 4.2.x won't open a .deb. But it is easier to get the installation scripts out of a .deb. So a manual approach is needed.

Since there are two packages, cndrvcups-common-xxx and cndrvcups-ufr2-xxx, you have to do everything twice.

1. Go to the folder where the .debs are saved and open a console by pressing the ~ key.

2. Type:
Code:
dpkg-deb -x cndrvcups-common_1.80-1_i386.deb /

This extracts the files from the package and copies them into your filesystem.

3. Now type:
Code:
dpkg-deb -e cndrvcups-common_1.80-1_i386.deb

Don't use a slash on this one! This creates a DEBIAN folder that contains the install scripts. The one you want is named postinst. Open a console and type:
Code:
sh postinst

This runs the post-install procedure.

4. Repeat the whole procedure with the second package cndrvcups-ufr2-uk_1.80-1_i386.deb

5. If every has worked correctly, run CUPS and add a printer from the Canon MF4200 series. I installed this myself to a phantom printer port and it looks OK.

Good luck.

Edit
To simplify the procedure, go here and get the "debbi" download. Then use it to install your two Canon packages:
Code:
debbi cndrvcups-common_1.80-1_i386.deb
debbi cndrvcups-ufr2-uk_1.80-1_i386.deb

Edited_times_total
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6683
Location: lisbon

PostPosted: Sun 14 Jun 2009, 20:50    Post_subject:  

frefel,

if the file you're wanting to convert is UFR_II_Printer_Driver_for_Linux_Driver_V180_uk_EN.tar.gz, then if you just extract it to a temporary location, then, in the extracted directory, you'll have a directory 32-bit_Driver. Within that directory are directories for Debian & RPM. If you just enter the Debian directory, click on the two .deb files, to open them with the archiver, then extract them to / , then their contents will be extracted to the correct locations.

You would then just have to go through with the cups configuration to use the right driver.

I'm going on this link:

http://ubuntuforums.org/showthread.php?t=1140724
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9061
Location: Stratford, Ontario

PostPosted: Sun 14 Jun 2009, 20:55    Post_subject:  

muggins wrote:
click on the two .deb files, to open them with the archiver, then extract them to /


rcrsn51 wrote:
You have also probably observed that the extraction program in Puppy 4.2.x won't open a .deb.


Take your pick.
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6683
Location: lisbon

PostPosted: Sun 14 Jun 2009, 21:24    Post_subject:  

@rcrsn51,

Thanks, I wasn't aware of that.
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9061
Location: Stratford, Ontario

PostPosted: Sun 14 Jun 2009, 21:33    Post_subject:  

The Xarchiver program in Puppy 4.2.x will open an RPM, but then you don't get to see the post-install script. Depending on the printer, it may be significant.
Back to top
View user's profile Send_private_message 
frefel

Joined: 26 Feb 2009
Posts: 178
Location: Eugene, Ore., US

PostPosted: Mon 15 Jun 2009, 16:53    Post_subject:  

rcrsn51 - your instructions are clear and concise and I think I'm almost there as now I'm getting a message "connecting to printer > network host 192.168.1.50 is busy". Looks like the computer and printer are communicating over the LAN but I'm not sure why the printer would be "busy" just turned on. I have not upgraded to Puppy 4.21 since an upgrade will be another project that I'd rather do after learning how to print. Maybe tho the 4.2 CUPS is causing the problem, as you implied.

Also is there a way to copy-paste script from your forum posting to RXVT?

This is also a great learning experience for use of the terminal as I have no idea how I would have gotten this far without your help.
Back to top
View user's profile Send_private_message AIM 
rcrsn51


Joined: 05 Sep 2006
Posts: 9061
Location: Stratford, Ontario

PostPosted: Mon 15 Jun 2009, 17:16    Post_subject:  

How is this printer connected to your network? What device URI did you use?

You can paste into an rxvt window by middle-clicking.
Back to top
View user's profile Send_private_message 
frefel

Joined: 26 Feb 2009
Posts: 178
Location: Eugene, Ore., US

PostPosted: Mon 15 Jun 2009, 23:34    Post_subject:  

It's an ethernet > hub > LAN connection.
I used "socket://192.168.1.50:9100". I got the IP address from my printer settings. I also used LPD/LPR instead of IPP since that was the recommendation for Ubuntu.
Back to top
View user's profile Send_private_message AIM 
rcrsn51


Joined: 05 Sep 2006
Posts: 9061
Location: Stratford, Ontario

PostPosted: Tue 16 Jun 2009, 07:40    Post_subject:  

Lots of sites I checked claim that this printer works with the socket:// protocol. Since it looks like you've got the correct IP address, I would wonder about the port number.

I simulated this with my own network printer by changing the 9100 to something else, and got a "busy" message.

Go to the printer's web interface or maybe its control panel and see if you can find the setting for the port number.
Back to top
View user's profile Send_private_message 
frefel

Joined: 26 Feb 2009
Posts: 178
Location: Eugene, Ore., US

PostPosted: Tue 16 Jun 2009, 19:49    Post_subject:  

Thanks to rcrsn51 I'm almost there.
I don't know what changed but, without making any intentional setting alterations, I can now print a test page from the CUPS wizard. However when I try to print something from AbiWord nothing happens. Do i need to associate it with the printer in some fashion?
And, by the way, the correct port setting is 9100 as viewed on my remote settings page thru the browser.
Back to top
View user's profile Send_private_message AIM 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Printers
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0759s ][ Queries: 11 (0.0066s) ][ GZIP on ]