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

From PardusWiki
(Difference between revisions)
Jump to: navigation, search
(Settings on server-PC)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
= Problem=
+
= Introduction=
:I have Pardus instaleld on a PC, and my Canon PIXMA printer is connected to it by means of USB.
+
This is a manual how to make the settings for printing on a printer which is connected to a computer with Pardus and conneted to a network.
: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".
 
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==
+
 
 +
The printer on the server-PC should be installed and fully funtional.
 +
 
 +
==IP address of the server-PC==
 
Before continuing it is highly recommended to give the computer with the printer connected a fixed IP address.
 
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.
 
Look in http://en.pardus-wiki.org/HOWTO:_Setup_a_fixed_IP_address_for_your_computer how to do this.
 +
 
==Settings on server-PC==
 
==Settings on server-PC==
 
:Change settings of firewall:
 
:Change settings of firewall:

Latest revision as of 20:11, 16 August 2010

Contents

Introduction

This is a manual how to make the settings for printing on a printer which is connected to a computer with Pardus and conneted to a network.

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

The printer on the server-PC should be installed and fully funtional.

IP address of the server-PC

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 System Settings > Firewall Manager
  When there is a mark at {Block incoming connections} >[Edit] and add 631 to Allowed Port Numbers > [OK]
Close System Settings
Change (as root) the file /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

Add (as root) the following two lines to the file /etc/cups/client.conf:
ServerName localhost
ServerName IP.address.of.server-PC    <== example ServerName 192.168.0.205
Add printer in Printer Configuration:
[System Settings] > [Printer Configuration] > [New Printer] > [New Network Printer] > {Internet Printing Protocol (ipp)}
  and fill-in at Host: {IP.address.of.server-PC}    <== example 192.168.0.100
  select [Find Queue...] and select the printer > [OK] > [Verify...]
Select manufacturer [> Forward] select {Models} and {Driver}
[> Forward] > Enter {Printer Name} {Description} {Location} [OK]
[Print Test Page] and if successful [Apply]
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox