Questions tagged [pdf-reactor]

PDF Reactor is a component for web applications converting HTML to PDF.

PDFreactor is a printing component for web applications. It is typically used for server-side conversion of HTML to PDF, ranging from dynamic data-driven documents (reports, invoices, forms, data sheets) for electronic distribution to complex and high-quality PDFs (catalogs, marketing collateral, technical documentation, journals) for print and electronic publishing.

More details can be found on the official website and in the official manual (PDF) (HTML).

30 questions
4
votes
1 answer

Set cookies in configuration using PHP

I'd like to print a document with PDFreactor using PHP. Unfortunately, the document generation fails when specifying cookies in the configuration. Leaving out the cookies line prints our login page - with is correct as the page displays a login…
1
vote
0 answers

PDFReactor not mapping paragraph/image tags correctly

I am using PDFReactor to create accessible PDF documents from html documents. I am using PAC3 to validate the PDFs for accessibility. PAC3 has a screen reader preview feature that displays a visual representation of the structure of the document…
HectorMac
  • 6,073
  • 4
  • 24
  • 24
1
vote
1 answer

pdfReactor generated documents don't have working links

I am trying to produce a pdf from HTML generated from ReactServer.renderStaticMarkup. I have noticed peculiar behavior around links. As an example let's use a link to a photo. 'https://i.stack.imgur.com/3tICI.png' I am able to use that link as the…
1
vote
1 answer

PDFReactor .NET - @page is not exist is current context

I am try to change the orientation of my pdf to landscape via PDFReactor. I'am using MVC .Net . From the documentation, supposed we can change the orientation by using this line @page{ size: letter landscape;} This is my code on the…
sicKo
  • 1,241
  • 1
  • 12
  • 35
1
vote
1 answer

Debugging javascript in source for PDFReactor when using PDFReactor Preview

I have some javascript running in a source document for PDFReactor which is not trivial. I cannot find any way to get logging from the javascript or any debug tools. Are there some way I am not seeing? I have tried xconsole.io and jsconsole to see…
1
vote
1 answer

Using PDF Reactor as Web Service

I am discovering PDF reactor and I'd like to use it as a web service. To test a file, I use cURL curl -v -X POST --header "Content-Type:application/xml" http://localhost:9423/service/rest/convert/async -d @test.html Is that correct ? test.html…
cedrik
  • 541
  • 7
  • 17
1
vote
1 answer

jetty or pfdreactor throws endless warning message oeji.nio:Dispatched Failed

We use pdfreactor (a html to pdf tool), recently we start to see the error file keep on growing (goes to 80gb until there is no space). There is some warning message which I posted here. My experience is on .net side so for a java web server, I…
daxu
  • 3,514
  • 5
  • 38
  • 76
0
votes
0 answers

PDF Extractor iText and RealObjects

Have some existing c# code that parses iText produced PDF documents using iTextSharp. Our app supports the ability to import info into our system by PDF. I am new to PDF extraction. A new version of the PDF document is now out but it is using…
0
votes
1 answer

How to create a single pdf from multiple html using pdfreactor

In my code I have a dynamic list of html strings and want to create a single pdf out of it using pdfreactor. The configuration.setMergeDocuments method only accepts pdf files as input, not html. What is the best way to get a single pdf out of…
MatterOfFact
  • 1,253
  • 2
  • 18
  • 49
0
votes
1 answer

Multi-page header with different content on some pages

I currently have a working multipage report with repeating header / footer. I have implemented page count on footer successfully (eg: Page 1 of 20). I need to change the header content on pages after the first page (adding "(Continued)" to…
HectorMac
  • 6,073
  • 4
  • 24
  • 24
0
votes
1 answer

How to merge pdf files with PDFReactor 5.1

I am working with an established application where PDFReactor 5.1 is in use. The company will not upgrade it for a while (maybe another 1-2 years). I was tasked with building functionality to merge pdf files (a appending all pdfs will do) from a C#…
The Fabio
  • 5,369
  • 1
  • 25
  • 55
0
votes
2 answers

How to use REST API PdfReactor / MS Flow Post Request

I would like to convert a simple html file to PDF using PDF Reactor and MS Flow. I set up a PdfReactor running in a docker container. Can somebody help me to get the http post request right to have PdfReactor convert the file to pdf? PdfReactor…
JaDDeL
  • 11
  • 2
0
votes
1 answer

Pdfreactor loses running footer

I am working with pdf-reactor and cannot make the header and footer to be in every page. I can, if I have only those two elements, header and footer, they are showing, but soon as I enter a single letter, footer disappears.
user2450639
  • 196
  • 1
  • 14
0
votes
1 answer

PDFreactor text-decoration-color: how to colorize line-through?

PDFreactor does not render a line-through color other then font color. I tried to set the color of a line-throgh. text-decoration: line-through solid cmyk(0%, 100%, 81%, 4%);
0
votes
1 answer

Chinese character printed not corrected in SourceHanSansSC-Medium.otf

Description: I've encountered a problem that a chinese character (胸) displays normally in html with 'SourceHanSansSC-Medium.otf' font but printed in a quite strange position while the html is printed by pdf reactor service. If i replace it with…
1
2