LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-23-2013, 04:13 PM   #1
LightSeeker
Member
 
Registered: Nov 2007
Distribution: Manjaro, Win7
Posts: 41

Rep: Reputation: 0
Printing problem in network printing, strange cups "error" message


Hey,

I have a Xerox Phaser 3100MFP printer set up on my home server that's running a Linux Mint. downloaded drivers from the Xerox webpage for Linux and installed them on all my machines. When prinitng locally, with the USB cable plugged into the computer, printing is mostly without problems. Printing over network is a different story though.

Windows printing is a hit or miss sometimes, but the thing I can't understand is, that Linux printing stopped working some time ago. I don't get any real errors in cups logs, all I get are messages that are displayed under stopped jobs. Those messages usually say: "booklet tool id is 'some number'" OR "rastertoxeroxbin pid is 'some number'".

I haven't been able to find anything on the internet so far that would explain to me what these messages mean.

My configuration file is:

LogLevel warn
MaxLogSize 0
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Share local printers on the local network.
Browsing On
BrowseLocalProtocols dnssd
DefaultAuthType Basic
WebInterface Yes
<Location />
# Allow shared printing and remote administration...
Order allow,deny
Allow all
</Location>
<Location /admin>
# Allow remote administration...
Order allow,deny
Allow all
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
# Allow remote access to the configuration files...
Order allow,deny
Allow all
</Location>
<Policy default>
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
<Policy authenticated>
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>


Does anyone have any idea on what might be causing this?
 
Old 10-24-2013, 03:58 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,837

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
If your LinuxMint installation 64bit, then the problem is the Xerox drivers: they are 32bit and need certain 32bit libraries to be installed.

Here is an article at Arch Linux that details how to identify and add the necessary libraries. Just substitute apt-get commands for the pacman commands given in the article.

You may need to research the LinuxMint repo for the correct package names.
 
Old 10-24-2013, 11:21 PM   #3
LightSeeker
Member
 
Registered: Nov 2007
Distribution: Manjaro, Win7
Posts: 41

Original Poster
Rep: Reputation: 0
Thank you for your answer. The installation is a 32 bit LMDE edition. Here is the uname -a output:

Linux **** 3.10-2-486 #1 Debian 3.10.5-1 (2013-08-07) i686 GNU/Linux

However, since the printing seems to be affeected only in wireless, I guess that it might be more likely, that the problem has something to do with the network configuration?

When I run a Windows OS in my Virtual machine, I can print with no problem (though a member of my family has trouble printing from their Win native computers; Samba is configured to "user client driver = yes))
 
Old 10-25-2013, 06:31 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,837

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Quote:
However, since the printing seems to be affeected only in wireless
Happens in wireless, and in Linux, actually.

The error is typical of missing libraries. You should still go through the article I linked to find out which library you are missing.
 
Old 10-26-2013, 04:21 AM   #5
LightSeeker
Member
 
Registered: Nov 2007
Distribution: Manjaro, Win7
Posts: 41

Original Poster
Rep: Reputation: 0
Okay, I'll check it out and report back (perhaps some libraries gt wiped during upgrading to the 13.10 version), thank you!
 
Old 10-26-2013, 05:42 AM   #6
LightSeeker
Member
 
Registered: Nov 2007
Distribution: Manjaro, Win7
Posts: 41

Original Poster
Rep: Reputation: 0
This is the output of readelm -d /usr/lib/cups/filter/rastertoprinterbin


Dynamic section at offset 0x11014 contains 26 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libcupsimage.so.2]
0x00000001 (NEEDED) Shared library: [libstdc++.so.6]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x00000001 (NEEDED) Shared library: [libcups.so.2]
0x0000000c (INIT) 0x8049044
0x0000000d (FINI) 0x8057a38
0x00000004 (HASH) 0x8048148
0x6ffffef5 (GNU_HASH) 0x80483ac
0x00000005 (STRTAB) 0x8048934
0x00000006 (SYMTAB) 0x80483f4
0x0000000a (STRSZ) 912 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000015 (DEBUG) 0x0
0x00000003 (PLTGOT) 0x8059110
0x00000002 (PLTRELSZ) 584 (bytes)
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0x8048dfc
0x00000011 (REL) 0x8048ddc
0x00000012 (RELSZ) 32 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x6ffffffe (VERNEED) 0x8048d6c
0x6fffffff (VERNEEDNUM) 2
0x6ffffff0 (VERSYM) 0x8048cc4
0x00000000 (NULL) 0x0


When I give these names into synaptic or apt-get it said that these packages cannot be found. I did have a version of stdc++ installed, but there were several other versions available as well.Do I have to search them some other way, rather than literally?
 
Old 10-26-2013, 08:54 AM   #7
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,837

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Quote:
0x00000001 (NEEDED) Shared library: [libcupsimage.so.2]
0x00000001 (NEEDED) Shared library: [libstdc++.so.6]
0x00000001 (NEEDED) Shared library: [libm.so.6]
0x00000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x00000001 (NEEDED) Shared library: [libcups.so.2]
These will be part of one or more packages. One way to find them in your repository: start synaptic. In the upper right corner is a search box. Just type in the name of the lib (e.g. libstdc) and the packages which contain the so will come up. You can then select it/them for installation. It should not be necessary to install dev packages. If a dev package is necessary, synaptic will tell you that.

If you have difficulty with that technique, there is still google to search for the packages which contains the libs.
 
Old 10-26-2013, 01:03 PM   #8
LightSeeker
Member
 
Registered: Nov 2007
Distribution: Manjaro, Win7
Posts: 41

Original Poster
Rep: Reputation: 0
Okay, the search with the original names like "libcupsimage.so.2" doesn't return anything. However searching with just "libcupsimage" (and similar", while taking the end number as a pointer as to what version the library should be, I see that I pretty much already have all of those libraries installed?
 
Old 10-26-2013, 02:19 PM   #9
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,837

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
At this point, I'm running out of ideas. There are on two more things I can think of to try.

1) Try printing from the command line. Any errors beyond what the cups logs show will be displayed in the terminal.

2) Give Xerox support a call. Have them read this thread, then suggest what your should try next.
 
Old 10-27-2013, 02:29 PM   #10
LightSeeker
Member
 
Registered: Nov 2007
Distribution: Manjaro, Win7
Posts: 41

Original Poster
Rep: Reputation: 0
Okay, thank you for your effort and answers, I'll see what can be done.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS printing error: ="/usr/local/libexec/cups/filter/rastertosamsungspl failed ted_chou12 Linux - Software 0 08-04-2012 05:22 AM
GNOME USB / CUPS conflict - printing halts at "processing" kirbybrown Linux - Newbie 0 08-14-2009 11:40 AM
Printing from XP to a Slug via CUPS - "Get-Printer-Attributes successful-ok " wibbleypants Linux - Networking 0 01-28-2009 12:24 PM
Linux printing CUPS - won't carriage return - text "slides off" to right slinx Linux - Server 3 09-25-2008 08:22 AM
CUPS v6 Windows Driver Printing Preferences--"Operation could not be completed" meself88 Linux - General 1 07-12-2006 07:44 AM


All times are GMT -5. The time now is 09:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration