Page 1 of 1

Printing from IBM i with Images

Posted: Thu Apr 13, 2023 5:00 pm
by bbunney
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

Posted: Thu Apr 13, 2023 6:22 pm
by vhamberg
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

Posted: Thu Apr 13, 2023 8:54 pm
by bbunney
Thank you for the information. I will definitely look into it.

Re: Printing from IBM i with Images

Posted: Tue May 09, 2023 2:08 pm
by juan11de14
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.