We have Sage 100c version 2022 with Operations Management and would like to Print the Work Ticket with Attachments

I have created a custom Work Ticket report setting with a subreport. The subreport uses the JT_WorkTicketAttachments file. The main report links to the sub report by SalesOrderNo and WTNumber. I have placed an image placeholder on the sub report detail section and used Format Graphic to set the Graphic Location equal to {JT_WorkTicketAttachments.FileName}.

This works perfectly for a .jpg image file but does not work for .pdf files. No matter what the Graphic Location is set to be it will not read it if it is a .pdf.

If anyone has any thoughts on how to make this work for .pdf files it would be greatly appreciated.

As an alternative I would like to prepare a script that would read through the JT_WorkTicketAttachments file and print the attachments using the default windows program then launch the Print button on the Work Ticket Printing screen