51,136 questions
Tooling
1
vote
0
replies
32
views
How to automate converting a static PDF template into a dynamic JRXML file (handling alignment & Arabic RTL)?
The Context
We are using JasperReports within a Spring Boot application to generate complex, multi-page documents (like government agreements).
Currently, our template creation process is entirely ...
Advice
0
votes
1
replies
43
views
Running Javascript in Android Pdf Reader
Is it actually possible to execute JavaScript within Android PDF readers, regardless of the version or app type? My understanding is that simply embedding the following script into the PDF should be ...
Best practices
0
votes
4
replies
106
views
Online pdf editing with scrolling and update information automatically
Thank you all for this platform.
Advice
0
votes
2
replies
47
views
Putting 2 existing pdf pages side by side (half size) in a new pdf without loosing resolution
In Swift, iOS, I have a pdf file with 2 pages.
I want to put the 2 side by side, on a new page.
For this, I have to scale initial pages half size and rotate .pi/2.
I managed to achieve this by ...
0
votes
0
answers
75
views
Flutter PDF compression increases file size instead of reducing it [closed]
I am trying to compress PDF files in a Flutter app, but every time the output file becomes larger than the original PDF instead of smaller.
I have already tried multiple packages:
...
Tooling
2
votes
5
replies
94
views
Modify pdf text objects on linux
I would like to achieve some tasks on pdf files using free softwares.
The main task is: take a pdf, change the color of all texts and paths that have a specific color, and save this new pdf.
An ...
0
votes
1
answer
39
views
This document is trying to connect to: wsl.localhost
I'm trying to generate a PDF from a web application using Puppeteer. When I open the PDF in Acrobat Reader I get a warning: "This document is trying to connect to: wsl.localhost" The PDF ...
Tooling
0
votes
2
replies
58
views
How to generate a clean PDF from a web page without print dialog artifacts (sticky headers, ads, broken images)?
I'm trying to build a Python script that takes a URL, extracts the article content, converts it to a clean PDF, and uploads it to Google Drive. The goal is to archive 10-20 articles per day for ...
Tooling
2
votes
2
replies
83
views
Is there a browser-only JavaScript solution to unlock a password-protected PDF?
I’m trying to unlock a password-protected PDF entirely in the browser using JavaScript (no server).
What I’ve tried:
pdf-lib
PDFDocument.load(bytes, { password }) → throws “Input document is ...
Best practices
0
votes
1
replies
56
views
Replacing PDF Library with a Windows Protected Print compatible library
We are working on a Windows Desktop Application written in C++ and MFC
We have a PDF printing library integrated. It works similar to Microsoft Print to PDF (but we have a set of control features ...
0
votes
1
answer
60
views
Error message when attempting to display PDF
I am working in the Drupal 11 CMS with the Solo Theme to display WW2 letters in pdf format. The code was generated through Github CoPilot AI. Rather than placing pdf.min.js and pdf.worker.min.js in ...
1
vote
1
answer
169
views
OutOfMemoryError when converting docx to PDF with Docx4J
Having a .docx file, I need to convert it to a .pdf format. I use Docx4J to do the conversion; more specifically:
<dependency>
<groupId>org.docx4j</groupId>
...
0
votes
1
answer
66
views
dscf7 signature not displaying when embedding to a pdf using tcpdf
I am trying to embed a signature from dscf7 signature to a pdf using tcpdf plugin, dscf7 is a wordpress plugin for contact form 7 where if a user signs the signature gets stored in wp-content/uploads/...
0
votes
2
answers
63
views
Embed document in PDF with Rust pdf-writer crate
I would like to use the low-level pdf-writer crate in version 0.14.0 (latest) to add the liberation sans font to my PDF.
So far, I have
use pdf_writer::{Finish, Name, Pdf, Rect, Ref, Str, Obj};
use ...
0
votes
1
answer
75
views
Crystal Reports PDF export produces large files and merged PDF size grows linearly
I am working on modernizing a legacy console application (.NET Framework 2.0 → 4.8).
The application generates invoice PDFs using Crystal Reports.
Previously to generate PDF we are using Acrobat PDF ...