In recent times, many App developers have faced the challenge of how to generate a printable invoice (or other document) WITHOUT using CSS or Webhooks or the like.
My suggestion: Generate a web page that contains all the Invoice information. From there the user can print out the web page in the usual way. They can even print to PDF.
This can be done by creating a Glide Page that shares a Glide table with your Glide App. Now all you need to do is store the invoice info in the shared Glide table and then add a button in the app that generates a link to the Glide Web-page (opens the web-page or emails the link or copies link to clipboard, etc…). The web page can be formatted to look like an Invoice, complete with graphics that are also stored in the shared Glide Table.
In order to serve up the correct invoice for each user, the Glide Page can have an input field that asks for a unique value, which is displayed in the App. A nice benefit with this approach is that users can retrieve the invoice at their convenience as many times as required.
I have tested this concept and it seems to work well.
I’m assuming one can also setup a new Invoice screen? Instead of another Glide Table as a new Glide page is really only “another screen” or am I missing something here?
I have in-app invoices, and yes, you can simply print the screen or print to PDF, but the problem for me was that it only printed the part of the screen that’s physically visible at the moment. If you have to scroll to see everything then it won’t print everything. It’s been a while since I’ve tried. That was with Apps. Maybe it works better with Pages and prints everything beyond the scroll line???
Are you showing content where you have to scroll? Which OS/Browser are you using?
I’ve only ever been able to print only what is currently showing on the screen in Pages. I’ve seen this limitation in both Chrome and Safari on my Mac.
Hello, in my use case, I use a google extension from my computer that does this job for you, what it does is that it takes a screenshot of your page and sends you the option to print the entire page.
Great idea… the specific closed group I’m wanting this for are already using screen grabs on other workflows so it works for them. Though for most users this is not ideal.
In my case I use make.com with a webhook to be triggered by open link in a browser and return back webhook response to an html page to load with a script embedded in the html to trigger print so it will show print directly
So what you will need is to design a html page you can simply use google docs and export html
Or use word to html online tools to convert word to a html code
Yes your web browser typically prints as many pages as required to print the entire web page (Chrome or Explorer). Or the user can override and only print selected pages as per the usual print options.
In my usage case I would design the web page to fit on 1 page.
Here you go guys the HTML
This is a sample of printing QR Codes for an inventory system and the project title for hardware items
In this case, I used the deep screen link from glide so the user can scan from their phones the QR it will redirect them to the project details in the glide and in a very fast time all project details even if the app is private it will work and won’t expose data
I want to stress that this avoids use of any advanced skills like web-hooks, google extensions or CSS. It’s based on using standard Glide no-code apps and pages.