A little frustrated with network printer setup with CUPS
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > A little frustrated with network printer setup with CUPS




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    A little frustrated with network printer setup with CUPS  
Madhusudan Singh


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-16-04 01:46 AM

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.





[ Post a follow-up to this message ]



    Re: A little frustrated with network printer setup with CUPS  
Madhusudan Singh


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:29 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register