Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Printing trouble
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
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Tue Jun 04, 2002 6:59 pm    Post subject: Printing trouble Reply with quote

Cannon S300
turboprint driver
cups

When i try to print a test psge w/ turboprint i get this error:
Code:
lp: unable to print file: server-error-service-unavailable


What does it maen and what do i do to correct it. i have lp installed, and ran lprsetup. I didn't use the sample printcap b/c i have turboprint.

Whenever i make changes w/ turboprint i get this error
Code:

lpadmin: Unable to connect to server: Connection refused
lpadmin: Unable to connect to server: Connection refused
Back to top
View user's profile Send private message
centermass
n00b
n00b


Joined: 22 May 2002
Posts: 4

PostPosted: Wed Jun 05, 2002 2:59 pm    Post subject: Reply with quote

is cupsd running?
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Wed Jun 05, 2002 7:18 pm    Post subject: Reply with quote

nope, I started it, now i just get this error
Code:
lp: unable to print file: server-error-service-unavailable
Back to top
View user's profile Send private message
centermass
n00b
n00b


Joined: 22 May 2002
Posts: 4

PostPosted: Wed Jun 05, 2002 7:42 pm    Post subject: Reply with quote

i haven't used turboprint, so i can't comment on that, but......


can you bring up localhost:631 in your browser?

if so, have you defined a printer?

if so, what do your cups logs say? (/var/log/cups/*)

i used cups for a while, had some weird errors from time to time, so i ended up using pdq, which i find a little more reliable. (no local printer que, just fires it off at the printer)

not a problem yet.
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Thu Jun 06, 2002 2:17 am    Post subject: Reply with quote

I can get to localhost:631, but i don't have a printer defined. How would i define a printer for CUPS. I'm not familiar w/ cups. All i have used is LPR(?) w/ BSD.[/code]
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Thu Jun 06, 2002 3:03 am    Post subject: Reply with quote

Hmm...the first step in setting up cups is lpstat -p -d.

Code:
lpstat -p -d
no system default destination

damn.
What do i do now?
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Thu Jun 06, 2002 11:09 am    Post subject: Reply with quote

Install a printer and set it as default, pretty straight forward with localhost:631. worked for me (well I use gimp-print-cups, better driver for my HP LaserJet).

Just choose Do Admin job and add a printer. simple.... or just manage printers, even simpler,.... :wink:
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Thu Jun 06, 2002 5:42 pm    Post subject: Reply with quote

OK i did that and CUPS detected turboprint. WHen i print test page from cups i get this error.
Code:

"Unable to open USB port device file "/dev/usb/lp0": No such device"
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Mon Jun 10, 2002 1:56 am    Post subject: Epson Stylus color 777 Reply with quote

I am having the same problems. In my localhost:631 printer admin, my printer is listed, but the following comments are added:

Description: Color_Printer
Location: Desktop
Printer State: stopped, accepting jobs.
"Unable to open parallel port device file "/dev/unknown-parallel0": No such file or directory"
Device URI: parallel:/dev/unknown-parallel0
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Mon Jun 10, 2002 3:44 am    Post subject: Re: Epson Stylus color 777 Reply with quote

ckwall wrote:
I am having the same problems. In my localhost:631 printer admin, my printer is listed, but the following comments are added:

Description: Color_Printer
Location: Desktop
Printer State: stopped, accepting jobs.
"Unable to open parallel port device file "/dev/unknown-parallel0": No such file or directory"
Device URI: parallel:/dev/unknown-parallel0


it apperas to be looing for the paralell port at /dev/unknown-parallel0. change that to what it should be. I don't have paralell port enabled, but i doubt thats right. look in /dev/ for a better device.
Back to top
View user's profile Send private message
Rihkama
n00b
n00b


Joined: 16 May 2002
Posts: 21
Location: Finland

PostPosted: Mon Jun 10, 2002 10:19 am    Post subject: Reply with quote

I am having same problem as ckwall.

When trying to print test page from CUPS administration I get this error msg:

Code:

Unable to open parallel port device file "/dev/unknown-parallel0


When I check /dev there isn't unknow-parallel0 device or lp0 device or any similar devices.

I have compiled parallel support to kernel with following options:

<*> Parallel port support
<*> PC-style hardware
<*> Multi-IO cards (parallel and serial) (probably unneeded?)
[*] IEEE 1284 transfer modes

I have enabled parallel port in bios and if I remember correctly, ports transfer mode is ECP.

Canon S400
Abit-BP6 (Dual Celeron 400)

Any suggestions what could be wrong?
Back to top
View user's profile Send private message
sulu
Guru
Guru


Joined: 21 May 2002
Posts: 399
Location: Dornbirn/Austria

PostPosted: Mon Jun 10, 2002 10:54 am    Post subject: Reply with quote

Uhm.

As far as i remember i had to turn on an additional kernel-option for support of parallel-port-printing. Maybe it's located in the General Section in the kernel-config but dont know exactly anymore because of severe brain-leaking.

cya
Sulu
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 10, 2002 1:32 pm    Post subject: Reply with quote

Make sure "Parallel printer support" (under Character Devices) is on.
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Mon Jun 10, 2002 2:43 pm    Post subject: Reply with quote

There is a pretty good chance that I do not have the "Parallel printer support" under Character Devices enabled. I do not have access to my kernel at this time, but I will check that and reply to this thread.

This very well could be the problem. Thanks for the advice.
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Tue Jun 11, 2002 12:24 am    Post subject: Did not work Reply with quote

This did not seem to make a difference.

Description: Color Printer
Location: Desktop
Printer State: stopped, accepting jobs.
"Unable to open parallel port device file "/dev/unknown-parallel0": No such file or directory"
Device URI: parallel:/dev/unknown-parallel0
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Jun 11, 2002 1:41 am    Post subject: Reply with quote

Does /dev/lp0 exist?
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Tue Jun 11, 2002 4:33 am    Post subject: Reply with quote

No. it does not exist. I apologize if this is a stupid thing. Can someone help me with this? I am extreemly new to Linux.

Thank you in advance.
Back to top
View user's profile Send private message
Slack006
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2003
Posts: 97
Location: Desert of AZ

PostPosted: Fri Feb 06, 2004 7:27 am    Post subject: Reply with quote

Try
Code:
# modprobe paraport
# modprobe paraport_pc


You have to make sure you have those items configured as modules in your kernel. You may have them configured directly into the kernel in which case they should just work... If you've never configured your kernel, you should really look into that first as it is a skill you should probably have before most everything else you learn in linux. :) Hope this helps. :)
_________________
Slack

May the SOURCE be with you...
Back to top
View user's profile Send private message
DarkMind
Guru
Guru


Joined: 18 Dec 2003
Posts: 525
Location: Santiago, Chile

PostPosted: Wed Nov 30, 2005 12:07 am    Post subject: Reply with quote

same problem here
Back to top
View user's profile Send private message
Horatio
Apprentice
Apprentice


Joined: 25 Feb 2004
Posts: 246
Location: Houston, TX

PostPosted: Wed Nov 07, 2007 11:16 pm    Post subject: Reply with quote

Maybe someone should have suggested
Code:

modprobe lp

only after that command, when you use udev, should
you see the device file for your printer, i.e. /dev/lp0.
The lp module must be what your printer system, i.e.
cups, is communicating with when it sets a port through
a device file( /dev/lp0).
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