Printing from IBM i with Images
Printing from IBM i with Images
I need to be able to print a page of information from IBM i that includes an image of a customer's signature. Do I need third party software to do that? How do IBM i shops do that? We are currently on the 7.2 OS but we are slowly upgrading to 7.4. Thanks.
Re: Printing from IBM i with Images
One way of printing images is to use the AFPRSC keyword in the PRTF - your PRTF has to be *AFPDS type. You should be able to find documentation and examples for it pretty easily.
Re: Printing from IBM i with Images
Thank you for the information. I will definitely look into it.
-
- Posts: 8
- Joined: Mon May 08, 2023 3:50 pm
Re: Printing from IBM i with Images
The first thing you should do is download an AFP printer driver and print a page with the image of the signature you want, take it to the machine and create an *OVL.
https://www.ibm.com/support/pages/creat ... er-drivers
You can then merge this *OVL (image) with the print output with a simple OVRPRTF.
OVRPRTF FILE(&File) TOFILE(&ToFile) +
DEVTYPE(*AFPDS) PAGESIZE(27.94 21.59 *UOM)
UOM(*CM) FRONTOVL(&OVL) TOSTMF(&FILPDF)
WSCST(*PDF)
The previous one is the simplest way, there are more complex ways but it already requires more knowledge in AFP.
https://www.ibm.com/support/pages/creat ... er-drivers
You can then merge this *OVL (image) with the print output with a simple OVRPRTF.
OVRPRTF FILE(&File) TOFILE(&ToFile) +
DEVTYPE(*AFPDS) PAGESIZE(27.94 21.59 *UOM)
UOM(*CM) FRONTOVL(&OVL) TOSTMF(&FILPDF)
WSCST(*PDF)
The previous one is the simplest way, there are more complex ways but it already requires more knowledge in AFP.