HOWTO: How to print in Pardus to a remote Pardus + printer

From PardusWiki
Revision as of 15:40, 2 December 2008 by Atolboo (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Problem

I have Pardus instaleld on a PC, and my Canon PIXMA printer is connected to it by means of USB.
The PC is connected to an ADSL router.
Also connected to the ADSL router but then wireless is my Pardus laptop.
I have a simple question but tried lots of features in Tasma/KDE Print but I can not manage to solve it.
How can I print from my Pardus laptop to the printer that is connected to my Pardus PC?

Manual how to solve this problem

The computer with the printer connected is called the "server-PC" and all other computers in the network are called "client-PC".

Ip address of the computer with the printer connected

Before continuing it is highly recommended to give the computer with the printer connected a fixed IP address. Look in http://en.pardus-wiki.org/HOWTO:_Setup_a_fixed_IP_address_for_your_computer how to do this.

Settings on server-PC

Change settings of firewall:
Open Tasma > Internet &Network > Firewall Config
  Advanced > +
     Incoming
     Port Range = 631
     Accept
  OK > Apply > Back
Close Tasma
Change of /etc/cups/cupsd.conf (see <== marker)
# Administrator user group...
SystemGroup pnpadmin
Port 631    <== add this line
.
.
# Only listen for connections from the local machine.
.
.
# Restrict access to the server...
<Location />
  Order allow,deny
  Allow @LOCAL    <== add this line
</Location>

Settings on client-PC

Change of /etc/cups/client.conf (see <== marker)
ServerName localhost
ServerName IP address of the server-PC    <== example ServerName 192.168.0.205
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox