10-16-04 01:46 AM
Madhusudan Singh wrote:
> Hi
>
> I just setup a CUPS printer on my slackware router machine.
> Accessed it
> using localhost:631/admin and was able to print to it (was unable to
> browse the printers to print a test page - but since lp -d hpoj (hpoj -
> name of the queue) does the job, I am not worried about it, though I am
> curious about this.).
>
> My firewall script reads (relevant portions) :
>
> IPPPORT=631
> LAN_IP_RANGE="192.168.1.0/24"
> LO_IP="127.0.0.1"
>
> $IPTABLES -I INPUT -p tcp -s $LAN_IP_RANGE --dport $IPPPORT -j
> ACCEPT $IPTABLES -I INPUT -p tcp -s $LO_IP --dport $IPPPORT -j
> ACCEPT
>
>
> The funny thing was that port 631 (ipp) was not listed in
> /etc/services
> and /etc/protocols. Had to hand edit them.
>
> Now, the LAN above is a wireless network to which only one Debian
> powered
> laptop is connected :
>
> I edited the CUPS printer setup :
>
> Device URI: http://192.168.1.1:631/ipp/lp0 (lp0 is the name of the
> parallel
> port to which the printer is connected)
>
> (192.168.1.1 is the IP address of the Slackware router with
> firewall).
>
> Now when I try to print a test page from the laptop, I get :
>
> "Unable to get printer status (client-error-forbidden)!"
>
> When I tried to use the KDE printer tool to add the queue, it
> complained
> that it could not find the queue on the server !
>
> I like the idea behind CUPS, but the lack of documentation
> pertaining to my
> network setup and continued inability to setup CUPS correctly is
> frustrating. It used to be so much easier with LPD.
>
> Any ideas ? If I am able to sort out this nonsense, I promise to
> document
> my experience so that it eases the experience of others.
>
> Thanks.
Further, I have the latest foomatic stuff installed, but HP OfficeJet K80xi
drivers are not available on the Debian machine (they are available on the
Slack router/print server).
[ Post a follow-up to this message ]
|