# \#pdf

**URL:** https://community.appfarm.io/tag/pdf/16.md

[Latest](https://community.appfarm.io/latest.md) · [Categories](https://community.appfarm.io/categories.md) · [Tags](https://community.appfarm.io/tags.md)

---

## [Struggling to preview PDFs with PDF reader](https://community.appfarm.io/t/struggling-to-preview-pdfs-with-pdf-reader/2229)

<div class="topic-metadata">

**Author:** [@oscar.harestad](https://community.appfarm.io/u/oscar.harestad)\
**Replies:** 4\
**Last updated:** [February 12, 2026, 8:11am UTC](https://community.appfarm.io/t/struggling-to-preview-pdfs-with-pdf-reader/2229 "2026-02-12T08:11:51Z")

</div>

Hi! In our apps, we are diplaying PDFs using the PDF Reader component in Appfarm. This usually works very well, apart from the following two cases. The pages in some PDFs will overlap when using the PDF reader componen…

---

## [PDF size optimization including images](https://community.appfarm.io/t/pdf-size-optimization-including-images/1715)

<div class="topic-metadata">

**Author:** [@sgjeilo](https://community.appfarm.io/u/sgjeilo)\
**Replies:** 3\
**Last updated:** [January 5, 2026, 10:16am UTC](https://community.appfarm.io/t/pdf-size-optimization-including-images/1715 "2026-01-05T10:16:20Z")

</div>

Hi, Appfarm community I’m encountering an issue with PDF generation in Appfarm using the “Generate Document” action. The PDFs are becoming extremely large - for instance, three images totaling only 10 MB are producing a…

---

## [Exporting rich text with images as PDF](https://community.appfarm.io/t/exporting-rich-text-with-images-as-pdf/2066)

<div class="topic-metadata">

**Author:** [@michael](https://community.appfarm.io/u/michael)\
**Replies:** 0\
**Last updated:** [October 7, 2025, 1:32pm UTC](https://community.appfarm.io/t/exporting-rich-text-with-images-as-pdf/2066 "2025-10-07T13:32:49Z")

</div>

Hi! Is it possible to include the image embedded in the rich text object when converting them to .pdf using the “Generate document” action? I can successfully get all the text, tables and other elements from the rich t…

---

## [Converting word documents to PDF](https://community.appfarm.io/t/converting-word-documents-to-pdf/1917)

<div class="topic-metadata">

**Author:** [@maxim.christensen](https://community.appfarm.io/u/maxim.christensen)\
**Replies:** 0\
**Last updated:** [June 25, 2025, 12:39pm UTC](https://community.appfarm.io/t/converting-word-documents-to-pdf/1917 "2025-06-25T12:39:17Z")

</div>

I’m currently working on a code action with the following objectives: Populate predefined fields in a Word document using variables from various sources Convert the resulting Word document to a PDF The main challenge …

---

## [Generate PDF and save to file object or as base64 string](https://community.appfarm.io/t/generate-pdf-and-save-to-file-object-or-as-base64-string/1836)

<div class="topic-metadata">

**Author:** [@Preben](https://community.appfarm.io/u/Preben)\
**Replies:** 3\
**Last updated:** [May 8, 2025, 8:44pm UTC](https://community.appfarm.io/t/generate-pdf-and-save-to-file-object-or-as-base64-string/1836 "2025-05-08T20:44:14Z")

</div>

Hi , I’m using the html2pdf example to generate a pdf from the app. But how can save it to a temp file object or as a base64 string? Hope someone has solved this before :smiley:

---

## [Converting a .pdf to base 64](https://community.appfarm.io/t/converting-a-pdf-to-base-64/1450)

<div class="topic-metadata">

**Author:** [@havardthun](https://community.appfarm.io/u/havardthun)\
**Replies:** 1\
**Last updated:** [October 15, 2024, 12:40pm UTC](https://community.appfarm.io/t/converting-a-pdf-to-base-64/1450 "2024-10-15T12:40:40Z")

</div>

Hi. Trying to upload a .pdf file then convert it to base64 before sending it as a string to a Dynamics endpoint. So far the function is working fine for very small .pdf’s (less than 50 kb), but not larger. Is there any …

---

## [PDF size too big for email. Optimizing file size](https://community.appfarm.io/t/pdf-size-too-big-for-email-optimizing-file-size/781)

<div class="topic-metadata">

**Author:** [@Sondre](https://community.appfarm.io/u/Sondre)\
**Replies:** 2\
**Last updated:** [October 26, 2023, 12:35pm UTC](https://community.appfarm.io/t/pdf-size-too-big-for-email-optimizing-file-size/781 "2023-10-26T12:35:42Z")

</div>

Hi, We have a case where the generated PDF sometimes gets too large to send. And we are wondering if someone has experience with optimizing file size i Appfarm generated PDFs. As per now the images are relatively low re…

---

## [Generate a PDF from container elements in the App](https://community.appfarm.io/t/generate-a-pdf-from-container-elements-in-the-app/621)

<div class="topic-metadata">

**Author:** [@thalv](https://community.appfarm.io/u/thalv)\
**Replies:** 3\
**Last updated:** [August 16, 2023, 2:23pm UTC](https://community.appfarm.io/t/generate-a-pdf-from-container-elements-in-the-app/621 "2023-08-16T14:23:10Z")

</div>

Hi, we have an analytics page in the app where the requirement is that we are able to export all the graphs to a PDF report. The “print page” functionality is not sufficient, so We were playing around with the idea of as…

---

## [Page Break on printing](https://community.appfarm.io/t/page-break-on-printing/398)

<div class="topic-metadata">

**Author:** [@Yassine.tebib](https://community.appfarm.io/u/Yassine.tebib)\
**Replies:** 3\
**Last updated:** [April 13, 2023, 9:59am UTC](https://community.appfarm.io/t/page-break-on-printing/398 "2023-04-13T09:59:15Z")

</div>

Hello Appfarm. we have a small issue with printing on appfarm. we have sometimes some blocks that can not be broke to have a nice looking when printing. ( for example showing some steps of a product ) is it possible to…

---

## [Changing file name/MIME type for a persistent file](https://community.appfarm.io/t/changing-file-name-mime-type-for-a-persistent-file/325)

<div class="topic-metadata">

**Author:** [@lars\_dtc](https://community.appfarm.io/u/lars_dtc)\
**Replies:** 3\
**Last updated:** [March 7, 2023, 1:46pm UTC](https://community.appfarm.io/t/changing-file-name-mime-type-for-a-persistent-file/325 "2023-03-07T13:46:54Z")

</div>

Hi! We creating file objects through a appfarm service endpoint with the create file object action node with an URL from Amazon S3. I need a way to change the file name of the file to something human readable with th…

---

## [Export rich text as pdf](https://community.appfarm.io/t/export-rich-text-as-pdf/168)

<div class="topic-metadata">

**Author:** [@SigurdEileras](https://community.appfarm.io/u/SigurdEileras)\
**Replies:** 0\
**Last updated:** [January 11, 2023, 1:04pm UTC](https://community.appfarm.io/t/export-rich-text-as-pdf/168 "2023-01-11T13:04:12Z")

</div>

Hi:) I have some rich text stored as a rich text data type in the database and I want to export this to a PDF where it’s still formatted nicely and I keep the same text element that is used in the rich text, but it’s di…

---

## [Is there a way to print out a PDF document without downloading it?](https://community.appfarm.io/t/is-there-a-way-to-print-out-a-pdf-document-without-downloading-it/47)

<div class="topic-metadata">

**Author:** [@lequeuxa](https://community.appfarm.io/u/lequeuxa)\
**Replies:** 1\
**Last updated:** [December 2, 2022, 10:02am UTC](https://community.appfarm.io/t/is-there-a-way-to-print-out-a-pdf-document-without-downloading-it/47 "2022-12-02T10:02:36Z")

</div>

Is there a way to print out a PDF document without downloading it? I have tried to open the file in a new window with the PDF viewer fullscreen and then print the view but it does not work
