1 |
On Tuesday 16 December 2008, Mark Knecht wrote: |
2 |
> Hi Willie, |
3 |
> |
4 |
> On Tue, Dec 16, 2008 at 1:48 PM, Willie Wong <wwong@×××××××××.edu> wrote: |
5 |
> > (Sorry if this one is a dupe... my SSH connection went kaplui and I |
6 |
> > wasn't quite sure whether the mail got sent) |
7 |
> > |
8 |
> > On Tue, Dec 16, 2008 at 01:04:25PM -0800, Mark Knecht wrote: |
9 |
> >> I'm looking around for up to date instructions/wikis/howtos on how |
10 |
> >> to set up Samba on my CUPS server to allow me to print from Windows. |
11 |
> > |
12 |
> > Why SAMBA? |
13 |
> > |
14 |
> > I've recently set up printing for a small home network following this |
15 |
> > guide: http://www.owlfish.com/thoughts/winipp-cups-2003-07-20.html |
16 |
> > |
17 |
> > Basically you just need |
18 |
> > |
19 |
> > 1) Correct permissions in /etc/cups/cupsd.conf |
20 |
> > a) You need the line "Port 631" to allow remote access |
21 |
> > b) Maybe (I am not sure about this one) you need "Browsing On" |
22 |
> > to allow sharing? |
23 |
> > c) You need the section for "<Location />" to have "Allow From |
24 |
> > 192.168.0.*" or whatever netmask you use. |
25 |
> > 2) Either |
26 |
> > a) A working printer that you can print locally from the cups |
27 |
> > server via "lpr -P<NAME>". In this case you can just tell |
28 |
> > the Windows computers to print to |
29 |
> > http://<cups server ip>:631/printers/<NAME> |
30 |
> > using a generic postscript driver. |
31 |
> |
32 |
> Is this true for non-postscript printers? If so it's a great solution. |
33 |
> |
34 |
> I can get to the printers page on the server's Cups' GUI: |
35 |
> |
36 |
> http://192.168.1.59:631/printers |
37 |
> |
38 |
> It gives me a long, ugly descriptive name for the printer so I tried: |
39 |
> |
40 |
> lpr -P HP_PSC_1600_series_USB_1 optimize_mythdb.sh |
41 |
> |
42 |
> which did print correctly so I'm good to go so far. |
43 |
> |
44 |
> > or |
45 |
> > b) A working printer for which you have the Windows drivers. You |
46 |
> |
47 |
> The Windows driver for this printer does not support network printing |
48 |
> so I don't think this is an option. |
49 |
|
50 |
You shouldn't need a MS Windows network printing enabled driver to do this |
51 |
(with an lpd printer), nor a Samba client on your Linux boxen for that |
52 |
matter. Have a look here: |
53 |
|
54 |
http://forums.opensuse.org/archives/sls-archives/archives-linux-tweaks/archives-howtos-discussions/378052-printing-linux-lpd-printer-no-samba-required.html |
55 |
|
56 |
-- |
57 |
Regards, |
58 |
Mick |