HOWTO: How to print in Pardus to a remote Pardus + printer
From PardusWiki
(Difference between revisions)
(→Settings on client-PC) |
|||
| Line 34: | Line 34: | ||
</Location> | </Location> | ||
==Settings on client-PC== | ==Settings on client-PC== | ||
| − | : | + | :Add (as root) the following two lines to the file /etc/cups/client.conf: |
ServerName localhost | ServerName localhost | ||
| − | ServerName IP address of | + | 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] | ||
Revision as of 19:54, 16 August 2010
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
- 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]