Pack a source CSV inside a PDF field handout
Admin ·
Send a printable field handout with its editable source data in one PDF. Add the CSV as an attachment so the recipient can save the original rows in a spreadsheet.
Attach the field readings to the handout
Select Load field packet example. The host is field-packet.pdf. The attachment is a 27-byte CSV with the display name café.csv and the description Field readings for the north route.
Choose Embed files. The report shows one file embedded and one page. Save field-packet-with-files.pdf. The page still reads Field packet, and the attachment list contains café.csv.
PDF Association — ISO 32000-2 document formatPoppler pdfdetach reference manual
Check the saved attachment’s name and bytes
Open the copy in a reader with an Attachments panel or reopen it in Extract Embedded Files from PDF. Confirm that café.csv has the expected name and description. Download it and open it as UTF-8 text.
The header is station,reading and the data row is Zürich,17. The file includes an LF after each row. Use the 27-byte count to check that a spreadsheet import kept the same source attachment.
Add another file alongside existing attachments
Open the saved PDF as the host and attach a second file. Give it its own display filename before saving a new copy. Two spellings that differ only by case or a canonically equivalent accent can collide on common filesystems.
Reopen the result and compare the attachment list. A distinct name and a short description help the recipient choose the right file.
Common questions
What parts of the PDF does this operation edit?
The new bytes are saved in the document catalog’s embedded-files name tree. The original page content, page dimensions and other catalog name entries carry over to the copy.
Does the recipient need the original CSV as a separate download?
The CSV bytes are inside the saved PDF. A reader with attachment support can save them from the PDF itself.