<br><tt><font size=2>playerum <controle.um@gmail.com> wrote on 20/08/2010
13:44:02:<br>
<br>
> Hi, again.<br>
> <br>
> I read a lot of stuff about local printing, but i'm stucked.<br>
</font></tt>
<br><tt><font size=2>Printing to windows wasn't finished in FreeNX 0.7.3
and</font></tt>
<br><tt><font size=2>only works with some patching.</font></tt>
<br>
<br><tt><font size=2>Some distros have patched theirs but I'm not sure
about</font></tt>
<br><tt><font size=2>madriva.</font></tt>
<br>
<br><tt><font size=2>You will need to get rid of </font></tt>
<br>
<br><tt><font size=2> ENABLE_CUPS_SEAMLESS="1"
</font></tt>
<br><tt><font size=2> ( ="0"
)</font></tt>
<br>
<br><tt><font size=2>first though, else you are trying to download a ppd
file from</font></tt>
<br><tt><font size=2>windows.</font></tt>
<br>
<br><tt><font size=2>And you need</font></tt>
<br>
<br><tt><font size=2> ENABLE_CUPS_SERVER_EXPORT="1"</font></tt>
<br>
<br><tt><font size=2>I think that's the default though.</font></tt>
<br>
<br>
<br><tt><font size=2>You are best installing the linux nxclient on your
the server also,</font></tt>
<br><tt><font size=2>and making sure your nxdialog uses it all the time,
even if </font></tt>
<br><tt><font size=2> $DIALOG_TYPE =
"printer"</font></tt>
<br><tt><font size=2>(about line 80)</font></tt>
<br>
<br><tt><font size=2>This should allow you to choose the .ppd for your
printer,</font></tt>
<br><tt><font size=2>without wating 5 mins for the list to appear.</font></tt>
<br>
<br><tt><font size=2>Choose the .ppd, don't spool raw (postscript) . .
.</font></tt>
<br>
<br>
<br><tt><font size=2>Check if a userland cupsd is starting for your nx
session and</font></tt>
<br><tt><font size=2>check which cupsd your nx session thinks it should
be</font></tt>
<br><tt><font size=2>spooling to.</font></tt>
<br>
<br><tt><font size=2>Check the </font></tt>
<br>
<br><tt><font size=2> $CUPS_SERVER</font></tt>
<br>
<br><tt><font size=2>env var, to see if it points to ~/.nx/C-host-port-"session-id"/cups/cups.sock</font></tt>
<br>
<br><tt><font size=2>It doesn't get set properly without patching.</font></tt>
<br>
<br>
<br><tt><font size=2>You need to check /usr/lib{,64}/cups/backend/nxsmb</font></tt>
<br><tt><font size=2>to see if it is patched to change</font></tt>
<br>
<br><tt><font size=2>nxsmb:// to smb:// (line 43 or so)</font></tt>
<br>
<br><tt><font size=2>else smbspool won't understand it. . . .</font></tt>
<br>
<br><tt><font size=2>If you have lib64 libraries in nxsmb, make sure nxsmb
can</font></tt>
<br><tt><font size=2>find </font></tt>
<br>
<br><tt><font size=2> libnxredir.so.0</font></tt>
<br>
<br><tt><font size=2> which may well be in lib</font></tt>
<br>
<br><tt><font size=2>etc</font></tt>
<br>
<br><tt><font size=2>etc</font></tt>
<br>
<br>
<br><tt><font size=2>I have users printing to XP, but my nxnode is pretty
much</font></tt>
<br><tt><font size=2>rebuilt to get it going as I want ( no dialogs if
the ppd is set up</font></tt>
<br><tt><font size=2>etc )</font></tt>
<br>
<br><tt><font size=2>> Maybe someone can help me.<br>
</font></tt>
<br><tt><font size=2>It's best to have a fully patched FreeNX, but hardly
anyone seems</font></tt>
<br><tt><font size=2>to use smb spooling, so you are kind of on your own
. . . .</font></tt>
<br>
<br>
<br><tt><font size=2>> <br>
> My system:<br>
> Mandriva 2010.1<br>
> FreeNX 0.7.3<br>
> NX Client 3.4.0-7<br>
> <br>
> I configured the Windows XP NX Client > Services -> Enable printer
and<br>
> file sharing and choose my local printer.<br>
</font></tt>
<br><tt><font size=2>You will of course need a printer share available
and set up</font></tt>
<br><tt><font size=2>in the nxclient with a valid login . . . OK you did
that . . . .</font></tt>
<br>
<br><tt><font size=2>Let me know how you get on.</font></tt>
<br>
<br><tt><font size=2>I don't mind helping you to get it going (if I have
the </font></tt>
<br><tt><font size=2>time free, of course)</font></tt>
<br>
<br>