View previous topic :: View next topic |
Author |
Message |
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Tue Jun 04, 2002 6:59 pm Post subject: Printing trouble |
|
|
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 |
|
|
centermass n00b
Joined: 22 May 2002 Posts: 4
|
Posted: Wed Jun 05, 2002 2:59 pm Post subject: |
|
|
is cupsd running? |
|
Back to top |
|
|
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Wed Jun 05, 2002 7:18 pm Post subject: |
|
|
nope, I started it, now i just get this error
Code: | lp: unable to print file: server-error-service-unavailable |
|
|
Back to top |
|
|
centermass n00b
Joined: 22 May 2002 Posts: 4
|
Posted: Wed Jun 05, 2002 7:42 pm Post subject: |
|
|
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 |
|
|
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Thu Jun 06, 2002 2:17 am Post subject: |
|
|
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 |
|
|
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Thu Jun 06, 2002 3:03 am Post subject: |
|
|
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 |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Thu Jun 06, 2002 11:09 am Post subject: |
|
|
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,.... _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
|
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Thu Jun 06, 2002 5:42 pm Post subject: |
|
|
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 |
|
|
ckwall Apprentice
Joined: 31 May 2002 Posts: 163
|
Posted: Mon Jun 10, 2002 1:56 am Post subject: Epson Stylus color 777 |
|
|
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 |
|
|
gsfgf Veteran
Joined: 08 May 2002 Posts: 1266
|
Posted: Mon Jun 10, 2002 3:44 am Post subject: Re: Epson Stylus color 777 |
|
|
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 |
|
|
Rihkama n00b
Joined: 16 May 2002 Posts: 21 Location: Finland
|
Posted: Mon Jun 10, 2002 10:19 am Post subject: |
|
|
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 |
|
|
sulu Guru
Joined: 21 May 2002 Posts: 399 Location: Dornbirn/Austria
|
Posted: Mon Jun 10, 2002 10:54 am Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Mon Jun 10, 2002 1:32 pm Post subject: |
|
|
Make sure "Parallel printer support" (under Character Devices) is on. |
|
Back to top |
|
|
ckwall Apprentice
Joined: 31 May 2002 Posts: 163
|
Posted: Mon Jun 10, 2002 2:43 pm Post subject: |
|
|
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 |
|
|
ckwall Apprentice
Joined: 31 May 2002 Posts: 163
|
Posted: Tue Jun 11, 2002 12:24 am Post subject: Did not work |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Jun 11, 2002 1:41 am Post subject: |
|
|
Does /dev/lp0 exist? |
|
Back to top |
|
|
ckwall Apprentice
Joined: 31 May 2002 Posts: 163
|
Posted: Tue Jun 11, 2002 4:33 am Post subject: |
|
|
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 |
|
|
Slack006 Tux's lil' helper
Joined: 10 Jan 2003 Posts: 97 Location: Desert of AZ
|
Posted: Fri Feb 06, 2004 7:27 am Post subject: |
|
|
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 |
|
|
DarkMind Guru
Joined: 18 Dec 2003 Posts: 525 Location: Santiago, Chile
|
Posted: Wed Nov 30, 2005 12:07 am Post subject: |
|
|
same problem here |
|
Back to top |
|
|
Horatio Apprentice
Joined: 25 Feb 2004 Posts: 246 Location: Houston, TX
|
Posted: Wed Nov 07, 2007 11:16 pm Post subject: |
|
|
Maybe someone should have suggested
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 |
|
|
|