LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-29-2006, 08:21 AM   #1
boy3dfx2
LQ Newbie
 
Registered: May 2006
Posts: 14

Rep: Reputation: 0
Unhappy Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow


Hello

I am a newby to Linux in case you wondered .

I want to install the Canon LBP 2100 printer to a PC running Linux (Fedora core 1) all day long.

This PC is a server, and has been "inhereted" as is from a previous person.

I want others to be able to access this printer through the LAN. They can see the server.


Problems:
1.linux
2.usb printer (from what I know so far...this is problematic)
3.commands to make the connected printer act like a network printer seen by everybody in the LAN(like installing a network printer under Windows)...what programs do I need?


I'm really new at this so I would appreciate full syntax and a step by step guide.
IF this is not possible, just a step by step guide...and I will read what I can find on the net about each step.


Thank you
 
Old 05-29-2006, 09:43 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
USB shouldn't be a problem as long as you have support for it set up right. The big problem is finding a driver for your printer.

Unfortunately, support for Canon printers is rather poor in Linux because they don't like to release information about their hardware. A check on Linuxprinting.org shows no LBP2100, but there is a BJC2100 with partial support. I have no idea if these are the same or similar.

If you are able to find a driver that works with your printer, then you can set up print sharing with Samba. It can take a bit of work getting set up, but it's the best (only?) way to do print sharing with Windows systems.
 
Old 05-29-2006, 10:29 AM   #3
boy3dfx2
LQ Newbie
 
Registered: May 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Wink

My mistake...the printer is LBP2900.

I found a driver for it at Canon Europe: CAPT printer driver module 1.30 which gives a detailed step to step for my driver...

I can see that I have a Samba on this PC...hovever I don't know what version.

Where should I insert the printer configuration in Samba?

Thanks
 
Old 05-29-2006, 11:38 AM   #4
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
First of all, you need to make sure the CUPS printing program is installed on your computer. Type:

rpm-q cups

If it is installed it will return the version number.

If cups is installed, you can add your printer (after the correct drivers are installed), from the command line like the following example. The name I have used for printer and the IP address are for demonstration purposes. You will name your printer and use the correct IP address of your printer.
The printer port is usually 631, so I will use that in this example, but the actual port may be different on your machine. For this example, your IP address for the printer is 192.168.1.200. So the network address of the printer is:

//192.168.1.200:631

1. While logged in to the system as root, launch a terminal and list the printer queues that are configured on the system. Use the following:

lpstat
(name of your printer) accepting requests since Jan 01 00:00

2. Issue the lpadmin command to add the printer. The entire command is long because of all its options, so it spans several lines in this example:

[root@server ~]#lpadmin -p "myprintername" -E \
-v socket://192.168.1.200 \
-p /usr/share/cups/model/yourprinter \
-L "location of the printer"

3. Use the lpstat command again to list the printers:

lpstat -a
The just-added printer should now be listed

4. You must now add the printer to each client on the network. If they are all Windows computers, this is done from the PRINTERS section in the control panel to add a network printer using the address 192.168.1.200:631.

This sets your printer up as a network printer from the command line.

Hope this helps

Bob
 
Old 05-31-2006, 01:06 PM   #5
boy3dfx2
LQ Newbie
 
Registered: May 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Unhappy

Hello

What you described above was also in Canon's documentation.

However I faced a problem before that step.



1.The actual driver's instalation from Canon has a requirement for previous instalation of the common file:

cndrvcups-common-1.30-1.i386.rpm

This RPM requires gtk+
libgdk.1.20.so.0
libgtk.1.20.so.0

The driver:

cndrvcups-capt-1.30-1.i386.rpm

requires beside that:
cups >=1.30 (and I had installed 1.1.12)
libcaepcm.so.1
libcaiowrap.so

2.The documentation from Canon said that I should get something called Ghostscript module from the website of the operating system's distribuitor before installing the common rpm and the actual driver...Do anyone of the above missing modules belong to this Ghostscript? As I read today gtk+ belonged to a graphical GIMP library..


Questions:
1.What should I do?

2.Get ghostscipt? or try to find those particular modules described above?

3.How can I find out the Fedora version from a terminal? Is there something like ver in MSDOS?

4.Where can I get what I need?...I looked at fedora core's page with updates but did not find anyone of the above...even the gtk+ package?

5. I was looking for rpm packages...Was this wrong? Should I look for sources? and after that..What compiler should I use on the sources? gcc for each file? makefile?

Thanks...hope somebody can answer to some of theese...because I'm quite confused.
 
Old 06-03-2006, 01:23 PM   #6
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Sorry for not responding quickly.

These are just dependencies. You'll run into that a lot when you install software. What you need to do is find out which packages contain the files you need and install them first. I don't use an rpm-based system, so I can't tell you exactly how to to that, but it probably isn't that hard to do. There must be a command or program somewhere, maybe in YUM, that you can use to search packages for the files they contain. Or try the internet if nothing else works. I'm sure that someone here with more knowledge of rpm can point you in the right direction.

I'm pretty sure though that gtk+ will have its own package somewhere, as it's one of the big libraries used in Linux systems. It's the whole foundation for gnome, after all. But gnome now uses version 2.0, whereas this package is asking for the older version 1.2. There are big differences between the two, meaning the newer version won't work for older programs, so it looks you'll have to have both installed (that shouldn't be a problem).

Once you have the dependencies installed, then you should be able to install the printer packages without trouble.

I believe "cat /proc/version" will give you your distribution information.

As for source, you could of course go that way instead, but you'd still have to deal with the dependencies, so it wouldn't save you any trouble. Save that option as a last resort.
 
  


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
please help with installing Canon Image Class D780 printer on Fedora Core babyboss Linux - Hardware 0 03-03-2006 02:50 PM
Installing printer Lexmark Z602 on Fedora Core 2 ?? aala_yo Linux - Software 3 06-02-2005 06:50 AM
Using a printer (Canon LBP-800) Lead Expression Linux - Newbie 3 01-15-2005 02:20 PM
Fedora Core 3 + Vmware + USB Printer gloom Fedora 1 12-03-2004 06:30 AM
I can't install Canon LBP-810 printer. wood Linux - General 1 09-22-2003 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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