can't print from cups canon pixma ip4600 usb cable

Whenever I try to do this i get
Code:
/dev/ulpt0: permission denied
gnome-cups-manager tells me the same thing. kdeprint doesn't tell me anything. it just starts the job and then sets the printer to sleep. CUPS web interface (localhost:631) just says:
Code:
Description: Canon PIXMA iP4600
Location: freebsd.domain.actdsltmp
Printer Driver: Canon PIXMA iP4600 - CUPS+Gutenprint v5.2.4
Printer State: stopped, accepting jobs, published.
Device URI: usb:/dev/ulpt0
Everything works in linux, just not here. It must be some problem with USB because none of my jump drives are working either. I looked in the kernel config files, and all of the drivers and modules I think I need are already there. go figure. anyway, any help here would be greatly appreciated. If you need any more info I will be more than happy to supply it upon request.
 
I think not. now that i did that, the cups browser interface is telling me:
Code:
/usr/local/libexec/cups/filter/pstops failed
i tried to run the file in question and it gives me
Code:
/libexec/ld-elf.so.1: /lib/libc.so.7: version FBSD_1.2 required by /usr/local/libexec/cups/filter/pstops not found
and yes i did try the stuff in the linked thread. it cleared some stuff up, but it isn't quite the same.
also doing /libexec/ld-elf.so.1 gives me
Code:
Segmentation fault (core dumped)
 
ok. here's the deal: i use
Code:
/usr/local/etc/rc.d/cupsd start
and i get :
Code:
/libexec/ld-elf.so.1: /lib/libc.so.7: version FBSD_1.2 required by /usr/local/sbin/cupsd not found
/usr/local/etc/rc.d/cupsd: WARNING: failed to start cupsd
So my problem is not quite the same.
 
I could be wrong, but it sounds like you have some sort of library incompatibility problem. What FreeBSD version was your cups built to (if you installed from ports) and what version are you running now?
 
atomicplayboy said:
I could be wrong, but it sounds like you have some sort of library incompatibility problem. What FreeBSD version was your cups built to (if you installed from ports) and what version are you running now?

I am using FreeBSD 8.0 and cups was built on FreeBSD 8.0. I have tried reinstalling cups several times with no result. Curious, i 'make deinstall'-ed with ports, and then 'make && make install'-ed, but nothing happens. if i do 'make deinstall' again, it tells me cups is not installed. I guess i'll try installing manually. well, tried that. i get a nasty error message.
now i am grumpy.
*edit fixed this by updating the ports tree, but now cupsd disappeared. AAAAAUUUUGGGGHHH! does it ever end?
 
curses said:
*edit fixed this by updating the ports tree, but now cupsd disappeared. AAAAAUUUUGGGGHHH! does it ever end?

What do you mean, cupsd disappeared from where? The rc script? Did you build from ports or did you manually build it?
 
sorry. like i said, i was grumpy. I installed from ports and when i run cupsd i get the good old command not found error. same if I use Which. i believe it was in /usr/local/sbin/cupsd, but i could be mistaken. all the scripts i knew how to use are gone like /usr/local/etc/rc.d/cupsd start. Weird, huh? reinstalled using a combination of ports and packages, and now i'm back where i started!
Code:
/usr/local/libexec/cups/filter/pstops failed
and guess what?! that gives me :
Code:
/libexec/ld-elf.so.1: /lib/libc.so.7: version FBSD_1.2 required by /usr/local/libexec/cups/filter/pstops not found
trying to deinstall tells me
Code:
===>  Deinstalling for print/cups
===>   cups not installed, skipping
 
When you updated your ports tree, did you update all of your ports (through either portupgrade or portmaster)?

For whatever reason, cups seems to have been uninstalled. What happens if you do a # make install from the print/cups port directory?
 
atomicplayboy said:
When you updated your ports tree, did you update all of your ports (through either portupgrade or portmaster)?

For whatever reason, cups seems to have been uninstalled. What happens if you do a # make install from the print/cups port directory?

yup, updated the hole thing. make install from print/cups doesn absolutely nothing. if i do a make deinstall, even after make install, it tells me cups is not installed. but it is.
 
Try doing a # make reinstall. I'm not exactly sure what the difference between that and the regular "install" is, but the man page shows:

Use this to restore a port after using pkg_delete(1) when you should have used deinstall.

Perhaps your package database is confused.
 
atomicplayboy said:
Try doing a # make reinstall. I'm not exactly sure what the difference between that and the regular "install" is, but the man page shows:



Perhaps your package database is confused.

no good! it doesn't do anything. if you don't believe me:
Code:
[user@freebsd /usr/ports/print/cups]$ su
Password:
freebsd# make reinstall
freebsd#
 
The only other thing I can think of at this time is to remove that directory (that holds the print/cups port files) and update your ports tree again. That should remove any cruft that might be messing with your port install and pull a fresh copy.
 
atomicplayboy said:
The only other thing I can think of at this time is to remove that directory (that holds the print/cups port files) and update your ports tree again. That should remove any cruft that might be messing with your port install and pull a fresh copy.

sorry, but that didn't work either. I read somewhere that this sometimes happens when you don't have a sufficient power supply; i'll try hooking my computer to a different plug. well, that didn't work. the last thing I haven't tried is reinstalling. everything else works so well i'd hate to do that. maybe i can try a different printing system.
 
I don't see how the power supply would create this effect, but... *shrug*

I have another thought, or rather something to consider, that print/cups is actually just a meta port that installs the typical components in a cups setup. Perhaps the problem lies within the ports that make it up, cups-base, cups-client, etc (I would start with cups-base, as that's where the problem sounds to stem from). Go to the print/cups-base port and run a # make install. What's the output?
 
running make install in print/cups-base tells me that it can't be installed because an older version is already installed (1.3.10). I did install 1.3.10 earlier, but i deinstalled it completely, well so far as i know.
when i run make deinstall i get this
Code:
===>  Deinstalling for print/cups-base
===>   Deinstalling cups-base-1.4.2_3
cups:*:193:193::0:0:CUPS Owner:/nonexistent:/usr/sbin/nologin
running another make install doesn't give me any error messages. I'll have to attach the text as a document if you want to see the whole output.
deinstalling cups-client gives me this:
Code:
===>  Deinstalling for print/cups-client
===>   Deinstalling cups-client-1.4.2_3
pkg_delete: package 'cups-client-1.4.2_3' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
cups-base-1.4.2_3
pkg_delete: unable to completely remove directory '/usr/local/include/cups'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
 
I believe you can safely ignore those error messages. So you were able to install cups-base? After you deinstalled the cups-client, were you able to reinstall it? Are you able to startup cupsd through the rc script now?
 
I could reinstall both cups-client and cups-base. cupsd starts through the rc script. I still can't print. My cups home page looks kinda funky, though, now... not very neat. the firefox version of the page still says 1.3.10, but the konqueror version says 1.4.2 but it doesn't seem to render right. i still get the same old message:
Code:
/usr/local/libexec/cups/filter/pstops failed
i don't know if this is important, but it tells me:
Code:
Processing - "Waiting for printer to become available..."
 
It looks like pstops is part of the print/cups-image port, so go ahead and rebuild that as well. Then restart the cupsd rc script and try again.
 
I reinstalled the whole thing again. now it is telling me:
Code:
Unsupported format 'application/vnd.cups-banner'!
and with kprint i get this in a window labeled "Catastrophe!":
Code:
A print error occurred. Error message received from system:

cupsdoprint -P 'Canon-PIXMA-iP4600' -J 'KDE Print Test' -H '/var/run/cups.sock:631' -U 'samuel' -o ' multiple-document-handling=separate-
documents-uncollated-copies orientation-requested=3' '/usr/local/share/apps/kdeprint/testprint.ps' : execution failed with message:
successful-ok
I think we are getting closer to the center of the problem, though. I'll reinstall everything labeled cups, reboot, and see if that fixes it.
 
You might need to reinstall ghostscript (I believe you should be using ghostscript8) and gutenprint as well. Also, what printer driver are you using? If you're using a driver from one of those ports, that should be it, but if you're using a foomatic driver or something else, you'll probably want to reinstall that too.

*EDIT: Keep in mind that gutenprint is also a metaport, so you'll want to reinstall anything you have installed with gutenprint in its package name.
 
trying to reinstall ghostscript8 gives me this error:
Code:
gmake[1]: *** [bin/../sobin/libgs.so.8.70] Error 1
gmake[1]: Leaving directory `/usr/ports/print/ghostscript8/work/ghostscript-8.70'
gmake: *** [so] Error 2
*** Error code 1

Stop in /usr/ports/print/ghostscript8.
*** Error code 1

Stop in /usr/ports/print/ghostscript8.
I'm using the gutenprint Canon-PIXMA-iP4600 driver by the way. (surprise!) lemme finish reinstalling some stuff and i can be more specific
 
atomicplayboy said:
Try doing a # make rmconfig and rebuild with the default options.

No good. same ol' same ol'. My driver is the Canon PIXMA iP4600 - CUPS+Gutenprint v5.2.4
 
Back
Top