Autor |
Nachricht |
|
Titel:
Verfasst am: 13.06.2006, 11:14 Uhr
|
|
Anmeldung: 09. Aug 2004
Beiträge: 121
Wohnort: Brisbane Australia
|
|
anticapitalista hat folgendes geschrieben::
Did you do this:
Afterwards you might also change /etc/cups/cups.d/ports.conf this way:
Code:
Listen localhost:631
# Listen /var/run/cups/cups.sock
after re-installing cupsys?
Yep. My file had both those lines active. I commented out the file socket but it made no difference.
To drb, mine is a clean Easter RC4 install updated frequently since in the normal manner. I remember the Printer menu item disappearing but have not had an actual problem with my (parallel) printer until a few days ago after an update. Seems to me cups has changed in some new way which KDE needs to re-negotiate? |
|
|
|
|
 |
|
Titel:
Verfasst am: 13.06.2006, 11:38 Uhr
|
|
Anmeldung: 30. Nov 2005
Beiträge: 91
|
|
Anyone else using a parallel port printer?
If so then after you boot up look in /dev. Do you have a lp0 file?
I don't!! |
|
|
|
|
 |
|
Titel:
Verfasst am: 13.06.2006, 12:58 Uhr
|
|
Anmeldung: 30. Nov 2005
Beiträge: 91
|
|
OK. I'm getting somewhere!!
Typing lsmod in the console reveals that the lp module is not loaded at boot time.
Typing modprobe lp (as root) brings the printer back online. Hooray!
Now I have to find out howto ensure the lp module is loaded at boot time.
Anyone have a quick rundown on auto loading kernel modules before I start googling? |
|
|
|
|
 |
|
Titel:
Verfasst am: 13.06.2006, 14:37 Uhr
|
|

Anmeldung: 27. Jun 2005
Beiträge: 258
|
|
drb hat folgendes geschrieben::
Is the ongoing print problem associated with the starting point? Mine was 2005-04; is it starting with Easter-RC4 or Cebit that's causing the problems? Or, as just noticed on another thread, is this just a parallel port printer problem?
Not just parallel port: my USB printer does not work. problem seems to be cups or maybe KDE. actually, i have a multifunction scanner/printer and while the printer function does not work and i get cups errors (see my post above) - the scanner function OF THE SAME UNIT (epson cx3200) works fine.
As for starting point: my starting point is Easter-RC2, but I use an older kernel (2.6.15-6-kanotix-1) due to wireless compatibility issues. I dist-upgrade about every day or two. |
|
|
|
|
 |
|
Titel:
Verfasst am: 14.06.2006, 08:40 Uhr
|
|

Anmeldung: 29. Mar 2005
Beiträge: 96
Wohnort: Terra
|
|
|
|
 |
|
Titel:
Verfasst am: 14.06.2006, 15:09 Uhr
|
|
Anmeldung: 03. Jan 2006
Beiträge: 10
|
|
I've solved my problem.
I purged cups and reinstalled all packages removed. I am using the new cupsd.conf file.
I turned on debug and looked through the cups error log file. Googling on "LPGETSTATUS returned a port status of 08", I found this forum thread:
http://www.easysw.com/~mike/cups/str.ph ... C0+I0+E0+Q
I couldn't get cups to accept this uri type. So I hand edited printers.conf replacing the "usb://MINOLTA ... blah .. blah" DeviceURI with "file:/dev/usb/lp0".
(Note: only one slash after the "file:") "/dev/usb/lp0" is the location of my USB printer.
I'm not sure why this works but I hope this helps others. |
|
|
|
|
 |
|
Titel:
Verfasst am: 15.06.2006, 04:31 Uhr
|
|

Anmeldung: 27. Jun 2005
Beiträge: 258
|
|
greybeard hat folgendes geschrieben::
I've solved my problem.
. . .
I hand edited printers.conf replacing the "usb://MINOLTA ... blah .. blah" DeviceURI with "file:/dev/usb/lp0". (Note: only one slash after the "file:") "/dev/usb/lp0" is the location of my USB printer.
I'm not sure why this works but I hope this helps others.
THANK YOU!!! editing printers.conf did the trick!!! |
|
|
|
|
 |
|
Titel:
Verfasst am: 16.06.2006, 05:52 Uhr
|
|
Anmeldung: 12. Sep 2005
Beiträge: 130
|
|
Thanks, gardyloo...http://localhost:631/printers/ worked for me!  |
_________________ "All that is not given is lost."
|
|
|
|
 |
|
Titel:
Verfasst am: 16.06.2006, 22:24 Uhr
|
|
Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
|
|
I still can't print. I tried hubi's suggestion & went to install my printer & get an authorization dialog asking for my username & password & I entered root as username & password & it worked. I still couldn't print until I disabled "Set As Local Default" which is now greyed out. I WAS then able to print a test page, but I still get the message when trying to print with Kate. "An error occurred while retrieving the printer list:
Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: host not found"
Local Parallel Printer
Device: parallel:/dev/lp0
URI: ipp:/worldsend:631/printers/EpsonC60
Type: DB driver
Manufacturer: EPSON
Model: Stylus C60
Description: Epson Stylus C60 - CUPS+Gutenprint v5.0.0-rc3 [English]
Server: localhost 631
root@WorldsEnd:/home/joyboy# apt-cache policy cupsys
cupsys:
Installed: 1.2.1-2
I don't know what else to do. This should be in the News section too, I think. Something's definately screwy about this. |
_________________ illegitimati non carborundum
|
|
|
|
 |
|
Titel:
Verfasst am: 17.06.2006, 00:58 Uhr
|
|

Anmeldung: 27. Jun 2005
Beiträge: 258
|
|
maybe try greybeard's suggestion, substituting "parallel" for "usb" |
|
|
|
|
 |
|
Titel:
Verfasst am: 17.06.2006, 02:48 Uhr
|
|
Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
|
|
jiro:
Do mean to edit the 6th line "DeviceURI parallel:/dev/lp0" to read
"DeviceURI parallel:/dev/parallel/lp0" ? Below is my file. Thanks, kurt
root@WorldsEnd:/home/joyboy# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.2.1
# Written by cupsd on 2006-06-16 14:04
<DefaultPrinter EpsonC60>
Info EPSON Stylus C60
Location
DeviceURI parallel:/dev/lp0
State Idle
StateTime 1150491694
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer> |
_________________ illegitimati non carborundum
|
|
|
|
 |
|
Titel:
Verfasst am: 17.06.2006, 02:49 Uhr
|
|

Anmeldung: 10. Dez 2004
Beiträge: 597
Wohnort: Schleswig-Holstein
|
|
greybeard hat folgendes geschrieben::
So I hand edited printers.conf replacing the "usb://MINOLTA ... blah .. blah" DeviceURI with "file:/dev/usb/lp0".
My hero The address in my /etc/cups/printer.conf said usb:/dev/usb/lp0. After I replaced "usb" with "file" my printer now works like a charm. Thanks  |
_________________ Linux-Userin #213445
LastFM-Musikstatistik für Kanoten
Kanotix, siduction, Kubuntu, antiX
|
|
|
|
 |
|
Titel:
Verfasst am: 17.06.2006, 06:18 Uhr
|
|

Anmeldung: 27. Jun 2005
Beiträge: 258
|
|
2radical hat folgendes geschrieben::
jiro:
Do mean to edit the 6th line "DeviceURI parallel:/dev/lp0" to read
"DeviceURI parallel:/dev/parallel/lp0" ? Below is my file. Thanks, kurt
root@WorldsEnd:/home/joyboy# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.2.1
# Written by cupsd on 2006-06-16 14:04
<DefaultPrinter EpsonC60>
Info EPSON Stylus C60
Location
DeviceURI parallel:/dev/lp0
. . .
</Printer>
hmmm... seems like what you can try is to edit that line to read:
DeviceURI file:/dev/lp0 |
|
|
|
|
 |
|
Titel:
Verfasst am: 17.06.2006, 15:38 Uhr
|
|
Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
|
|
Well that didn't work. I tried to print with Kate a small document & while no error messages popped up, nothing happened. It just remains in the job list which I remove. It looks as though I'll have to wait for the appropriate dist-upgrade. I'm currently using KDE 3.5.3. I hope a fix for this happens soon. I've tried everything suggested here. Thanks, kurt |
_________________ illegitimati non carborundum
|
|
|
|
 |
|
Titel:
Verfasst am: 17.06.2006, 15:55 Uhr
|
|
Anmeldung: 21. Feb 2006
Beiträge: 8
Wohnort: Oregon City, OR, USA
|
|
2radical,
FWIW, my parallel Epson Color Stylus 640 is printing again after following hubi's directions. Your printers.conf settings appear to be the same as mine. Even after taking notes, I'm not sure exactly what I did - the printer was still balking until I restarted cupsys
/etc/init.d/cupsys restart
Let me know if there is anything on my system you'd like me to check.
EDIT - whatever I did last night did not survive rebooting. I'm back to no printing on my Kanotix machine. |
|
|
|
|
 |
|
Titel:
Verfasst am: 18.06.2006, 01:53 Uhr
|
|
Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
|
|
After restarting cupsys I received a server-error message when I tried to print
root@WorldsEnd:/home/joyboy# /etc/init.d/cupsys restart
Restarting Common Unix Printing System: cupsd.
A print error occurred. Error message received from system:
cupsdoprint -P 'EpsonC60' -J 'bzpost' -H 'localhost:631' -U 'joyboy' -o ' copies=1 multiple-document-handling=separate-documents-collated-copies orientation-requested=3' '/tmp/kde-joyboy/kdeprint_GD0aXHPm' : execution failed with message:
server-error-service-unavailable
This is crazy. Settings should survive a reboot I would think. I don't know how to fix this |
_________________ illegitimati non carborundum
|
|
|
|
 |
|
Titel:
Verfasst am: 18.06.2006, 13:01 Uhr
|
|
Anmeldung: 30. Nov 2005
Beiträge: 91
|
|
neal & 2eadical
After reboot do you have a /dev/lp0 file?
I didn't.
So I did "modprobe lp", restarted CIPS and could print OK.
I believe this can be made permanent with "update-modules".
So it should survive a reboot.
I don't know why a /dev/lp0 is not created but the above is a solution |
|
|
|
|
 |
|
Titel:
Verfasst am: 18.06.2006, 14:19 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
It is not created on the fly, while USBLP is also loaded. But one other thing happen than, the printers are found, but never connected to the right printer-queue. may be a fault by Cups or Printer-queue. |
|
|
|
|
 |
|
Titel:
Verfasst am: 18.06.2006, 16:45 Uhr
|
|
Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
|
|
clubex: I did what you suggested twice. The first time didn't work--I had the same server error message trying to print I had been getting. Before trying it the second time, I did "shutdown -r now" THEN tried it again, & now I can print once again. I don't feel like re-booting right now again to see if the changes stuck with the "update-modules" command cause I have stuff I need to get printed, but thanks for the help : } I'm not clear about why I needed to reboot first before entering those commands, but I'm glad it finally worked.
root@WorldsEnd:/home/joyboy# modprobe lp
root@WorldsEnd:/home/joyboy# /etc/init.d/cupsys restart
Restarting Common Unix Printing System: cupsd.
root@WorldsEnd:/home/joyboy# update-modules
root@WorldsEnd:/home/joyboy# |
_________________ illegitimati non carborundum
|
|
|
|
 |
|
Titel:
Verfasst am: 18.06.2006, 17:25 Uhr
|
|
Anmeldung: 30. Nov 2005
Beiträge: 91
|
|
2radical. Glad to be of some help to you.
My system detects my parallel port printer but somehow
doesn't create a /dev/lp0 for it. I don't know why. Perhaps
CUPS isn't teling udev to create /dev/lp0. But I'm just guessing.
I'm on holiday from tomorrow and hopefullly it'll all sorted by the
time I get back. |
|
|
|
|
 |
|
Titel:
Verfasst am: 18.06.2006, 17:47 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
Hope Too.
Btw.: does anyone has a "-" inside the URI?. Can cuse serious problems if so. |
|
|
|
|
 |
|
Titel:
Verfasst am: 18.06.2006, 18:32 Uhr
|
|
Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
|
|
Here's my /etc/cups/printer.conf file for what it's worth. No "-" present.
root@WorldsEnd:/home/joyboy# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.2.1
# Written by cupsd on 2006-06-16 14:04
<DefaultPrinter EpsonC60>
Info EPSON Stylus C60
Location
DeviceURI file:/dev/lp0
State Idle
StateTime 1150491694
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer> |
_________________ illegitimati non carborundum
|
|
|
|
 |
|
Titel:
Verfasst am: 19.06.2006, 16:02 Uhr
|
|
Anmeldung: 21. Feb 2006
Beiträge: 8
Wohnort: Oregon City, OR, USA
|
|
I'm still stuck. This is especially annoying because the printer did work for one evening after following hubi's instructions. Then I turned the machine off for the night.
What I have: kanotix 2005-4 dist-upgraded several times a week; Epson Stylus Color 640 on parallel port.
What I have tried:
- Uninstalling/reinstalling the printer - nothing.
- Changing printers.conf line to DeviceURI file:/dev/lp0 didn't work - cups died.
- Creating lp0 with modprobe only added a few new lines to my cups error-log complaining that it could not open /dev/lp0, permission denied.
Maybe the best thing to do is go all the way back and reinstall cups again, follow hubi's directions and take better notes this time? |
|
|
|
|
 |
|
Titel:
Verfasst am: 19.06.2006, 18:52 Uhr
|
|
Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
|
|
Zitat:
Maybe the best thing to do is go all the way back and reinstall cups again, follow hubi's directions
I think that's the best course to take. I rarely turn my computer off or reboot. Unlike Windows where I was constantly rebooting for some reason or other. I would apt-get remove --purge cupsys first, then follow clubex & hubi's suggestions. I finally got mine to work this way, although I've been afraid to reboot again to see if the changes stick. |
_________________ illegitimati non carborundum
|
|
|
|
 |
|
Titel:
Verfasst am: 20.06.2006, 02:04 Uhr
|
|

Anmeldung: 27. Jun 2005
Beiträge: 258
|
|
well, my printer now seems to be working fine, even after several times rebooting, turning printer on/off, etc. I also just updated my kernel to 2.6.17-kanotix-1, but I don't know if that made a difference. here's my printer.conf file:
Code:
# Printer configuration file for CUPS v1.2.1
# Written by cupsd on 2006-06-14 23:23
<Printer Epson>
Info EPSON Stylus CX3200
Location
DeviceURI file:/dev/usb/lp0
State Idle
StateTime 1150341816
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
|
|
|
|
|
 |
|