659 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Best practices
0
votes
1
replies
73
views
Creating a PDF file of a webpage
I have one audit module which I need to implement in which I have to create one PDF document of a single webpage. The PDF document should consist of five pages which divides my webpage (there are ...
0
votes
0
answers
49
views
HeaderSettings / FooterSettings not working
Goal: Add Header and Footer to generated pages.
IAction in controller responsible for the generation:
[HttpPost]
public async Task<IActionResult> BuildAndDownloadChecklistExport([FromBody] ...
1
vote
0
answers
82
views
Include header on all pages except on page 1, converting html to pdf using chromium playwright
We are using chromium playwright for converting html to pdf where header footer watermark are being set on pdf. But header need to be added on all pages except on page 1. Following is the snipped from ...
1
vote
0
answers
78
views
Puppeteer PDF generation fails on Elastic Beanstalk with "Could not find Chrome" error
I am trying to generate PDF invoices using Puppeteer in my Node.js app. Locally, the code works perfectly and generates the PDFs as expected.
However, when I deploy the app to Elastic Beanstalk (...
0
votes
1
answer
79
views
mPDF adds blank first page when rendering large HTML content with <table>
I'm generating a PDF from HTML using mPDF, and when the document contains a large amount of content, an almost blank first page is added unexpectedly. This only happens with longer documents — shorter ...
0
votes
0
answers
111
views
iText XMLWorker: PDF generation fails with "Invalid nested tag tr found, expected closing tag td" when data contains special characters
I know this issue has come up before, but I haven't found any solutions that work.
I'm using iText's XMLWorker to generate PDFs from HTML templates in a Java backend.
Recently, I started getting this ...
0
votes
1
answer
154
views
How to add a repeating header after injecting a page break at a specific table row?
I'm trying to generate a PDF using html2pdf.js from HTML that includes a dynamically filling table. The table may span multiple pages, and since I don't know where the page breaks are going to be, I ...
1
vote
0
answers
104
views
Rendering MathJax when converting JS html to pdf with iText7 in C# .Net 8.0
I am trying to evaluate JS and convert from HTML to PDF with iText7 in C# with Selenium WebDrive and headless chrome following this example. I am doing this mainly to try and render Math equations ...
1
vote
1
answer
147
views
Generating PDF with Puppeteer: View Not Fully Captured and Leaflet Tiles Not Fully Loaded
I have an Angular application that contains only a Leaflet map. I've built an Express.js server using Puppeteer to capture the map and generate a PDF.
I pass the zoom level and map layer as URL ...
1
vote
0
answers
80
views
Generate a PDF of a dynamically bound Angular webpage and allow it to be downloaded from the Dashboard page
I have a project made with Angular and Django and MongoDB as database.
I have a page at http://localhost:4200/#/print/layout
This Print-Layout page is properly getting all the data from an API which ...
1
vote
0
answers
93
views
my flutter app works on emulator while can't work on real device
I was building a flutter App and I want to convert html file to pdf the app works well on the emulator which means that my code is good but when I run the app on a real Android device the app can't ...
0
votes
0
answers
60
views
Result report conversion HTMLtoPDF in SerenityBDD framework using itextpdf
Hi have a Serenity BDD framework and I am trying to convert my index.html report to itextpdf but its not generating the report I have checked the paths and the java class but it not generating , I ...
1
vote
0
answers
83
views
chrome headless html to pdf
i am trying to convert html to pdf with chrome headless but i am running into some authentication issue
new ProcessBuilder("chmod", "-R", "777", "/usr/share/oscar-...
0
votes
1
answer
191
views
Issue with wkhtmltopdf
So in my project i when i am submitting a form i get the html to a action class and then clean it up as per my requirement and load the view form page in the backend for wkhtmltopdf to be able to ...
0
votes
0
answers
46
views
Vuejs HTML2pdf Content Break in mid way
I'm using the vue-html2pdf library to generate PDFs from dynamic data in my Vue.js application. I'm trying to control page breaks within the PDF, especially for a grid layout where each item is ...