Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Printing will not work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ed-gentoo
n00b
n00b


Joined: 07 Jan 2003
Posts: 38
Location: Netherlands

PostPosted: Sat Feb 08, 2003 11:39 am    Post subject: Printing will not work Reply with quote

Hello. I have the following printers:

parallel printer Epson 880
usb printer Epson 810 (on usb hub)
cups, gimp-print-cups, and ghostprint
usbprinting modules, parallel print support in the kernel

Cups is working and starts at boot too. When I go to the administration page and add the epson 810 with corrosonding driver it is neatly visable on the printer page. It says /dev/usblp0 but it won't print. It stops at 6%. When I look in /dev there is no usblp0 but there is a empty folder usb, as well as a empty folder parralel. I can't make a parralel printer in cups for there is no option "parralel" in the pull down menu.

During the boot there are no visable errors. The usb hub is regonised and the it says usblp0 bidirectional ... (it goes to fast to read)

Questions are:
- how can I get a parralell printer configured using my cups
- how can I get usblp0

thanks in advance
_________________
Why Linux?

For I think it's the most interesting, stable, and configurable OS there is!
..... that's if you have the motivation!

(info about my computer systems can be found on my site under the link systems)
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20485

PostPosted: Sat Feb 08, 2003 8:14 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
kermitjunior
Apprentice
Apprentice


Joined: 04 Aug 2002
Posts: 167

PostPosted: Sun Feb 09, 2003 4:24 pm    Post subject: Same Problem... sort of Reply with quote

I'm going to recompile my kernel for good measure, but I'm certain I have parallel printer support compiled in. Cups runs great... shows everything fine. Weird part is there are about 7 Epson Stylus Color 900 listed in CUPS. I'm currently emerging -u world; emerge openoffice
so it could be awhile :)

BTW, I went through the entire Gentoo Printing Documentation and also the n00b's guide. No luck.
_________________
-----
Toshiba Satellite A15-S157, 2.2 Celery, 40GB, 512MB
AMD Athlon XP 1900+, 640MB PC2100, ABIT KG-7R
IBM 120GB (Linux), WD 30GB (WinDoze), ATI All-In-Wonder 128 Pro PCI
Back to top
View user's profile Send private message
sleek
n00b
n00b


Joined: 09 Jan 2003
Posts: 71

PostPosted: Sun Feb 09, 2003 6:35 pm    Post subject: Reply with quote

For the parallel printer you need to do this:

emerge ghostscript
emerge cups
emerge gimp-print-cups
emerge ghostscript

Yes, you need to do the ghostscript twice in that order. In the kernel enable these:

Parallel port support (compiled in)
PC Style Hardware (compiled in)

Character Devices -->
Parallel printer support (compiled in)

Save the configuration, then compile your kernel as usual. Reboot into the new kernel and then point your browser to http://localhost:631

Once you get there, click on Manage Printers. Then Add Printer. If you are asked to log in, use your root username and root password. From there you'll do this:

Name: Epson_Stylus-880
Location: /dev/lp0
Description: My cool parallel port printer

Device: Parallel Port #1 (Epson)

Make: Epson

Mode: EPSON Stylus Color 880, CUPS + GIMP-Print v4.3.5 (en)

Then print a Test Page.

If you've followed all these steps then you should have a nice pretty page printed on your printer.
_________________
Yesterday was the deadline for all complaints
Back to top
View user's profile Send private message
kermitjunior
Apprentice
Apprentice


Joined: 04 Aug 2002
Posts: 167

PostPosted: Tue Feb 11, 2003 6:31 pm    Post subject: Getting ready to give up. Reply with quote

sleek wrote:
For the parallel printer you need to do this:

If you've followed all these steps then you should have a nice pretty page printed on your printer.


Followed to the letter. Nothing. I tried unmerging all printer related stuff, etc. Nothing anymore. I'm hitting the 24 hr mark for printer crap and I'm actually about to give up on it. That means I'll have to wait another few months until I feel like dealing with gentoo again. :x
_________________
-----
Toshiba Satellite A15-S157, 2.2 Celery, 40GB, 512MB
AMD Athlon XP 1900+, 640MB PC2100, ABIT KG-7R
IBM 120GB (Linux), WD 30GB (WinDoze), ATI All-In-Wonder 128 Pro PCI
Back to top
View user's profile Send private message
sleek
n00b
n00b


Joined: 09 Jan 2003
Posts: 71

PostPosted: Wed Feb 12, 2003 4:27 am    Post subject: Reply with quote

In /etc/cups/cupsd.conf change the LogLevel configuration line to this:

LogLevel info

Then do:

/etc/init.d/cupsd restart

Now try to do all the instructions from my previous post and then try to print the test page.

/var/log/cups/error_log will contain any errors that cups has found

Perhaps they will help you solve your mystery problem ;-)
_________________
Yesterday was the deadline for all complaints
Back to top
View user's profile Send private message
ed-gentoo
n00b
n00b


Joined: 07 Jan 2003
Posts: 38
Location: Netherlands

PostPosted: Mon Feb 24, 2003 5:02 pm    Post subject: Reply with quote

I changed some things in the kernel. I know have the following when typing lsmod:

printer module loaded (unused)
usbcore module loaded 1 (printer)

what can I do now to get the printer to work?????
_________________
Why Linux?

For I think it's the most interesting, stable, and configurable OS there is!
..... that's if you have the motivation!

(info about my computer systems can be found on my site under the link systems)
Back to top
View user's profile Send private message
bLanark
Apprentice
Apprentice


Joined: 27 Aug 2002
Posts: 181
Location: Royal Berkshire, UK

PostPosted: Wed Mar 05, 2003 2:52 pm    Post subject: kernel modules to get /dev/lp0 ??? Reply with quote

Are you still having trouble? I have just got my old epson parallel printer working.

In the kernel, I have

Code:

CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m


I also have a module called "lp", I have no idea which kernel option builds this, possibly this one from .config:
Code:

CONFIG_PRINTER=m


Before I can print, I have to modprobe lp (I could autoload it, of course), which loads parport_pc, which loads parport.

Now I can copy a text file to the /dev/lp0 device
Code:

cp fee /dev/lp0


which shows that the printer is working OK.

Does this help you any?
_________________
.sig: access denied
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum