kanotix.com
Hardware - Printer stopped working after upgrade
shame - 10.06.2006, 12:22 Uhr
Titel: Printer stopped working after upgrade
After spending days trying to get my printer to work and finally succeeding, various printer related packages have been upgraded in the last couple of days and now the printer stopped working.
When I try to print it is added to the jobs but it says no printer is connected.
I've removed and re-added my printer and that appears to go ok but it still says not connected.
There's nothing wrong with the cables and it is still printing normally in suse.
drb - 10.06.2006, 13:19 Uhr
Titel:
Not sure what your problem is as my printers are working OK.
I removed the printers and readded after cups upgrades (this didn't appear to work with your set up). This initially worked until the second upgrade a day later. I then found I needed to delete/add the printers a second time, but this time the printer had to be switched on so it was recognised as a device before I can add the printer.
Try a second add printer - note whether the printer is recognised when it is switched on in the kde printer configurer.
drb
hubi - 10.06.2006, 14:05 Uhr
Titel:
shame,
you might find the answer in this thread:
http://kanotix.com/PNphpBB2-viewtopic-t-18742.html
hubi
shame - 11.06.2006, 16:04 Uhr
Titel:
Yes it does seem to be the same problem. Some people have got their printers working but nothing in that thread got mine working unfortunately. Guess I'll just keep upgrading and wait for it to sort itself out.
ice - 13.06.2006, 00:51 Uhr
Titel:
Cups support for parallel printing is currently broken. There are a million bug reports already floating around, even Debian bug tracking system couldn't cope with it:
http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=cupsys
shame - 22.06.2006, 09:36 Uhr
Titel:
Can anyone tell me if they are still having any problems printing? It's been almost 2 weeks since I started this thread, all the printing stuff was upgraded yesterday and I'm still unable to get printing working.
I get this error -
Code:
Unable to retrieve the printer list. Error message received from manager:
Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: the IPP request failed for an unknown reason.
drb - 22.06.2006, 10:53 Uhr
Titel:
I didn't have your CUPS connection error. Printers have worked fine except I've only been able to set up printerswith KDE Print Manager as local:host couldn't find my printer. After the upgrade today I can use localhost:631 to add my printer . . . but only as a parallel printer. I then went to KDE Print Manager to change the propertries to USB!
drb
2radical - 22.06.2006, 16:30 Uhr
Titel:
shame: If it's any consolation to you my printer stopped working AGAIN as well. I did manage to get it working following suggestions in the thread
http://kanotix.com/PNphpBB2-viewtopic-t-18742.html
but after I rebooted I'm back to square one with the same error message you posted. I guess we're supposed to sit around & twiddle our thumbs until this issue is resolved
shame - 23.06.2006, 10:51 Uhr
Titel:
I still haven't managed to get it working at all, even following that thread.
I've been searching google like mad for a workaround but still nothing.
It's strange that some people are having problems and others aren't.
This is the longest I have had a problem when using kanotix/debian sid.
The cups stuff has been updated 2 or 3 times since I started having these problems and the fact it's still not working tends to make me think just waiting around and upgrading isn't going to solve it for me.
I have noticed also that when I remove and try adding the printer, both in gnome and kde, the printer isn't actually being detected anymore since the last update.
<EDIT>
Well it's just getting wierd now. I ignored the server error message and tried adding the printer again. Although the printer wasn't named I just selected the parallel port it connects to normally. Tried printing a few test pages and some of them it printed ok and others it printed a few lines then just fed the paper out.
I've now tried printing various documents from different apps and it's doing the same, some things print ok and others just print a few lines, even when printing the same document from the same app several times.
Still, I suppose it's an improvement.
wakarimasen - 23.06.2006, 12:28 Uhr
Titel:
I have the same problem - only the first page of any document prints correctly. Each subsequent page comes out blank. This means that a 10 page document needs to be printed out one page at a time....
2radical - 23.06.2006, 16:44 Uhr
Titel:
I can't even use the Control Center add printer wizard cause the backend options were greyed out. It's the same wether I'm in administrator mode or not. I went through all the steps I had taken before, purging & re-installing, & noticed that my /etc/cups/printer.conf file had somehow disappeared. I created a new one with nano using what I had posted earlier, and this time I was able to select a backend with the wizard, but could not finish installation because "unable to create temporary printer" and "client-error-bad-request" This sucks.
drb - 23.06.2006, 17:16 Uhr
Titel:
This printing issue gets stranger by the day. I don't have any printing problems but printer administration issues changes by the day. I don't have any parallel port printers. I can add USB printers via kde print manager or localhost:631 as long as the printer is switched on. (this is a stage further than a few days ago when localhost:631 wouldn't allow USB pribnters to be added). When I go into kde print manager I get the error message with CUPS listed above if I try to enter administrator mode . . . but I can add a printer or take any other action by providing login / password when asked. I think things are improving!
drb
piper - 23.06.2006, 17:30 Uhr
Titel:
Try
modprobe lp
echo lp >> /etc/modules
apt-get remove --purge cupsys
apt-get install cupsys or apt-get install cupsys cupsys-driver-gutenprint hplip
in webbrowser : localhost:631
hubi - 23.06.2006, 17:33 Uhr
Titel:
With cupsys-1.2.1-3 (came in June 21st) I had to edit /etc/cups/cupsd.conf and comment the following line:
Code:
# Listen /var/run/cups/cups.sock
to run USB plugged HP Deskjet printers through kprinter.
hubi
piper - 23.06.2006, 18:20 Uhr
Titel:
I also had printer problems, but have been too lazy the past couple of days to try and fix it, this worked great for me and things are working again. I run a network USB printer to the router. Thanks Master
piper hat folgendes geschrieben::
Try
modprobe lp
echo lp >> /etc/modules
apt-get remove --purge cupsys
apt-get install cupsys or apt-get install cupsys cupsys-driver-gutenprint hplip
in webbrowser : localhost:631
2radical - 23.06.2006, 19:00 Uhr
Titel:
I tried
modprobe lp
echo lp >> /etc/modules
apt-get remove --purge cupsys
apt-get install cupsys or apt-get install cupsys cupsys-driver-gutenprint hplip
in webbrowser : localhost:631
tried added a printer but when asked for a username & password I get a blank screen at http//localhost:631/admin
piper - 23.06.2006, 20:16 Uhr
Titel:
Hmm, sorry that didn't work for you, this was the only thing that worked for me, did you try rebooting after doing
apt-get install cupsys or apt-get install cupsys cupsys-driver-gutenprint hplip
and then going to localhost:631
2radical - 23.06.2006, 20:39 Uhr
Titel:
yes I did reboot & still get redirected to http://localhost:631/admin with nothing but a blank page. A printer doesn't get added. Does it matter what gets entered in the username & password boxes? Is there something specific that must be entered there? I tried using "root" as password as well as other things, but the same thing happens.
piper - 23.06.2006, 20:44 Uhr
Titel:
Use your normal user login & password and go to Administration -> New Printers Found
Is yours listed ?
2radical - 23.06.2006, 22:30 Uhr
Titel:
Administration shows 2 printers--canon (parallel Port # 1) which I don't have and epson (parallel Port #1) which I do have. If I try to add the epson I still get redirected to the blank screen. There wasn't an option to remove the canon.
piper - 23.06.2006, 22:40 Uhr
Titel:
2radical, sorry but I am stumped
schnorrer - 23.06.2006, 23:40 Uhr
Titel:
Try add a generic printer, parser missmatch with cupssys front and backend for windowsbased PPD's
2radical - 24.06.2006, 18:24 Uhr
Titel:
At this point it appears as though I no longer have a printer for all intents & purpose due to some mysterious bug in KDE, cupsys or something. Yeah, it's a free OS, but I don't think it's too much to expect that such a basic function as printing should work. What's next? No keyboard or CD drives? I'll try dist-upgrading today to see if that helps.
piper - 24.06.2006, 18:35 Uhr
Titel:
I am sorry you are having so much trouble with this
I am out of idea's
2radical - 24.06.2006, 18:56 Uhr
Titel:
I finished DU-ing & just as suspected when I try to install my printer
Unable to retrieve the printer list. Error message received from manager:
Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: host not found.
Cupsys-bsd & cupsys-client were upgraded. I had to do apt-get -f install as several pkgs wouldn't completely install. dpkg-multicd wouldn't install. (error code 1) but that's ok. I may have to switch distributions if a fix can't be found.
drb - 24.06.2006, 20:21 Uhr
Titel:
Does your Epson printer have a USB connection (mine has both parallel and USB) - it looks as if this problem is more to do with parallel printers.
drb
2radical - 24.06.2006, 21:00 Uhr
Titel:
Zitat:
Does your Epson printer have a USB connection (mine has both parallel and USB) - it looks as if this problem is more to do with parallel printers.
Yes it does--I'd have to go get a cable--it'd be great if that's all there was to it.
I wonder how I'd have to configure /etc/cups/printers.conf? What other files would I have to change? A glimmer of hope appears.......
drb - 24.06.2006, 21:57 Uhr
Titel:
I found I got the error with localhost:631 when I hadn't switched my USB printer on. Just switch the printer on, localhost:631, add printer - it should have recognised your printer as a USB Epson.
drb
eco2geek - 24.06.2006, 22:10 Uhr
Titel:
It's been a while since I've printed anything. After several "dist-upgrade"s and a "dpkg-reconfigure cupsys", CUPS looked fine using the Web interface ("http://localhost:631" in a browser). What didn't work was the KDE printer subsystem (kcontrol > Peripherals > Printers) connecting to the CUPS server -- I got the same error that shame did.
But selecting Print Manager > Configure Manager... and going to the "CUPS Server" selection, and changing "/var/run/cups/cups.sock" to "localhost" in the "Host" field, seems to have solved the problem.
2radical - 24.06.2006, 22:28 Uhr
Titel:
I went & bought a USB cable rebooted went to localhost:631 tried to add printer & SUPRISE SUPRISE it went to the same ***damn blank page I mentioned before. I always have to enter username & password twice to get there. What a joy. I tried entering localhost in the host field in configure manager changing /var/run/cups/cups.sock without success & and for an "unknown reason" This is ridiculous.....
Unable to retrieve the printer list. Error message received from manager:
Connection to CUPS server failed. Check that the CUPS server is correctly installed and running. Error: the IPP request failed for an unknown reason.
2radical - 24.06.2006, 22:38 Uhr
Titel:
I just tried using KDE's print wizard & it went ok until I tried to supply a username--it wouldn't accept any I supplied.
jiro - 24.06.2006, 22:38 Uhr
Titel:
2radical hat folgendes geschrieben::
I wonder how I'd have to configure /etc/cups/printers.conf?
Yes, I think your solution may be found here:
http://kanotix.com/PNphpBB2-viewtopic-t-18742-start-30.html
Zitat:
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.
This was the fix for my USB printer. I have dist-upgraded several times since first doing this fix, and it still works fine. good luck...
schnorrer - 24.06.2006, 23:40 Uhr
Titel:
@2radical:
with usblp. make sure the printer is started before! cupsd and before! starting the PC. make sure freeze-rc.d is not active.
Cupsd should start with S40cupssys or higher while usb should start long befor S10 or S20.
Even long after xprint foomatic or hpoj.
Parallel, USB does take a long time to initialize.
Do not take any driver, which came with version 1.1.xx of cups.
With most Ink-jet-printers you can use the generic-epson-fx.ppd if your printer does not appear to work correctly. or is not supported by the new driver.
2radical - 24.06.2006, 23:49 Uhr
Titel:
My /etc/cups/printers.conf file gets deleted every time I reboot!! WHY?? Since when is a reboot supposed to delete system files? This is getting more ludicrous as time goes by. The Start page reads "Kanotix is a rock-solid Linux based on Debian-Sid......blahblah" Solid compared to what? Gas? Water? The ability to print should be an inherent basic capability of ANY distribution without having to go through endless configuration. I've spent an unconsciounable number of HOURS on this bull**** following every suggestion that has come down the pike to the best of my ability without resolve. Up until now I've been really happy with Kanotix, but this experience has really soured my opinion of it.
schnorrer - 25.06.2006, 00:07 Uhr
Titel:
Cups version?
1.20.3 does it by default, I don't know why.
2radical - 25.06.2006, 00:23 Uhr
Titel:
joyboy@WorldsEnd:~$ apt-cache policy cupsys
cupsys:
Installed: 1.2.1-3
"Cupsd should start with S40cupssys or higher while usb should start long befor S10 or S20.
Even long after xprint foomatic or hpoj. "
I'm afraid I don't know what you're talking about S10 or S20, and by "cupsd" do you mean cupsys?
I appreciate your guys help even though I haven't mentioned it...
jiro - 25.06.2006, 00:32 Uhr
Titel:
2radical hat folgendes geschrieben::
My /etc/cups/printers.conf file gets deleted every time I reboot!! WHY??
just a guess, but maybe it gets deleted b/c it could not locate the printer as configured.
try this: remove & purge cups, reboot, reinstall cups, set up your USB printer, then hand-edit printers.conf as suggested. at this point (not before this point), hopefully you can test your printer to confirm that it works.
if this doesn't help, then i'm sorry but i have nothing further to suggest. btw: this is not a problem only with kanotix, try googling and you'll see the same with other distros
2radical - 25.06.2006, 00:41 Uhr
Titel:
jiro: I have googled & noticed that it's a problem w/other distros--I'm looking at RR4/RR64 lately.
2radical - 25.06.2006, 01:09 Uhr
Titel:
I tried what you suggested but unfortunately, the same thing happened. I went to the blank localhost:631 screen again. KDE's wizard doesn't work either. This is an untenable situation. I'll give it a little more time, but then I'm off to something else, I'm afraid. What a pain in the ass. Thanks for your efforts--they have been appreciated, despite how PO'd I am.....
2radical - 25.06.2006, 02:41 Uhr
Titel:
My latest GoogleResults 1 - 10 of about 3,870,000 for "can't print"
I guess I shouldn't feel like the Lone Ranger on this issue. It makes me wonder how in the hell this code got released? Doesn't any testing occur beforehand? It certainly gives MS more fuel in their war against GNU/Linux.
piper - 25.06.2006, 02:45 Uhr
Titel:
If it makes you feel any better windows too also has printer problems
I know it is not a cure, but thought that I would add it in.
jiro - 25.06.2006, 03:48 Uhr
Titel:
2radical: maybe you will find something useful here:
http://www.cups.org/str.php?L1738+P3+S-2+C0+I0+E0+Q
i agree that it's pretty bad for something as basic as printing does not function. that's why i maintain a dual-boot setup even though i use kanotix probably 90% of the time (except for at work where i must use windows)
piper: no, windows does not have similar printing problems or anything even approaching this. it has OTHER problems (security, etc) but the basic functionality does not break in this way
bluewater - 25.06.2006, 03:52 Uhr
Titel:
2radical hat folgendes geschrieben::
I just tried using KDE's print wizard & it went ok until I tried to supply a username--it wouldn't accept any I supplied.
Same thing for me, eventually i tried "root" as the user name , then put in the root password.. My printer then fired up
piper - 25.06.2006, 03:53 Uhr
Titel:
jiro, I beg to differ, especially with XP, it is better now, much, but when XP first came out I was working as a tech and building computers and installing the software, it was in my opinion a nightmare for awhile
drb - 25.06.2006, 08:46 Uhr
Titel:
I don't have any printing problems and I have the same cupsys version everyone else has. I started with 2005-04 and am fully d-ued . Does anyone who started with 2005-04 recently (using h2's script to dist-upgrade) rather than Easter-RC4 have printing problems?
drb
2radical - 25.06.2006, 19:53 Uhr
Titel:
I had some partial success in that I was able to at least install my printer through the web interface http://127.0.0.1:631/ by using root as username and supplying a password, however when I try to test it nothing happens. At least there aren't error messages. My /etc/cups/printers.conf file survived rebooting, too so that's an improvement. I tried replacing "DeviceURI usb://EPSON/Stylus%20C60" in printers.conf with "file:/dev/usb/lp0" but that made things worse with error messages, so I switched it back. This is some improvement although like I say I still can't print anything.
schnorrer - 26.06.2006, 09:14 Uhr
Titel:
@2radidical, sorry for this late post. I ment cupsd and cupssys. cupssys ist the hwPart and cupsd ist the part between Progr and printers.
Cupssys as module should start after usb or lpd-Module and cupsd should start after the printer and his filters is online.
2radical - 26.06.2006, 17:20 Uhr
Titel:
schorrer: Thanks for writing, but I'm afraid I don't understand what you're talking about unless you're referring to my modules list. lp and usblp are both loaded.
Module Size Used by
via 42464 1
drm 60308 2 via
video 13828 0
thermal 11144 0
processor 19272 1 thermal
fan 4100 0
container 4096 0
button 5904 0
battery 8324 0
ac 4356 0
af_packet 17800 2
efs 11396 0
lp 10888 0
fuse 33288 0
capability 4232 0
commoncap 6144 1 capability
snd_seq_dummy 3588 0
snd_seq_oss 29568 0
snd_seq_midi 7200 0
snd_seq_midi_event 7040 2 snd_seq_oss,snd_seq_midi
snd_seq 47184 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_via82xx 23064 4
snd_ac97_codec 85792 1 snd_via82xx
snd_ac97_bus 2944 1 snd_ac97_codec
usblp 12160 0
tsdev 6976 0
snd_pcm_oss 37024 0
snd_mixer_oss 15360 1 snd_pcm_oss
shpchp 34088 0
via_agp 8704 1
agpgart 26444 2 drm,via_agp
snd_pcm 60932 6 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer 19332 3 snd_seq,snd_pcm
snd_page_alloc 8328 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7040 1 snd_via82xx
pci_hotplug 26820 1 shpchp
snd_rawmidi 20000 2 snd_seq_midi,snd_mpu401_uart
snd_seq_device 7180 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
ehci_hcd 29192 0
parport_pc 35940 1
parport 31304 2 lp,parport_pc
psmouse 34696 0
serio_raw 6148 0
i2c_viapro 8468 0
via_rhine 20484 0
8250_pnp 9344 0
8250 21684 1 8250_pnp
serial_core 17664 1 8250
snd 44100 15 snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,
snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
via_ircc 19604 0
mii 5504 1 via_rhine
uhci_hcd 20488 0
usbcore 106496 4 usblp,ehci_hcd,uhci_hcd
soundcore 8160 1 snd
irda 113720 1 via_ircc
crc_ccitt 2816 1 irda
pcspkr 3456 0
analog 10656 0
gameport 12040 2 snd_via82xx,analog
evdev 8576 1
schnorrer - 26.06.2006, 22:35 Uhr
Titel:
Can be a buggy usbcore.
size:
yourse: 106496
mine: 107936
next what is missing but bound to usbcore is: ehci_ucd no modules within your listing. Try replacing usb dependend files.
2radical - 27.06.2006, 00:27 Uhr
Titel:
Is ehci_ucd the usb 2.0 driver? I don't have that file. Is the correct command to insert it "insmod ehci_ucd" ?
The only usb dependent file I have to my knowledge is /dev/usb/lp0, which is a character device. It's permissions are crw-rw----
thanks, kurt
jlowery - 28.06.2006, 10:21 Uhr
Titel:
ice hat folgendes geschrieben::
Cups support for parallel printing is currently broken. There are a million bug reports already floating around, even Debian bug tracking system couldn't cope with it:
http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=cupsys
This fixed parallel printing for me, do this as root:
chmod 0700 /usr/lib/cups/backend/parallel
neal - 28.06.2006, 15:55 Uhr
Titel:
eco2geek hat folgendes geschrieben::
It's been a while since I've printed anything. After several "dist-upgrade"s and a "dpkg-reconfigure cupsys", CUPS looked fine using the Web interface ("http://localhost:631" in a browser). What didn't work was the KDE printer subsystem (kcontrol > Peripherals > Printers) connecting to the CUPS server -- I got the same error that shame did.
But selecting Print Manager > Configure Manager... and going to the "CUPS Server" selection, and changing "/var/run/cups/cups.sock" to "localhost" in the "Host" field, seems to have solved the problem.
This worked for me, as well (with a parallel port printer, dist-upgraded Kanotix 2005-4.) Changed Host, restarted the server and I could finally print through KDE. Thanks, eco2geek and everyone else. Tossing my notes, loading paper.
-Neal
2radical - 28.06.2006, 16:17 Uhr
Titel:
I went out & bought a USB cable thinking that would solve things, but it didn't.
What are the 0700 permissions? I wonder if that'd work for my usb
drb - 28.06.2006, 16:53 Uhr
Titel:
2radical
Sorry the USB connection didn't work! Did you switch on the printer before trying localhost:631 and kde print manager?
kde print manager should have your printer ready to select after the add printer command (as should localhost:631 after the last upgrade).
drb
wh7qq - 28.06.2006, 21:19 Uhr
Titel:
None of the mentioned "fixes" helped either of my machines, one with a Canon BJC-80 (parallel) and one with an HP 7260 (USB). This mess is worse than a windows virus...not sure how it came in and so far, the only sure fix is to reload the OS (which I was forced to resort to (after backing up /home) on the Canon machine to get printing back on line). Now, not knowing what is going to bomb printing, I'm not updating or adding anything to the basic 2005-04 until this gets fixed. Only saving grace is that Kanotix-installer is pretty fast but still, all that time re-editing config files... Tar and feathers for the "gurus" that hatched this one.
piper - 28.06.2006, 21:52 Uhr
Titel:
I really wouldn't compare this to a *cough* windows virus, and would not say it is worse than a *cough cough* windows virus. IMHO very bad comparision. I would say though a hiccup
wh7qq - 29.06.2006, 05:47 Uhr
Titel:
piper hat folgendes geschrieben::
I really wouldn't compare this to a *cough* windows virus, and would not say it is worse than a *cough cough* windows virus. IMHO very bad comparision. I would say though a hiccup
With all due respect, when I get a cough, I don't loose basic functionality, and a glass of water usually cures my hiccups. Water, water, give me water!!!
2radical - 29.06.2006, 07:45 Uhr
Titel:
drb: I have my printer installed finally, the propblem now is when try to print, nothing happens. No error messages, just a brief appearance of the printer icon in the tray, then it disappears.
Piper: hiccups don't last this long either!!
piper - 29.06.2006, 15:09 Uhr
Titel:
wh7qq hat folgendes geschrieben::
piper hat folgendes geschrieben::
I really wouldn't compare this to a *cough* windows virus, and would not say it is worse than a *cough cough* windows virus. IMHO very bad comparision. I would say though a hiccup
With all due respect, when I get a cough, I don't loose basic functionality, and a glass of water usually cures my hiccups. Water, water, give me water!!!
With all due respect, as a medical professional, the body does lose basic functionality (depending on the cough), humans (me not included ) take it for granted. Just before a virus (cold, flu, etc, ex. cough, sneeze, watery eyes, fever) your body is telling you that something is wrong, or shuts down. Water can be a very bad thing !!! depends where you live or where you are.
Yes cups has a hiccup, but did not cause your computer (like windows) to loop in reboot or shutdown (blaster virus) , or that vivid color thing known as a BSOD
neal - 29.06.2006, 16:58 Uhr
Titel:
2radical hat folgendes geschrieben::
drb: I have my printer installed finally, the propblem now is when try to print, nothing happens. No error messages, just a brief appearance of the printer icon in the tray, then it disappears.
Piper: hiccups don't last this long either!!
My thoughts exactly (re hiccups) - very frustrating: printer problems, and now that the python has hit the fan, apt wants to remove one of my most-used apps.
Back to your printer. Are you seeing anything interesting in your
/var/log/cups/error_log?
2radical - 29.06.2006, 20:15 Uhr
Titel:
[/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>
schnorrer - 29.06.2006, 23:56 Uhr
Titel:
# 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
2radical - 30.06.2006, 17:28 Uhr
Titel:
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?
piper - 30.06.2006, 17:45 Uhr
Titel:
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.
schnorrer - 30.06.2006, 20:28 Uhr
Titel:
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
2radical - 02.07.2006, 00:15 Uhr
Titel:
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
piper - 02.07.2006, 00:50 Uhr
Titel:
2radical - 02.07.2006, 01:27 Uhr
Titel:
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
Richard - 04.07.2006, 02:48 Uhr
Titel:
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.)
2radical - 04.07.2006, 03:13 Uhr
Titel:
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
clubex - 07.07.2006, 01:36 Uhr
Titel:
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.
monkymind - 07.07.2006, 02:47 Uhr
Titel:
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
vilde - 14.07.2006, 09:32 Uhr
Titel:
My OkI B4300, USB printer also stopped working when I did an upgrade some days ago. I tried Pipers fix and it worked.
Thanks
vilde - 15.07.2006, 11:00 Uhr
Titel:
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
Swynndla - 18.07.2006, 05:11 Uhr
Titel:
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.
Swynndla - 18.07.2006, 05:59 Uhr
Titel:
Hmmm didn't seem to stick ... I'll try again.
Swynndla - 18.07.2006, 12:33 Uhr
Titel:
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!
Swynndla - 18.07.2006, 13:15 Uhr
Titel:
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.
monkymind - 19.07.2006, 08:42 Uhr
Titel:
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
bluewater - 20.07.2006, 12:27 Uhr
Titel:
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
Swynndla - 22.07.2006, 07:27 Uhr
Titel:
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.
Swynndla - 26.07.2006, 22:26 Uhr
Titel:
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
glennthigpen - 24.11.2006, 02:48 Uhr
Titel:
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
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007