[FreeNX-kNX] "Nxspooler 1.0: helping some people to print with FreeNX"
Toni Asensi Esteve
asmond at orange.es
Thu Apr 8 07:30:58 UTC 2010
Hello to everyone:
While FreeNX 1.0 arrives... some people have problems being connected to a
server using a FreeNX session and trying to print the result of remote
applications but in their local printer.
This was our case, too, so we have created the utility called NxSpooler,
that allows that particular files created in the server (normally by an
application and sometimes by the user) can be printed in the local printer of
the user.
More precisely: NxSpooler 1.0 monitors if files with certain extensions (for
example PDF) appear in a set shared resource. NxSpooler opens every new file
that finds so that the user can look into the file and print it or save it; when
the user closes the viewer application that shows the file, NxSpooler will
delete the file if possible. NxSpooler is normally used together with a FreeNX
session where a remote program (or sometimes the user) creates files and saves
them in the shared resource for a later automatic opening by NxSpooler in the
computer of the user (for example, to print the file)
For an advanced use: NxSpooler adds some very basic and easy client/server
capabilities: if an application in the server creates a file with the extension
"nxspooler-open" in the shared resource, NxSpooler will try to open this file,
look inside and if there's a path written there, open this path in the client.
The path can be a file, a folder, the address of a shared resource, etc. This
is useful, for example, for an application in the server to: open the default
file browser in the client to manage the contents of another concrete shared
resource, so that the user can immediatly open those server files, save his
files in the server, etc.
NxSpooler works in Linux and Windows, and probably in other operating
systems. It is easily translatable, for this you can use as a template the
"nxspooler_es.ts" file or (if you want to see the environment of the string
being translated) use Qt Linguist, see: http://qt.nokia.com/doc/linguist-
translators.html and http://qt.nokia.com/doc/linguist-manual.html
NxSpooler is free software and it can be downloaded from the project page
http://developer.berlios.de/projects/nxspooler/
--
Aron Galdón Ginés and Toni Asensi Esteve.
More information about the FreeNX-kNX
mailing list