A possible approach is to create a user event (beforeLoad) that runs in the print context. Then, you can add the necessary data from the created from record using the methods Form.addField(...) or Form.addSublist(...).