HOWTO: How to print in Pardus to a remote Pardus printer
From PardusWiki
Contents |
Problem
- I have Pardus installed 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 "server-PC"
It is highly recommended to give the computer with the printer connected a fixed IP address. Look in this page 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 with [Alt+F2] kdesu kwrite /etc/cups/cupsd.conf + [Run]
# Administrator user group... SystemGroup pnpadmin Port 631 <== add this line . . # Restrict access to the server... <Location /> Order allow,deny Allow @LOCAL <== add this line </Location>
- (see <== marker for change)
- Save change and close Kwrite.
Settings on client-PC
Change of /etc/cups/client.conf with [Alt+F2] kdesu kwrite /etc/cups/client.conf + [Run]
ServerName localhost ServerName IP address of the server-PC <== example ServerName 192.168.0.205
- (see <== marker for change)
- Save change and close Kwrite.
Configuration of printer.
[Tasma]>{Peripherals]>[Printers]>{Add}>{Add Printer/Class...}
[Next >]
[Remote CUPS server (IPP/HTTP)]
[Next >]
{Anonymous (no login/password))}
[Next >]
Host: = IP address of the server-PC
Port: = 631
[Next >]
Select the printer.
[Next >]
Select the {Manufacturer} and {Model}
[Next >]
Select the recommended driver (if not working select the simplified version)
[Next >]
Test the printer
[Next >] (3x)
Supply a name for the printer
[Next >] (2x) [Back] and close Tasma
Important
Restart all computers to apply all the changes.