LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can't print to network printer (https://www.linuxquestions.org/questions/linux-networking-3/cant-print-to-network-printer-145082/)

rickenbacherus 02-11-2004 10:58 PM

Can't print to network printer
 
I have an HP deskjet 3520 working rather nicely on 192.168.0.108 port 631.
on 192.168.0.108 CUPS says "device URI: usb://3520/
It's using ipp.

I can't print from networked machines. How should I tell CUPS where the printer is?
I have configured it many ways and the test page supposedly prints successfully but there's no action at the printer. Any ideas? Thanks.

rickenbacherus 02-12-2004 07:10 AM

OK maybe some success. The CUPS web interface found this printer on its own:

HP DeskJet 3520 Foomatic/hpijs (recommended) on 192.168.0.108
Description: HP DeskJet 3520
Location: home
Printer State: idle, accepting jobs.

When I try to print test page I get:

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

So what exactly should I share or change the permissions of on 192.168.0.108?

rickenbacherus 02-12-2004 07:26 AM

OK I got it. It was /etc/cups/cupsd.conf. I added my network machines name in
2 places:

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.100
</Location>


Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.100
#Encryption Required
</Location>

Restart the cupsd and voila!


All times are GMT -5. The time now is 03:53 AM.