Does anyone have experience with using the AS_PDF3 package from Anton Scheffer to create PDF's on the fly? For the most part I got all of the components I need to create a PDF except for placing an image as a header. That part seems to fails. I know that using the:
generates the header and footer information. If I put the *put_image* code within the block, then the header and footer breaks (no image and no header & footer is placed on pdf). If I place the same *put_image* code outside of set_page_proc block, then the image displays and the header and footer info also displays. If I can control 100% of the time when a new page is generated then it's no big deal, I'll just tell it to put up an image. There are times when I don't have that control and the auto generation of header and footer is needed.
I've seen Anton's code examples that show that you can place an image in the footer, but for some reason I can't get it to display the image in the header area. Has anyone been able to do this?
PS: His blog site is no longer taking questions and that is why I'm posting on here.
The header and footer procedures are prcocessed with an "execute immediate". Your variable header_jpg is not available at that point,
so the executed code will not compile and no header/footer will be shown. You will need to derive your image blob inside the header procedure.