Hi Chesser,
What platform are you on? If it is windows you can use dos commands in webfocus procedures. In Dos you can write the commands to zip the file with PKZIP or Winzip32 .
I already used dos commands in a focus procedure but I never tried to zip a file with dos commands. This
link will show you how to do this in DOS.
But before you can use the DOS commands you need to tell Webfocus that the next set off commands are Dos commands.
So type:
-DOS followed by your dos-commands
Now I think you need to do it in 2 steps.
Step1: create your pdf and save it somewhere(filedef)
Step2: issue the Dos command for zipping the file like this
-DOS Pkzip –a c:\temp\PDFREPORT.zip “C:\My Documents\Report.pdf”
or
-DOS winzip32 -a "c:\My Documents\Report.pdf" c:\temp\PDFREPORT.zip
Let me know if this works for you?
Dirk JJI