As promised here is the reply from the developer of the software. I do not know how to attach these files so I will need to e-mail them to you. Whcih is probably better for TomDac and his disk space. If you are interested I will e-mail them immediately (as long as I'm online).
Thank you so much for the quick reply. I greatly appreciate that as I
> and many others are looking to do this. Do you mind if I pass it
along?
Best,
Jason
His Reply:
Not at all. It's published under the terms of the GPL, so you can
pretty much do what you like with it - as long as the source remains
free and open, of course.
I have attached the database2pdf.pl script to this email. You will need
to edit the script to edit the $DBSOCKET variable, which needs to be set
to the path to the SlimServer's MySQL socket file on your system.
You probably don't need to specify a username or password, and the
$DBNAME
is probably just "slimserver". Well, if you've changed any of the above
then you will need to specify them, and I assume you know what the
values
should be in that case.
There are various other configurable variables at the top of the script.
Feel free to tweak anything you like in there.
The script makes use of the following Perl modules, which will need
to be present and correct:
* PDF::Create
* DBI
* DBD::mysql
Oh, I just modified this script to connect to MySQL, as the version I
had was still configured to use SQLite. I think that the MySQL versions
of the SlimServer have been around long enough now for everyone to be
using them. If not then I've attached the SQLite version too, which
will need a similar path-related setup as described above.
Enjoy.