Generate printable page from Rich Text

I would like to be able to generate a single, very long (~40 pages) document from a bunch of rich text sources that can be printed out. When I do this, I run into 2 issues.

First, the Glide interface is shown on the top and left of the page, meaning it would be present on the document.

Second, the document is only 1 page long (fitting inside of a “window” of the Glide interface).

Is there a way to accomplish what I’m trying to do without using an external service (for example, to generate a PDF)? What would probably be easiest is to somehow turn the rich text into a simple HTML page but I’m not sure how I would do that.

Is this one-time only or do you need it to be a function for people who use your app?

Ideally it would be something that generates on the fly and could be viewed in full in the browser before printing. If it’s generated beforehand, then I can easily do that myself outside of Glide and then make it available as a PDF.

Maybe an extension like this can help.

I’d like to come up with a solution within Glide that doesn’t require any external add-ons or services.

Then I would explore creating HTML from content you have, and then convert that HTML to PDF. Though I’m still not sure what layout you want, or just packing all your “rich text” together.

I was hoping that there was a solution where I could basically have a “print” button that would print all of the rich text without the header Glide and without having to turn it into a PDF first.

I’m not aware of something like that since you mention it should be previewable as well and opposed to external solutions.

The issue with an external solution is that I would need to ask every user (which would be hundreds of people) to install a specific extension onto a specific browser, which is a bit of a tall order.

Generating a preview is easy since I basically have a Rich Text box that calls each of the things I want to show, in order, with a page break between them and going to Print would show a print preview of the page. But it looks like Glide shows content on pages as a single screen-sized window and scrolling the page is just scrolling within that one window instead of actually showing a whole page.

If you’re still interested in exploring HTML to PDF, this might be possible for you.

This will very likely be the solution for me, but I am still on the free plan and can’t implement it yet. Thanks!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.