LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-26-2009, 04:42 PM   #1
lsutiger
LQ Newbie
 
Registered: Aug 2007
Posts: 9

Rep: Reputation: 0
Can print through 3rd party software, but not from gnome apps


I recently upgraded to ubuntu 9.04 and I am now having problems printing to a shared windows printer. I did not have this issue with 8.04.

Here are the specifics:
I installed the printer through the printing configuration gui. I have to authenticate in order to have access at the installation point. It has a checkbox to remember password. I check it off. At this moment I can print a test page and print whatever I throw at it for a while.

But after moments (I have never tried to time it), I can no longer print from any gnome app, ie envince, eye of gnome. I get the following error
Code:
Failed to print document
Can't prompt for authorization
Here is dmesg
Code:
[1720489.839816] type=1503 audit(1245677356.464:799): operation="inode_permission" requested_mask="::r" denied_mask="::r" fsuid=7 name="/var/run/samba/unexpected.tdb" pid=16846 profile="/usr/sbin/cupsd"
But I can still print a test page....

Now for a little twist....I can print from 3rd party apps such as adobe acrobat and open office (the printing app used by these program are different), but with some work. I need to open the printing console after sending the print job and authorise, then release the document.

I have searched the web for about a month to find a solution, but have not found much. I have posted on the Ubuntu forums with no luck. I hope one of the gurus here can help me out.

Thanx in advance,
lsutiger
 
Old 07-27-2009, 09:11 AM   #2
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
You have encountered a very troublesome bug that's been around for a while. https://bugs.launchpad.net/ubuntu/+s...ps/+bug/283811

It and the duplicate bugs listed at the top left, have a number of workarounds. None of them work perfectly. You can probably print one page per startup of CUPS. So if you do
Code:
sudo /etc/init.d/cups restart
you should be able to print. (Sorry.)

Most of the workarounds involved modifying /etc/cups/printers.conf. However the modifications seem to get overwritten. You can prevent this by doing
Code:
sudo chattr +i /etc/cups/printers.conf
(Although I noticed this screws things up if you forget to remove the 'i' when cups gets upgraded.

For now you'll just have to find an acceptable work-around; hang in there though!
 
Old 07-28-2009, 03:31 PM   #3
lsutiger
LQ Newbie
 
Registered: Aug 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you!

Thank you for your quick reply. Unfortunately, neither of those options work for me. I have tried killing cups, editing the printers.conf file (some admissions on launchpad stated some things that worked for certain ppl), added the attributes and restarted cups. Notta.

Appreciated!
 
Old 07-28-2009, 07:58 PM   #4
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
Did you tinker around with cupsd.conf in your search for a solution? Maybe you should reset it to its default state, delete and readd the printer, then try the workaround in the bug listing.
 
  


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
TiP: Download your desired video without 3rd party software. Hitboxx General 6 09-10-2007 11:06 PM
Linksys Media Center Extender + 3rd party linux server software kurrupt Linux - Hardware 0 10-15-2005 09:13 AM
Installation of 3rd party software on Knoppix RohanShrivastav Linux - Software 3 10-21-2004 07:47 PM
Call for sticky concerning third party download apps and DL Gnome Squall Slackware 11 09-04-2004 05:06 PM
SUSE 8.1 installing 3rd party software wingmaker Linux - Newbie 1 11-26-2002 11:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:53 PM.

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