[link|http://www.voicenet.com/~broom/pnt_sub.jpg|http://www.voicenet....broom/pnt_sub.jpg]
The goal here is to be able to save, load, and
"submit" jobs. So everything you see should
be populated by the previously saved job if
there is one.
The elipses buttons launch either file or dir
pick boxes which then populate the text box.
The email address will become a multi-select with
the ability to add more.
The data file "Get Data" button launches a
multi-select pick box which then populates the
list.
Other tabs such as "Spool Sheet" and "Job Control"
are mostly fill in the blank or check box forms.
Status and Logs will have to get an ODBC connection
to a PostGreSQL instance running on the spooler box.
The back-end spooler engine will post messages and
logs to it, which in turn can be read "here".
The "SGE Status" will possibly poll an local web
server that has CGIs that show the status, or I'll
do some SOAP (possibly) interface into it.
The final result is a flat file that looks something like
this:
\nJOB=P9250A09\nPROJECT=P9250\nCLEAR_LOCKS=0 \n#\n#\n##################################################\n#\n# PrintNet Workflow file\n#\n##################################################\n#\nPNT_WFD=newwidenelnet.wfd\n#\n##################################################\n#\n# 1 or more data files. List them in order that\n# you want them spooled. They must be the output\n# from the production step. The information\n# such as segment, lrecl, etc, should be in the previous\n# control file that was used to create them.\n#\n##################################################\n#\n#\nDATA_FILES=\nccip_p9250_t09_a09_seg_zp2_k01_s0001.txt\nccip_p9250_t09_a09_seg_zp2_k01_s0002.txt\nccip_p9250_t09_a09_seg_zp2_k01_s0003.txt\nccip_p9250_t09_a09_seg_zp2_k01_s0004.txt\nccip_p9250_t09_a09_seg_zp2_k01_s0005.txt\nccip_p9250_t09_a09_seg_zp2_k01_s0006.txt\nccip_p9250_t09_a09_seg_zp2_k01_s0007.txt\nccip_p9250_t09_a09_seg_zp2_k01_s0008.txt\nccip_p9250_t09_a09_seg_zp2_k01_s0009.txt\nccip_p9250_t09_a09_seg_zp2_k01_s0010.txt\nEND=DATA_FILES\n#\n#\n##################################################\n
I have a program sweeping a directory that the
workstatations have Samba mounted (Thanks Greg).
They drop the file there, it gets submitted
into the spooling engine, stuff happens, email
gets sent, spool control sheets are printed / emailed,
proofs are produced, really big spool files get placed
on the final print control server, approval happens,
print run commences.
The various drop down boxes in this program should be
externally populated by reading an INI file so a
programmer is not required to add things to the drop-down
lists. I can't find a ReadINI/WriteINI interface.
I could have sworn it was in the last VB I worked in
years ago!
So now do you have a better idea of what my questions
mean?