LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-04-2005, 07:56 PM   #1
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Rep: Reputation: 37
print server - linux client can't see the printer


I set up a printer on a debian sarge machine using foomatic/cups/hpijs. The printer works as I can send stuff to the printer using the debian machine.

So on the client machine I went to the cups web page. And for URI connection I have
http://192.168.0.102:631/ipp

When I try to print I get the error:
"Unable to get printer status (client-error-forbidden)!"

and on the print server, the printer is idle. I think it has something to do with permissions, but I'm not 100% sure.

Any help would be fantastic!

Thanks,
 
Old 10-05-2005, 02:55 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Just enable browsing on both and don't worry about that stuff.
CUPS will then automatically pick the printer up.

And to be able to assess whether that entry is correct or not
we'd need to know how the printer is attached to the server.

Chances are that it REALLY should look like this:
ipp://server:631/printers/queuename


Cheers,
Tink
 
Old 10-06-2005, 09:45 PM   #3
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Original Poster
Rep: Reputation: 37
how do I enable browsing? (please remember I'm limited to text on my print server)

Thanks,
 
Old 10-06-2005, 09:52 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
vim cupsd.conf
/Browsing Options

... and then start reading ;} The file is very well documented
(at least in Slackware it is) and quite self-explanatory.


Cheers,
Tink
 
Old 10-07-2005, 05:05 PM   #5
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Original Poster
Rep: Reputation: 37
did as you said and now I can see the printer.

To be more specific, I set Browsing On
and BrowsingAddress @LOCAL

However, whenever I try to do anything (such as print a test page), it gives me a page that says:

Forbidden
You don't have permission to access that on this server.

Last edited by DJOtaku; 10-07-2005 at 05:38 PM.
 
Old 10-07-2005, 05:21 PM   #6
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Original Poster
Rep: Reputation: 37
I also still have this error

"Unable to get printer status (client-error-forbidden)!"
 
Old 10-07-2005, 05:39 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Fire vim back up, and look for
Code:
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
and other similar entries underneath it. A good tip for
further assessment of cups-problems.
Stop CUPS.
Set the "Log level" from info to debug2
Delete the old log
start CUPS
attempt to print
stop CUPS
copy the newly created error_log away
Change the Log Level back to info
restart CUPS

In the saved copy of the big log look for lines that begin with
and e, and closely examine those and their surroundings.


Cheers,
Tink
 
Old 10-07-2005, 05:48 PM   #8
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Original Poster
Rep: Reputation: 37
Thanks a lot! Somehow I missed those entries - now its working! You're so awesome!
 
Old 10-07-2005, 05:59 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Most welcome :}

If you have a few seconds to spare you can click that
affero-button, too ;)


Cheers,
Tink
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing: Linux client, windows print server cavalier Slackware 3 03-02-2005 11:12 AM
Client refused to connect to printer via print server kgao Linux - Networking 3 02-10-2005 08:31 PM
Converting a parallel port input to a usb printer via a Linux box as a print server GlamZ Linux - Software 3 10-06-2004 11:26 PM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 05:37 PM
client Linux Redhat 8.0 cannot use Windows 2000 Printer Server tthai01 Linux - Networking 0 12-10-2002 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:48 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
Open Source Consulting | Domain Registration