STOP Blank Document Printing

Soumen

Soumen

Reputable Poster
Dear All,

Is there any way we can block the printing of a blank document through director script?

We have a situation where the scheduled jobs/user sometimes generate a blank JDE PDF. Since these jobs are set to Print Immediate they get printed out of the printer. Can we block printing of such blank documents through director scripts or something.

We are on createform 7.0

Thanks,
Soumen
ooo.gif
 
Is it a PDF that simply has 1 blank page and thats it?
- First use a condition to check for the existance of a data variable
- On the true side of the condition, do the normal functions like splitting, more conditions if needed and then printing, emailing, etc.
- On the false side of the condition, you can leave it empty & director will drop the page, or you can use the tools to output the blank page to a directory, then delete the file.

Or is it a blank page and THEN data?
- Use the split function first with a condition in it to split all pages individually
- Then a condition to check for the existance of a data variable
- Then on the true side of the condition, do the normal functions like splitting, more conditions if needed and then printing, emailing, etc.
- On the false side of the condition, you can leave it empty & director will drop the page, or you can use the tools to output the blank page to a directory, then delete the file.

Assuming your familiar with the basics of Director project setup, Should be pretty easy.

Mark
 
Back
Top