51,684 questions
0
votes
0
answers
58
views
Printing Thermal Receipt Bills using Python
I am trying to write a small script to print the pdf file generated via ReportLabs, Unfortunately, I do not find much inputs for my requirements.
I also tried to convert my PDF into an Image object ...
0
votes
1
answer
38
views
Specific JavaScript for a Fillable PDF
I have made a fillable form in Adobe Acrobat DC Pro with several field scripts to activate and deactivate related fields where applicable. One part is stumping me [total novice btw].
I created a ...
0
votes
1
answer
34
views
R Markdown - YAML Header with Template PDF
I have a PDF design with cool colors that I want to use for my R Markdown output.
I asked Chat GPT and is still not working.
In the YAML header I have
---
title: "My Report"
author: "...
0
votes
0
answers
40
views
Can't save active sheet as PDF via Macro in Excel (16.94) on Mac (15.3)
I seem to have a problem with an Excel-Macro in a sheet I want to use on Windows and Mac. The problem only occurs on my Mac (MS Excel v16.94, Dutch).
It seems that the Excel-macro on my Mac cannot ...
0
votes
0
answers
28
views
Integrating Print Settings into a PDF
How can I embed information in a PDF so that the printer knows which tray to use for the paper?
There used to be an old tool that unfortunately no longer works for us. It inserted such containers, ...
0
votes
1
answer
82
views
Data replacement in a PDF Template (Java | SpringBoot)
I am working on a project in spring-boot that signs visually pdfs.
The idea is that I am researching different ways to manipulate the pdfs using java and cannot find the most optimal one.
For example ...
1
vote
0
answers
36
views
PDFBox 3.0.2: Can't seem to properly tag image for accessibility
I'm trying to create a PDF document with better accessibility. It doesn't need to pass any standards but I would like to add alt text to images. I'm able to properly tag text, but I can't seem to tag ...
0
votes
2
answers
98
views
How to use If else statements in PDF javascript
I am looking to have a PDF calculate an answer based on the inputs from multiple fields and dropdowns.
I am using input fields for No. of Units, Oil Cost, Oil Changes per Week and a dropdown for ...
0
votes
0
answers
36
views
ExportAsFixedFormat PDF Quality issue
I am trying to set the quality of PDF output to xlQualityMinimum so the PDF size is smaller, however when I change from xlQualityStandard to xlQualityMinimum the output PDF ignores the margins and ...
-1
votes
1
answer
50
views
Split and Copy specific Pages from a PDF file
I am currently working on a program that can split a PDF-file with numerous sections that have the same layout, but of course different content.
I need all the different sections in a single pdf-file. ...
0
votes
1
answer
35
views
DITA Map PDF script based on HTML5 & CSS in Oxygen XML Author
Good afternoon! I use Oxygen XML Author to make dita maps and convert them to pdf. I am performing the conversion using a DITA Map PDF script based on HTML5 & CSS. To format the text, I use my own ...
0
votes
0
answers
41
views
Blurry text in PDF created By Skia SkPicture?
I have referred this official document of skia, and the demo run well.
https://skia.org/docs/user/sample/pdf/
I got a pdf document, and the texts in it stayed sharp after scale.
sharp texts
but when I ...
1
vote
0
answers
52
views
Bangla font is unreadable after downloading the report in PDF
I am working on this E-commerce website built in Laravel.
Client can download the sale report, products list and all reports in PDF file but when the products are named in Bangla Language, the pdf ...
0
votes
0
answers
43
views
Flutter pdf - Exception has occurred. TooManyPagesException
when i'm generating pdf for smaller data/text its working fine but when i try to generate with large data it throws Exception has occurred. TooManyPagesException
here's my generatePdf method:
void ...
0
votes
1
answer
60
views
A4 Template CSS: can't extend the div's height through the entire A4-page
I'm trying to implement an A4 Template with CSS, which can be printed or saved as PDF: https://jsfiddle.net/me9ytfd5.
@media print {
@page {
size: A4;
}
.sidebar {
border-...
0
votes
1
answer
58
views
Extracting a Specific Text from PDF using RegEx
Without getting into too much detail about how we ended up in this situation (a lot of poor business decisions), I need to find the text: "SomeID=[Integer]" from a PDF file (e.g. SomeID=...
0
votes
1
answer
52
views
How to Convert a PDF Table with Thousands of Rows into JSON in React
I am working on a project where I need to convert a PDF containing a large table (thousands of rows) into a JSON Array of object. The PDF has a table with headers that should be used as keys in the ...
2
votes
1
answer
66
views
Converting PDF to TIFF for Faxing
I'm currently struggling to convert a PDF to a TIFF file that I can then fax via Asterisk.
It seems that the PDF tools library has this functionality, but it's not free. However, the documentation ...
0
votes
1
answer
56
views
Fabric.js pdf editor is not working in Adobe Accrobate
I created a PDF editor in my Angular / laravel application using: "fabric": "^6.5.3" and "pdf-lib": "^1.17.1".
The thing is when I download the pdf, it is ...
0
votes
1
answer
31
views
extract vector charts from PDF
I can't find the solution to how to isolate or extract vector chart and graphs(that are not images) from pdf.
I have tried extract directly, but I realize that it is not that straight forward. I was ...
0
votes
1
answer
42
views
Combine plots from separate pdfs into one in python
I have created several plots and saved each one separately in its own PDF file using the following line of code:
plt.savefig('/path/Plot1.pdf', format='pdf', bbox_inches='tight', dpi=600)
Now, I need ...
0
votes
0
answers
32
views
Imagick "Unable to set image alpha channel" error when turning PDF into JPG
First of all, this all involves older versions of both PHP and Imagick, that we cannot update at the moment due to technical constraints.
In our project we preview PDF contents to users by splitting ...
0
votes
1
answer
79
views
Indian Rupee (₹) Symbol Not Rendering Properly in jsPDF [duplicate]
I'm using jsPDF to generate invoices in my JavaScript project. Everything works fine when using the Dollar ($) symbol, but when I use the Indian Rupee (₹) symbol, the PDF output contains corrupted or ...
0
votes
0
answers
44
views
PDF form checkboxes checking using python and pdfrw
Has anyone experience with pdf form checkbox checking? The case is that within a django application, based on annotations of pdf forms I map and identify checkboxes I want to either check, or leave ...
1
vote
1
answer
47
views
DomPDF uses custom font on local server, but not in production [duplicate]
I'm using dompdf 3.1.0. The template html resides in public/templates/reports, while the custom fonts are at public/templates/reports/fonts. My CSS inside the template:
@font-face {
font-...
0
votes
0
answers
41
views
Not able to create a pdf with a title from Quarto
I'm trying out Quarto for the first time and getting problems.
Here is my code:
title: "test"
format: docx
editor: visual
This is the message I get
Rendering in htlm or word works fine.
I ...
1
vote
0
answers
55
views
Tables for PDF output in Quarto
I'm creating 8 different PDF reports for 8 different programs for some of the variables pictured below. I've already figured out how to use parameterized reporting in Quarto to output different PDF ...
0
votes
1
answer
51
views
How can I force multi-line text inside a PDF form field using Python
😊
I'm working on filling out a PDF form programmatically using Python. More especifically a T3 for from Canada's CRA. Form is a fill-in form.
I'm having trouble getting multi-line text to display ...
0
votes
0
answers
73
views
PDF Line Annotation confusion
I'm looking at a PDF Annotation whose type is line (clarify: it's the big red line in the middle between the circle and the text). It looks like below:
(Please look at the line in the middle)
Now ...
0
votes
1
answer
60
views
Using R Quarto, how can I ensure PDF documents have text that is accurately copy and pasted?
If I use the following Quarto document to render a PDF, the copy paste behavior depends on the browser being used to view the resulting document.
I'm using pdflatex here because I regularly generate ...
1
vote
1
answer
51
views
How to read rotated text?
I have tried this
string text = "";
using (PdfReader pdfReader = new PdfReader(dlg.FileName))
{
for (int page = 1; page <= pdfReader.NumberOfPages; page++)
{
text = ...
0
votes
0
answers
39
views
Is it possible to create a non-rectangular hyperlink in a PDF?
With the hyperlink tool in Adobe Acrobat one can simply add hyperlinks to particular parts of a document but all the links it creates are rectangular.
Is it possible to create non-rectangular links?
...
0
votes
1
answer
28
views
ICEpdf: PDF Printing corrupted second page
I am using the below code to print a PDF with ICEpdf but for some reason the second page is corrupted as follows:
Also, the file size of the original is 328kb and the printed on (Print to PDF) is ...
1
vote
0
answers
82
views
LLama Parse output table as html in the markdown not working
Parsing pdfs is very complicated when it comes to tables. There are cells sometimes that span multiple columns and while we as humans have no trouble understanding it, LLMs do not and parsing data ...
0
votes
0
answers
68
views
PDF Scraping in Python
I am having trouble scraping certain data from PDF files in Python. There are no console errors, but when the CSV is produced, the columns Owner's First Name - Zip Code are either filled with the ...
1
vote
1
answer
53
views
Error while signing multiple signature fields using itext c#
When the PDF is opened for the first time, the user can add a signature without any issue. However, during the same session, if the user tries to add a second signature, this error occurs. After ...
0
votes
1
answer
44
views
PDF Not Displaying in Iframe When Password-Protected
<script th:inline="javascript">
let pdfBase64 = /*[[${pdfBase64}]]*/'';
let blob = base64ToBlob(pdfBase64, 'application/pdf');
const blobUrl = URL.createObjectURL(blob);
...
1
vote
1
answer
78
views
Using R Quarto to create PDF documents, how can I center code chunk output and add a background color?
This question builds off a previous question of mine: How can I center the output of general R results in Quarto?
But this time, in a R Quarto script that creates PDF output using xelatex, I can print ...
0
votes
1
answer
83
views
How do I replace or mask text in in pdf analyzed/made searchable by Microsoft Azure Document Intelligence?
MS Azure lets you create searchable PDF, as documented here.
The code is as follows,
from azure.core.credentials import AzureKeyCredential
from azure.ai.documentintelligence import ...
1
vote
0
answers
41
views
How to register helpers in jsreport with NestJS (using Node 22.13.1)?
I'm trying to use jsreport version 4 with NestJS, and I'm having trouble registering helpers so I can render a header and footer in my reports.
I'm using Node.js version 22.13.1 and had to manually ...
1
vote
0
answers
29
views
Combine Duplicate Fonts When Appending PDF Files - Python
I am trying to combine 450 PDFs into a single PDF. There are only a few unique fonts among all the files. Once all the files are combined, I look at the structure though pdfcrowd.com and I can see the ...
0
votes
1
answer
39
views
Correct format of ICC-based /ColorSpace in PDF
I am generating PDF files on-the-fly. The files contain JPEG images in the Adobe RGB (1998) colourspace, with the profile embedded. The PDF generation toolkit embeds the images correctly, but sets the ...
1
vote
1
answer
139
views
PDFBOX3 sign - bouncycastle - cannot create signer: No installed provider supports this key: sun.security.ec.ECPrivateKeyImpl
MOTIVATION
I am trying to use latest PDFBOX 3 to sign pdf documents.
RIG
Windows machine with java23
CERTIFICATES
I have created domain certificates with certbot 2.9.0 and openssl-3.0.7 in jks, p12 ...
1
vote
1
answer
45
views
Problem with a missing page when generating a PDF in Lua
I'm developing a Lua script to generate a multi-page PDF file containing tabular data. My script generates the PDF correctly and the logs show that all the pages are created correctly. However, when I ...
0
votes
0
answers
69
views
How to export Jupyter notebook to pdf having installed TeX Live included it in the path
I am trying to pdf my Jupyter notebook however I keep getting this error:
[error] If you have not installed xelatex (TeX), you will need to do so before you can export to PDF. For further instructions,...
0
votes
0
answers
101
views
What character encoding uses these four bytes for digits?
I've received a business PDF document that I must process programmatically, but that I can't decode.
Part of the document reads like this in Acrobat:
180CTNS 1800PCS
But when I extract the bytes from ...
0
votes
0
answers
30
views
Empty PDF in S3 -- API Gateway + Lambda integration
I'm creating a lil' application that parses PDF content and returns it structured data from the PDF.
I've got API Gateway proxying a call into Lambda. First step I do is to save it into s3
def ...
4
votes
1
answer
83
views
Generate PDF with LUA
I wrote this piece of code to generate a pdf without external modules like (LUApdf).
I have a problem because in my table I have three elements, yet at the time of creating my pdf when I open it I ...
0
votes
1
answer
58
views
Troubleshooting api2pdf for pdf transformation
Using api2pdf API in Google Apps Script to split PDF attachments into multiple files. I tried a lot of variations, but I am unsure what I am missing. Latest error code is 422.
I've copied the code ...
0
votes
2
answers
34
views
Mass saving PDFs (with unique ID at the start of the PDF) to folders that have unique ID at the end
I've tried to figure out this one and searched far and wide to see if others have found a previous solution but couldnt find anything. I'm fairly new to powershell so please bare with me.
I have ...