I received an email from someone with a question about converting a spooled file with an embedded JPG file to PDF. I believe that this is supported but don't see the problem in his code. If anyone has any ideas please comment. Below is the email.
"I am by no means a AFPDS expert so I am doing a lot of trial and error. We currently have a print file that prints a barcode and that converts to PDF with no problems where I can see the text and the barcode (of course the barcode is just a font). When I try a test to include a JPG image I don't see the image in the generated PDF file using Acrobat Reader. So my question is does the current PDF conversion support JPG files?"
OVRPRTF FILE(AFPTSTP) DEVTYPE(*AFPDS) WSCST(*PDF) TOSTMF('/fecginew/pdf/afptst.pdf')
MO = '1234567890';
Print file code
A R RPTD
A O 2'MO#'
A MO 10A O 12
A R RPTI AFPRSC('0001028.jpg' +
A *JFIF 10.2 11.2 +
A (*PATH *CWD))