<br>
<br><tt><font size=2>Vivek <vivek@visolve.com> wrote on 13/10/2009
12:31:13:<br>
<br>
> Hello Chris,<br>
> <br>
> I tried to make it working. But no luck.<br>
> <br>
> Why client shouldn't provide the appropriate ppd file but windows
client <br>
> provides the correct ppd.<br>
</font></tt>
<br><tt><font size=2>Not quite sure what you mean . . .</font></tt>
<br>
<br><tt><font size=2>> <br>
> Did i missed anything ?...<br>
> <br>
> Please share your views to identify the root cause.</font></tt>
<br>
<br>
<br><tt><font size=2>I thought your problem was a Busy Printer message
??</font></tt>
<br>
<br><tt><font size=2>I think "Network host a.b.c.d is busy" etc
is the message cups socket://</font></tt>
<br><tt><font size=2>gives if it finds the IP address but doesn't get a
connection . . . .</font></tt>
<br>
<br>
<br>
<br>
<br><tt><font size=2>Regarding ppd files, if you want the horrible truth
. . . </font></tt>
<br>
<br><tt><font size=2>With a windows client, you have to choose the appropriate
ppd driver</font></tt>
<br><tt><font size=2>from the list, which either . .</font></tt>
<br>
<br><tt><font size=2>launches gs ( or whatever ps2printer filter it is
configured with)</font></tt>
<br><tt><font size=2>to convert *nix postscript to the correct format for
a non PS</font></tt>
<br><tt><font size=2>printer . . .</font></tt>
<br><tt><font size=2>or</font></tt>
<br><tt><font size=2>doesn't if you have a PS compatible printer, it spools
PS.</font></tt>
<br>
<br><tt><font size=2>Once you have chosen, FreeNX remembers your choice
and gives you</font></tt>
<br><tt><font size=2>the option to stick with it or re-configure.</font></tt>
<br>
<br><tt><font size=2>The .ppd files are copied and stored below the cupsd's
own working</font></tt>
<br><tt><font size=2>directory</font></tt>
<br><tt><font size=2>ie ~/.nx/C-Session-id/cups/ppd/*.ppd</font></tt>
<br>
<br>
<br>
<br><tt><font size=2>ipp:// PS to a *nix PS printer also has .ppd files.</font></tt>
<br>
<br><tt><font size=2>With a *nix client using ipp:// printing , you are
printing via</font></tt>
<br><tt><font size=2>three cupsds in a chain, the user-land one on the
server, a user-land</font></tt>
<br><tt><font size=2>one on the client and the system one on the client
(this is to avoid</font></tt>
<br><tt><font size=2>giving away your password, not that I want your password).</font></tt>
<br>
<br>
<br><tt><font size=2>If you set the server to ENABLE_CUPS_SEAMLESS=1, FreeNX
attempts</font></tt>
<br><tt><font size=2>to download the .ppd file from the client.</font></tt>
<br>
<br><tt><font size=2>If you installed the cupsd-wrapper script on the client
( did you ???),</font></tt>
<br><tt><font size=2>then the user-land cupsd on the client will have copies
of the .ppd</font></tt>
<br><tt><font size=2>files which the wrapper downloaded from the client
machine system</font></tt>
<br><tt><font size=2>cupsd, but then renamed as your-printer_nxdl.ppd.</font></tt>
<br>
<br><tt><font size=2>These are then UP-loaded TO the server for use by
the user-land</font></tt>
<br><tt><font size=2>cupsd on the server.</font></tt>
<br>
<br><tt><font size=2>With me so far ????</font></tt>
<br>
<br><tt><font size=2>If you don't use the wrapper then the FreeNX curl
job saves the</font></tt>
<br><tt><font size=2>"File not found" HTML page in the ppd directory
under ~/.nx/config</font></tt>
<br><tt><font size=2>as a your-printer.ppd file even though it isn't any
such thing.</font></tt>
<br>
<br><tt><font size=2>BUT . . . .</font></tt>
<br>
<br><tt><font size=2>This doesn't matter, because the non .ppd file downloaded
by</font></tt>
<br><tt><font size=2>FreeNX ISN'T USED and FreeNX, or more properly cups,
which</font></tt>
<br><tt><font size=2>helpfully sets up the printer anyway, sets it to spools
raw</font></tt>
<br><tt><font size=2>PS through to wherever you told it to go, in our case
down the</font></tt>
<br><tt><font size=2>chain of cupsds, where, by a miracle good defaulting,
it is</font></tt>
<br><tt><font size=2>finally processed by the .ppd file on the client system
cupsd.</font></tt>
<br>
<br><tt><font size=2>cups ignores the -P .ppd switches to lpadmin if it
doesn't</font></tt>
<br><tt><font size=2>like what it sees there which is most of the time.</font></tt>
<br>
<br><tt><font size=2>This of course is why it is the best to use seamless.</font></tt>
<br><tt><font size=2>No .ppd issues . . . though not nessessarily as you
were</font></tt>
<br><tt><font size=2>expecting it to work.</font></tt>
<br>
<br><tt><font size=2>If you don't use ENABLE_CUPS_SEAMLESS=1 but instead
elect</font></tt>
<br><tt><font size=2>to select a .ppd driver from the dialogue, any PS2windoze</font></tt>
<br><tt><font size=2>conversion needed is done by the user-land cupsd on
the server</font></tt>
<br><tt><font size=2>and you need to spool RAW along the chain to the printer.</font></tt>
<br>
<br>
<br>
<br><tt><font size=2>So you say you have it working on windows ???</font></tt>
<br>
<br><tt><font size=2>What error messages are you getting exactly in *nix??</font></tt>
<br>
<br><tt><font size=2>How far is the spool going??</font></tt>
<br>
<br><tt><font size=2>Do you have your cupsds set to accept application/octet-stream??</font></tt>
<br>
<br><tt><font size=2>etc</font></tt>
<br>
<br><tt><font size=2>And how do you know it's not an "appropriate
ppd file"</font></tt>
<br>
<br><tt><font size=2><br>
> <br>
> ~Vivek<br>
> <br>
> ________________________________________________________________<br>
> Were you helped on this list with your FreeNX
problem?<br>
> Then please write up the solution in the FreeNX Wiki/FAQ:<br>
> <br>
> </font></tt><a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ"><tt><font size=2>http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</font></tt></a><tt><font size=2><br>
> <br>
> Don't forget to check the NX Knowledge
Base:<br>
> </font></tt><a href=http://www.nomachine.com/kb/><tt><font size=2>http://www.nomachine.com/kb/</font></tt></a><tt><font size=2>
<br>
> <br>
> ________________________________________________________________<br>
> FreeNX-kNX mailing list --- FreeNX-kNX@kde.org<br>
> </font></tt><a href="https://mail.kde.org/mailman/listinfo/freenx-knx"><tt><font size=2>https://mail.kde.org/mailman/listinfo/freenx-knx</font></tt></a><tt><font size=2><br>
> ________________________________________________________________<br>
</font></tt>