Print Attatchment Field

Hi, I am looking for a workaround to print from attachment fields (via airtable) without previewing or downloading them. Is this something that already exists?

Currently I have a print button that just prints the page, but it doesn’t do anything about attachments:

There are two different cases here.

If the attachments are images only, the simplest route is to render the Airtable attachment field as an Image or Image Gallery in the Item Details block and use print CSS to include that block. The browser can then print what is already in the page DOM.

For PDFs or mixed files, the normal Softr page-print button will not reliably print the attachment contents. A workable flow is:

  • add a record-level Print attachments button;
  • call a Softr workflow or API endpoint with the current record ID;
  • fetch the current Airtable attachment URLs server-side, combine PDFs and supported images into one short-lived print document, and return a print route;
  • open the system print dialog from that route, with a clear error when a file type is unsupported.

Airtable attachment URLs expire after a short time, so I would fetch them at click time rather than store them in Softr. I would also keep the Airtable token server-side and verify that the logged-in user can access the record before returning any file.

Are the attachments PDFs, images, or mixed, and can one record contain more than one file? That determines whether the first route is enough.

TinyOps can implement the PDF/JPG/PNG version for $399 fixed within three business days: one Softr page, up to five attachments per record, access checks, one draft-record pilot, setup notes, one revision, and seven days of defect support. Reply here or message TinyOpsStudio if that scope fits.