Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Samba to Create PDF Files
Message
General information
Forum:
Linux
Category:
SAMBA
Miscellaneous
Thread ID:
00582551
Message ID:
00583480
Views:
37
>Joe
>when you get it done, would you mind shooting over a copy or instructions.. as I am totally lost.
>Bob Lee <grin>

Bob,

Well, I wasn't planning on doing it...here would be my steps though...

Using VFP, create one of the two:

1. An application that simply polls a network drive for ps files and uses the ps2pdf script file and an installation of ghostscript to convert the files to PDF.
2 Create a COM object that can be summoned on demand from client machines via CREATEOBJECTEX() (in VFP). Problem with this is that it would require a client piece on every machine...

I would opt for option 1. Windows Scripting Host might even work as long as you can figure out how to run something that polls a directory. Or write it in Delphi, VB...whatever. As long as the tool can use a timer and can call outside programs (in this case the ps2pdf BAT file) you will be in business. Just put the application onto a machine that has access to the network drive and access to an installation of ghostscript and you are ready to go!

What part are you lost on? You are right in that Linux is probably more flexible in its built-in scripting abilities and redirection capabilities. But a tiny windows app to poll a directory should be very simple...

If you need more ideas I can try to give more specifics...am a bit busy at the moment though with the shortened week and all...

JoeK
Previous
Reply
Map
View

Click here to load this message in the networking platform