1 |
On Tuesday 16 Aug 2011 12:50:55 Helmut Jarausch wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I've installed a GenToo system on the PC of a friend which doesn't know |
5 |
> the internals of Linux (GenToo). |
6 |
> |
7 |
> At home he has a local network with a printer (probably managed by a |
8 |
> Window system). |
9 |
> |
10 |
> Is there an easy means to configure CUPS on his system to find that |
11 |
> printer? |
12 |
> |
13 |
> Many thanks for a hint, |
14 |
> Helmut. |
15 |
|
16 |
Without a topology of your friend's machines I can only suggest options: |
17 |
|
18 |
1. He could use the MSWindows box as a server, with the printer connected to |
19 |
it via a parallel port or USB. The Linux is a client. Go to MSWindows |
20 |
Control Panel/Add-Remove Windows Components/"Other Network File and Print |
21 |
Services", then Details and select "Print Services for Unix". Then go to |
22 |
Printers and Faxes and right click to share the printer, giving it a name. |
23 |
Thereafter configure your Linux CUPS printer and point it to |
24 |
lpd://<MSWindows_IP>. Make sure that the MSWindows box allows connections |
25 |
through its firewall from your Linux box. Things may be called differently on |
26 |
a Vista/W7 GUI, you'll need to follow your nose. |
27 |
|
28 |
You could do this using Samba on the Linux machine, but it is not necessary |
29 |
and a time waste to set up and troubleshoot separately, without having to |
30 |
wonder why the printer does not work. |
31 |
|
32 |
|
33 |
2. He could use the Linux box as a print server, and MSWindows as the client. |
34 |
Walk through the cups configuration to allow the MSWindows machine to access |
35 |
the Linux box and of course let it through the firewall (if one is running). |
36 |
Also you would need to set up cups mime configuration to accept Windows PCL |
37 |
drivers as detailed here: |
38 |
|
39 |
www.gentoo.org/doc/en/printing-howto.xml#windows_pcl |
40 |
|
41 |
You could also do this using samba, but the above caveats apply. However, if |
42 |
he is going to use samba for file sharing between the two machines, then it |
43 |
follows using it for printing too. |
44 |
|
45 |
HTH. |
46 |
-- |
47 |
Regards, |
48 |
Mick |