Integrator PDFSpoolFileService - Image Size
Posted: Thu Apr 30, 2020 1:22 am
Hi,
we are converting spool files to PDF via LANSA Integrator PDFSpoolFileService.
Now we want to embed the company's letter paper design as background into the PDF.
We have both a jpg file and a pdf document available (both files are covering a complete DINA4 page). Files for 1st page and following pages differ.
What is better / easier - using an image file or a PDF for the background?
How can I embed a jpg into the PDF document as background? With SET *IMAGES? How are the correct parameter settings for x,y,width, height when I want the image to cover the whole PDF page? How is the correct JSM command for using SET *IMAGES? How can I tell the program to use another jpg or pdf for page 2?
Or should I use the PDF - how could this work with PDF as background?
Or are there some new ways to generate a PDF from a Spoolfile that I do not know of? Maybe in Visual LANSA?
Many thanks in advance,
Joerg
we are converting spool files to PDF via LANSA Integrator PDFSpoolFileService.
Now we want to embed the company's letter paper design as background into the PDF.
We have both a jpg file and a pdf document available (both files are covering a complete DINA4 page). Files for 1st page and following pages differ.
What is better / easier - using an image file or a PDF for the background?
How can I embed a jpg into the PDF document as background? With SET *IMAGES? How are the correct parameter settings for x,y,width, height when I want the image to cover the whole PDF page? How is the correct JSM command for using SET *IMAGES? How can I tell the program to use another jpg or pdf for page 2?
Or should I use the PDF - how could this work with PDF as background?
Or are there some new ways to generate a PDF from a Spoolfile that I do not know of? Maybe in Visual LANSA?
Many thanks in advance,
Joerg