Autor |
Nachricht |
|
Titel:
Verfasst am: 29.06.2006, 20:15 Uhr
|
|
Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
|
|
[/quote]Are you seeing anything interesting in your
/var/log/cups/error_log?
Zitat:
Not currently--When I use Kate or any app (Kate loads quickest) to test printing, as I said before, "No error messages, just a brief appearance of the printer icon in the tray, then it disappears." In an earlier error_log, I noticed "unknown configuration directive file:/dev/usb/lp0 on line 6 of printers.conf" but that was just because I forgot to add "DeviceURI" at the beginning of the line. It used to read "DeviceURI usb://EPSON//Stylus%20C60". I received error messages when it was that way. It seems unconsciounable to me that this bug has lasted so long--that a fix for CUPS hasn't been added to the Debian repository. This affects thousands of users & different Linux OS's, not just Kanotix.
root@WorldsEnd:/var/log/cups# cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.2.1
# Written by cupsd on 2006-06-25 10:54
<Printer EpsonC60>
Info Epson Stylus C60
Location
DeviceURI file:/dev/usb/lp0
State Idle
StateTime 1151258075
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: 29.06.2006, 23:56 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
# Printer configuration file for CUPS v1.2.1
# Written by cupsd on 2006-06-23 05:42
<Printer ML2250>
Info GENERIC PCL 6/PCL XL Printer
Location
DeviceURI usb://Samsung/ML-2250
State Idle
StateTime 1151033767
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
Does all printing from every programm |
|
|
|
|
|
|
Titel:
Verfasst am: 30.06.2006, 17:28 Uhr
|
|
Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
|
|
I'm wondering if I can solve my problem of not being able to print by doing an update-install using a Kanotix-2006-Easter-RC4 CD. I'm currently using the 2005-04-LITE release which I have been adding packages to and keeping current. Do people using the Easter release have this (printing) problem? |
_________________ illegitimati non carborundum
|
|
|
|
|
|
Titel:
Verfasst am: 30.06.2006, 17:45 Uhr
|
|
Team Member
Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
|
|
I use Easter, didn't have the printer problem untill I believe cups was updated, then I did the fix that I posted here (I think I got from Kano who told someone else on irc) and that fixed my problem. |
_________________ h2's d-u script
h2's rdiff-backup script
|
|
|
|
|
|
Titel:
Verfasst am: 30.06.2006, 20:28 Uhr
|
|
Anmeldung: 09. Jan 2006
Beiträge: 1720
|
|
I use the Easter-rc4. run fine with my printer. Than Ihad the same faults after the 3rd Upgrade, but with the next it was solved. It took me 4 days and some probings to get ride of this.
BTW: I use gutemprint cupssys and xprint. hplip has been removed(purged).
Cupssys 1.1.xx when installed and working, 1.20 with the trouble, now 1.2.1-13 solved and running. not updated since 21.06.2006 |
|
|
|
|
|
|
Titel:
Verfasst am: 02.07.2006, 00:15 Uhr
|
|
Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
|
|
I hought I'd try getting my printer to work one more time before I did an update-install with the Easter CD. This time I did everything in init 3 as root.
modprobe lp
echo lp >>/etc/modules
apt-get remove --purge cupsys
apt-get install cupsys
installed all the suggested files except for the foreign language support
/etc/init.d/cupsys restart
edited /etc/cupsd.conf:
# Listen /var/run/cups/cups.sock
init 5
Went to localhost:631
added my printer with ''root" as username & supplied password
made it the default
printed test page
I'm not sure what specific thing made the difference, but I am now FINALLY able to print! (even with O.O. 2) Thank you everybody who tried to help me. I'm not brave enough yet to try another reboot to see if things stick. Thanks again--kurt |
_________________ illegitimati non carborundum
|
|
|
|
|
|
Titel:
Verfasst am: 02.07.2006, 00:50 Uhr
|
|
Team Member
Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
|
|
|
|
|
|
Titel:
Verfasst am: 02.07.2006, 01:27 Uhr
|
|
Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
|
|
Thank you piper--I think either installing, then selecting CUPS+Gutenprint v5.0.0-rc3 or doing everything I could outside of the X environment in init3 might have made the difference, OR, cupsys upgrading to 1.2.1-3 may be at fault. It could be a combination of those two things--working outside of kdm & the proper driver, but I'm leaning towards doing everything you can with init 3 environment as a key, because of the difficulties so many have reported with using KDE>Control Center>Peripherals>Printers>etc.. I don't think editing /etc/cups/printers.conf is as significant as a solution on the DeviceURI line, because I tried it both ways, using file:/dev/usb/lp0 OR what the localhost:631 (CUPS website) more specifically configured for my printer. However I DO think that commenting out
# Listen /var/run/cups/cups.sock in /etc/cupsd/cupsd.conf IS important to do to avoid server error messages. What a learning experience--not exactly what I want to go through again anytime soon. I hope this may be of help to others...kurt |
_________________ illegitimati non carborundum
|
|
|
|
|
|
Titel:
Verfasst am: 04.07.2006, 02:48 Uhr
|
|
Anmeldung: 07. Nov 2005
Beiträge: 112
Wohnort: Venezuela
|
|
Well, after reinstalling (upgrading k-2k6-e-rc4), this afternoon, the printer worked again. CUPS 1.1.x. Used the bootusb2 cheatcode but don't know if it really had any effect. Added a few things that brought in cupsys and the printer quit working.
So, do "init 2", update && upgrade which brought about 300-400 upgrades. OK.
Set up printer with firefox and it works again. CUPS 1.2.x.
update && dist-upgrade. And the printer still works.
So, maybe, it's over? I sure hope so. Has survived a couple of reboots.
Thanks for all the help. (and I finally got logged back in again.) |
Zuletzt bearbeitet von Richard am 04.07.2006, 03:18 Uhr, insgesamt ein Mal bearbeitet
|
|
|
|
|
|
Titel:
Verfasst am: 04.07.2006, 03:13 Uhr
|
|
Anmeldung: 07. Dez 2005
Beiträge: 369
Wohnort: Port Angeles, Wa. USA
|
|
Congrats Richard!!
"So, maybe, it's over? I sure hope so."
ME TOO!!
p.s.: I hope things are ok in Venezuela--my son spent a yr. there as an exchange student |
_________________ illegitimati non carborundum
|
|
|
|
|
|
Titel:
Verfasst am: 07.07.2006, 01:36 Uhr
|
|
Anmeldung: 30. Nov 2005
Beiträge: 91
|
|
I'm back from my holiday and CUPS still isn't fixed.
Not complaining though as it is simple to fix for my
parallel printer (Epson Stylus Color 600).
For some reason the lp module wasn't being loaded at boot
time so /dev/lp0 isn't created. This was remedied on my
Easter release by adding the lp module to /etc/modules
ie. echo lp >> /etc/modules
Not something a newbie could figure out so CUPS needs to
be fixed soon. |
|
|
|
|
|
|
Titel:
Verfasst am: 07.07.2006, 02:47 Uhr
|
|
Anmeldung: 21. Aug 2004
Beiträge: 123
|
|
After many problems I've also managed to get my printer going after originally only intending to upgrade the desktop and some other packages.
Perhaps "apt-get remove"(ing) everything related to printing then "apt-get install printconf hplip libprinterconf0c2a" helped but I doubt it .......
After installing hplip it generated a "failed to start" error but appears to be working OK regardless. Under Kdeprint the option for a local/usb/parallel printer is greyed out but I was able to use the "Other printer types" option and choose my printer under direct -> hp:/usb/Deskjet.......
By going to http://localhost:631/admin I was able to edit the cups configuration and share the printer across the network. Going to http://localhost:631 (without the /admin) loads the cups page as text instead of html???
So ...... my printing is working again despite some rough spots upgrading the printer packages and I have no idea why |
|
|
|
|
|
|
Titel:
Verfasst am: 14.07.2006, 09:32 Uhr
|
|
Anmeldung: 02. Apr 2006
Beiträge: 121
|
|
My OkI B4300, USB printer also stopped working when I did an upgrade some days ago. I tried Pipers fix and it worked.
Thanks |
|
|
|
|
|
|
Titel:
Verfasst am: 15.07.2006, 11:00 Uhr
|
|
Anmeldung: 02. Apr 2006
Beiträge: 121
|
|
I was a little to fast. Yes it works to print a test page from localhost:631 but when I try to print from Firefox the printer returns an error that I shall change to paper format Letter. I have set the print out format in Firefox to A4 and also in the printer configuration in locahost:631 it's set to A4 |
|
|
|
|
|
|
Titel:
Verfasst am: 18.07.2006, 05:11 Uhr
|
|
Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
|
|
I did the smallest part of Pipers fix, and it worked (as sux):
apt-get remove --purge cupsys
apt-get install cupsys
I then did:
/etc/init.d/cupsys restart
Then when into localhost:631 in konqueror (as user), and under the admin tab I saw my printer (a usb one) and so I clicked "add printer" ... had to wait a couple of minutes (!) and then is went to the next section and everything is fine. |
|
|
|
|
|
|
Titel:
Verfasst am: 18.07.2006, 05:59 Uhr
|
|
Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
|
|
Hmmm didn't seem to stick ... I'll try again. |
_________________ Linux is evolution, not intelligent design - Linus Torvalds
|
|
|
|
|
|
Titel:
Verfasst am: 18.07.2006, 12:33 Uhr
|
|
Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
|
|
Still didn't work ... tried Piper's full method and still no good for me ... but I tried monkymind's method and it worked for open office (but not for some other apps, but at least I can now print from open office) ... thanks monkymind! |
_________________ Linux is evolution, not intelligent design - Linus Torvalds
|
|
|
|
|
|
Titel:
Verfasst am: 18.07.2006, 13:15 Uhr
|
|
Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
|
|
Ahhh I missed your post 2radical and when I edited out "Listen /var/run/cups/cups.sock" from /etc/cups/cupsd.conf and then /etc/init.d/cupsys restart ... now it's okay for the other apps like KWrite.
I haven't tried reinstalling "cupsys-driver-gutenprint" or "hplip" or "kdeprint" yet. |
_________________ Linux is evolution, not intelligent design - Linus Torvalds
|
|
|
|
|
|
Titel:
Verfasst am: 19.07.2006, 08:42 Uhr
|
|
Anmeldung: 21. Aug 2004
Beiträge: 123
|
|
Swynndla hat folgendes geschrieben::
Ahhh I missed your post 2radical and when I edited out "Listen /var/run/cups/cups.sock" from /etc/cups/cupsd.conf and then /etc/init.d/cupsys restart ... now it's okay for the other apps like KWrite.
I haven't tried reinstalling "cupsys-driver-gutenprint" or "hplip" or "kdeprint" yet.
I also used 2 radical's tip of commenting out "Listen /var/run/cups/cups.sock" when I edited cupsd.conf to make the local printer accessible across the network but had no idea what I had done, or added, enabled me to print again.
My hplip and kdeprint is working. Probably sheer luck again.
Cheers
rob
PS Belated thanks to 2radical |
|
|
|
|
|
|
Titel:
Verfasst am: 20.07.2006, 12:27 Uhr
|
|
Team Member
Anmeldung: 04. Apr 2006
Beiträge: 153
Wohnort: Melbourne, Australia
|
|
For those of you whom are still experiencing probems of /var/run/cups/cups.sock still showing up after you have edited etc/cups/cupsd.conf , put a # at the begining of the edited line eg
Listen localhost:631
#
(where the #= what was /var/run/cups/cups.sock
then /etc/init.d/cupsys restart
Only then reinstall hplip and gutenprint (i purged and reinstalled cupsys first, then did the edit followed by a reinstall of cupsys-driver-gutenprint hplip |
_________________ Kanotix Easter RC4 on a dual boot P4 and a production box Desktop KDE::
Kanotix 2006 Easter RC4 on a P2 and Production Box , Desktop KDE::
Kanotix EasterRC4 on a MMX 199Mhz lappy
and a Production Box, Desktop ICEWM::
|
|
|
|
|
|
Titel:
Verfasst am: 22.07.2006, 07:27 Uhr
|
|
Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
|
|
Well, I eventually configured the pc where the printer is connected to allow others to print to it ... ie in https://localhost:631/admin I ticked:
- Show printers shared by other systems
- on Share published printers connected to this system
- on Allow remote administration
- on Allow users to cancel any job (not just their own)
... and then on the remote pc I when to print from kedit but it had the usual error ... so I did the 'ol trick:
apt-get remove --purge cupsys
apt-get install cupsys
... and now I can print from the remote pc just fine ... and /etc/cups/cupsd.conf still has "Listen /var/run/cups/cups.sock" uncommented! ... perhaps it doesn't matter on the remote pc. |
_________________ Linux is evolution, not intelligent design - Linus Torvalds
|
|
|
|
|
|
Titel:
Verfasst am: 26.07.2006, 22:26 Uhr
|
|
Anmeldung: 05. Dez 2005
Beiträge: 414
Wohnort: Auckland, New Zealand
|
|
So in summary, to fix my printing problems, I think I did the equivalent of:
Code:
apt-get remove --purge cups* xprint*
apt-get install printconf hplip libprinterconf0c2a
... edited out "Listen /var/run/cups/cups.sock" from /etc/cups/cupsd.conf
Code:
/etc/init.d/cupsys restart
|
|
|
|
|
|
|
Titel:
Verfasst am: 24.11.2006, 02:48 Uhr
|
|
Anmeldung: 17. Okt 2006
Beiträge: 2
|
|
I had similar problems after installing Kanotix 2006.1 RC4 on my hard drive. I could not get Kprinter to work. I would get the "cannot create temporary printer" message whenever I got to the test printer stage.
I could install a printer using the web interface, but the printers (a parallel port HP9650 and a Smasung Color Laserjet wireless) would not print.
I had the same problem with a vanilla Debian64 installation.
I finally took the drastic step of completely removing all cupsys related files using synaptic and all ppd files. This wound up removing most of kde also. But when I reinstalled everything in Kanotix and the Debian64, I can add printers via kprint and they print as advertised.
I do not know what the root of the problem is, and it would be no fun on a dial-up connection, but that is the only way I know to get everything working properly. At least it worked for me, twice.
Just my two cents worth.
Glenn |
|
|
|
|
|
|