View previous topic :: View next topic |
Author |
Message |
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Sun Jan 12, 2003 5:48 pm Post subject: CUPS Problem |
|
|
When i try to print to my printer DeskJet, which is connected to a different computer, i get this error
Code: | Forbidden
You don't have permission to access the resource on this server. |
But it works fine on my laptop, which has the same settings in cups
laptop - cups 1.1.18
desktop - cups 1.1.18
server - cups 1.1.14(didn't upgrade because this error) |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Sun Jan 12, 2003 7:18 pm Post subject: |
|
|
Probably there's something wrong with your host(name)
Open a webbrowser: http://localhost:631 (cups web server); choose a printer and move your mouse over the entire row of buttons for one printer, and check the links: probably, one or two buttons do not point towards http://localhost:631, but to http://<yourmachinename>.
That's the origin of the problem I think.
The easiest fix: edit /etc/cups/cupsd.conf
and add: ServerName localhost
Or, in case of network-printing trouble, make sure the Servername is equal to your machine name in /etc/hosts.
I hope you understand what I mean. I'm to tired to write decent sentences I guess |
|
Back to top |
|
|
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Sun Jan 12, 2003 8:45 pm Post subject: |
|
|
Thanks, it seems to work now(test page at least), but why didn't i have to set that up on laptop?
edit
is it because on my laptop in /etc/hosts i have
Code: | 127.0.0.1 localhost <compname> |
and on my desktop i have
Code: | 127.0.0.1 localhost
192.168.1.2 <compname> |
|
|
Back to top |
|
|
|