LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-09-2008, 02:11 PM   #1
wibbleypants
LQ Newbie
 
Registered: Jun 2008
Location: Spain
Distribution: Ubuntu & Unslung
Posts: 7

Rep: Reputation: 0
Printing via CUPS: Puppy works but not Ubuntu


A brand new clean install of Ubuntu 8.04 tells me it's printed when it hasn't. I look at the cups access log and it says "Not authorised" - that's the local cups. The printer is on a slug and the slug cups doesn't see the print job.

Just set up a fresh install of Puppy on a laptop on the same network and printed perfectly - so no problem with the slug or it's cups setup I assume.

Oh, the machine with Ubuntu had Mint (7.?) on it before and that printed ok. Before installing Puppy on the lappy, I tried Ubuntu on there. It wouldn't print either.

This kind of suggests to me a problem with 8.04. Googling reveals that one or two others have had the same problem, but I've seen no sign of a solution or confirmation that it is a problem with 8.04.

Oh, forgot to mention - the cups server on the Ubuntu box prints a test page successfully, as does the printer installation program. Try and print from any other app and nada.

Anyone have a suggestion?

Cheers.
 
Old 07-10-2008, 01:34 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,971
Blog Entries: 11

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
Hi,

And welcome to LQ!

What do you see in the cups error_log for the successful
print jobs (test pages)?

And the obvious things: compare the puppy cupsd.conf with
the ubuntu one. The fact that the test pages work suggests
that it's just a config issue, not a problem with the cups
install as such.


Cheers,
Tink
 
Old 07-19-2008, 10:49 AM   #3
wibbleypants
LQ Newbie
 
Registered: Jun 2008
Location: Spain
Distribution: Ubuntu & Unslung
Posts: 7

Original Poster
Rep: Reputation: 0
Log files

Ok. Here goes:

The log files after a failed print of a web page from browser:

http://paulcarmichael.org/cups/access_log_19-7.txt
http://paulcarmichael.org/cups/error_log_19-7.txt

and 2 minutes later the test page:

http://paulcarmichael.org/cups/acces...st_page_ok.txt
http://paulcarmichael.org/cups/error...st_page_ok.txt

I haven't personally modified the cupsd.conf. When I have the puppy switched on I'll do a compare.

Here's the one from the ubuntu box:

http://paulcarmichael.org/cups/cupsd.conf.txt

Cheers.

Paul.
 
Old 07-20-2008, 09:08 AM   #4
wibbleypants
LQ Newbie
 
Registered: Jun 2008
Location: Spain
Distribution: Ubuntu & Unslung
Posts: 7

Original Poster
Rep: Reputation: 0
I copied the cupsd.conf from the puppy (very basic config) and it made no difference at all to the ubuntu. Still prints test page but nothing else. It's something to do with users ie; the test page uses the correct user, but nowt else does.

Tried from command line:

paul@ubuntu:~$ sudo lpr <filename>
lpr: Unauthorized
paul@ubuntu:~$

So the only user that can print is cups itself.

This is the one thing that really makes linux difficult for most folk. Security is one thing, but for someone coming from that other environment it's a nightmare. I'd happily set security to "None", but I fear that's impossible.
 
Old 07-22-2008, 08:46 AM   #5
wibbleypants
LQ Newbie
 
Registered: Jun 2008
Location: Spain
Distribution: Ubuntu & Unslung
Posts: 7

Original Poster
Rep: Reputation: 0
Talking STOP PRESS!!! - Fixed

After months of banging my head against a wall, I now have a solution to this problem, and *lots* of other people must have suffered the same thing.

It seems that by default, Ubuntu puts this line in printers.conf:

AuthInfoRequired negotiate

Comment this out and hey presto.

Now to try and get the XP box printing...
 
  


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
Ubuntu Printing to a CUPS Server? carlosinfl Ubuntu 1 04-25-2007 01:01 PM
Network Printing using CUPS 1.1.23 Puppy to WinXP annienygma Puppy 1 08-12-2006 02:36 AM
Whats the difference between CUPS printing and Samba shared printing? depam Linux - Software 1 03-17-2006 01:56 PM
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM


All times are GMT -5. The time now is 01:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration