HELP -------- Can't print using 3.3 Mini

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Postby Ron.W » Thu May 31, 2007 2:39

What I do know about this already :

The backends are tiny little programs which transfer the printing tasks. If they are not present, you can't print or access the webinterface. So you will probably look for them:

enter with root-privileges in a console window
ls -l /usr/libexec/cups/backend

For example, my one shows me
lrwxrwxrwx 1 root root 26 17. Apr 04:30 beh -> //usr/lib/cups/backend/beh
lrwxrwxrwx 1 root root 32 17. Apr 04:30 bluetooth -> //usr/lib/cups/backend/b luetooth
-rwxr-xr-x 1 root root 9492 19. Okt 2006 canon
-rwxr-xr-x 1 root root 9572 19. Okt 2006 epson
-rwxr-xr-x 1 root root 16156 17. Okt 2006 hp
-rwxr-xr-x 1 root root 9012 17. Okt 2006 hpfax
lrwxrwxrwx 1 root root 3 17. Apr 04:30 http -> ipp
-rwx------ 1 root root 19740 16. Okt 2006 ipp
-rwx------ 1 root root 15336 16. Okt 2006 lpd
-rwxr-xr-x 1 root root 10900 16. Okt 2006 parallel
-rwxr-xr-x 1 root root 6128 16. Okt 2006 scsi
-rwxr-xr-x 1 root root 9220 16. Okt 2006 serial
lrwxrwxrwx 1 root root 17 17. Apr 04:30 smb -> /usr/bin/smbspool
-rwxr-xr-x 1 root root 24564 16. Okt 2006 snmp
-rwxr-xr-x 1 root root 8712 16. Okt 2006 socket
-rwxr-xr-x 1 root root 11708 16. Okt 2006 usb


Sorry, if backends are missing in your system, I have really no idea how to install them, since I am new to sabayon myself. You'll have to post the results and wait for someone who better knows about all this...

Just an idea: Maybe you can emerge them seperately.

Ron.


P.S.: There is a handbook, which could be of some interest for you also: ftp://ftp.kde.org/pub/kde/printing/kdep ... ndbook.pdf
Ron.W
Simple Hen
 
Posts: 89
Joined: Fri Dec 08, 2006 20:11

Postby dnagel53 » Thu May 31, 2007 3:14

Well, here is what that command came up with...

-rwxr-xr-x 1 root root 7204 2007-05-26 15:02 beh
-rwxr-xr-x 1 root root 9108 2007-01-23 12:29 bluetooth
lrwxrwxrwx 1 root root 3 2007-05-28 15:31 http -> ipp
-rwx------ 1 root root 21044 2007-05-28 15:31 ipp
-rwx------ 1 root root 15328 2007-05-28 15:31 lpd
lrwxrwxrwx 1 root root 25 2007-05-19 01:04 nx -> //usr/lib/cups/backend/nx
-rwxr-xr-x 1 root root 11336 2007-05-28 15:31 parallel
-rwxr-xr-x 1 root root 6392 2007-05-28 15:31 scsi
-rwxr-xr-x 1 root root 10116 2007-05-28 15:31 serial
lrwxrwxrwx 1 root root 17 2007-05-26 08:35 smb -> /usr/bin/smbspool
-rwxr-xr-x 1 root root 25608 2007-05-28 15:31 snmp
-rwxr-xr-x 1 root root 9340 2007-05-28 15:31 socket
-rwxr-xr-x 1 root root 12188 2007-05-28 15:31 usb
dnagel53
Simple Hen
 
Posts: 51
Joined: Sat Oct 07, 2006 17:05
Location: UTAH

Postby Ron.W » Thu May 31, 2007 22:12

I have to admit, I'm a little confused by now.
On the one hand It seems you have all the backends installed correctly, but on the other hand cups tells you the lpd backend doesn't exist.

It looks to me like a case of misconfiguration rather than one of missing executables. To get an idea which files are to be configured in order to make your backend work, have a look at:
http://www.linuxquestions.org/linux/ans ... _Slackware
They describe in detail, which files are involved, and where these are located; take this pdf-backend as an example only to check and understand your lpd-backend.


Ron.
Ron.W
Simple Hen
 
Posts: 89
Joined: Fri Dec 08, 2006 20:11

Postby dnagel53 » Sat Jun 02, 2007 2:11

Thx Ron. I don't have enough experience to figure this out. I guess I don't get to print from Sabayon. Maybe a reinstall would work? I just don't have a clue...
dnagel53
Simple Hen
 
Posts: 51
Joined: Sat Oct 07, 2006 17:05
Location: UTAH

Postby Ron.W » Sat Jun 02, 2007 10:02

you could try in a console window with root permissions:

tail -f /var/log/cups/error_log

(or just look into the error-log using a texteditor)

maybe you can get some additional information from this.
Ron.W
Simple Hen
 
Posts: 89
Joined: Fri Dec 08, 2006 20:11

Postby dnagel53 » Sat Jun 02, 2007 16:01

Well, there are some interesting things in that error log. I looked at the entire log and see a lot of unauthorized responses, even though I used the root password when asked. Here is the result of the tail command, I notice that I no longer have any filters?

I [31/May/2007:19:19:07 -0600] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [31/May/2007:19:19:07 -0600] Configured for up to 100 clients.
I [31/May/2007:19:19:07 -0600] Allowing up to 100 client connections per host.
I [31/May/2007:19:19:07 -0600] Using policy "default" as the default!
I [31/May/2007:19:19:07 -0600] Full reload is required.
I [31/May/2007:19:19:07 -0600] Loaded MIME database from '/etc/cups': 34 types, 0 filters...
I [31/May/2007:19:19:07 -0600] Loading job cache file "/var/cache/cups/job.cache"...
I [31/May/2007:19:19:07 -0600] Full reload complete.
I [31/May/2007:19:19:07 -0600] Listening to 127.0.0.1:631 on fd 2...
I [31/May/2007:19:19:07 -0600] Listening to /var/run/cups/cups.sock on fd 3...
dnagel53
Simple Hen
 
Posts: 51
Joined: Sat Oct 07, 2006 17:05
Location: UTAH

Postby Ron.W » Sat Jun 02, 2007 18:22

Full reload complete.
Listening to 127.0.0.1:631 on fd 2...


Looks like your cups-server is working already.

This means for me, that you should be actually able to connect to the cups http-interface. Try it again, please. Check also your proxy-settings (firefox has its own settings in a menue). Maybe localhost 127.0.0.1 isn't excluded from proxy and your browser asks any name-server on the internet for this adress... Try explicitly 127.0.0.1 instead of localhost... Try it also in Konqueror, or in any other browser you have installed. This is what I would do next if I had this problem.

Sorry, I don't even have an idea what is a filter here. But I understand I'll have to read more about it :)

Ron.
Ron.W
Simple Hen
 
Posts: 89
Joined: Fri Dec 08, 2006 20:11

Postby dnagel53 » Sat Jun 02, 2007 21:03

I still get 404 Not Found in Konqueror and Firefox using http://127.0.0.1:631. I guess if I want to print I may be faced with a reinstall. Not what I was looking forward to at this point...
dnagel53
Simple Hen
 
Posts: 51
Joined: Sat Oct 07, 2006 17:05
Location: UTAH

Postby Ron.W » Sat Jun 02, 2007 23:45

The last thing I can advise you to do is: re-emerge cups completely. Maybe something went wrong the first time. I've read somewhere missing pages and filters are usually a sign of bad installation of cups-package.
But I never emerged anything until now in a gentoo-style system like sabayon myself (if this was debian with apt-get i could give you some additional hints...)

I really hope someone else will step into the breach and tell you what to do now.

Ron.
Ron.W
Simple Hen
 
Posts: 89
Joined: Fri Dec 08, 2006 20:11

Postby dnagel53 » Thu Jun 07, 2007 1:24

Well, I had hoped that someone else was able to jump in on this...
Oh well, I guess it is time to do something different. Even the x86-64 version does this.

:cry:
dnagel53
Simple Hen
 
Posts: 51
Joined: Sat Oct 07, 2006 17:05
Location: UTAH

Previous

Return to Hardware

Who is online

Users browsing this forum: No registered users and 3 guests