Questions tagged [pdf-conversion]

Relating to converting between Portable Document Format and other file formats. Questions asking us to recommend or find a conversion tool or library are off-topic.

This tag is for questions relating to programmatically converting to and from the open standard file format . If a specific conversion is involved, the appropriate tag should also be used: etc.

Conversion solutions may range from complete rasterization (and graphic embedding) to intense . The middle ground generally converts at a high enough level to recognize and use text attributes where possible, falling back to graphic rendering only when necessary.

Questions asking us to recommend or find a tool, library, documentation or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam.

266 questions
1
vote
0 answers

How to make part of text in cell bold with jsPDF-autotable?

I am using jsPDF-autotable to create a PDF from an HTML table. I have some div elements inside a td cell, and some of them have a strong element. I only want to make the div that has the strong element bold, but not the other divs in the same cell.…
Storm1
  • 199
  • 1
  • 1
  • 10
1
vote
1 answer

Convert HTML to PDF With a Dynamic Margin for Different Pages in Java

We are working on creating PDf from HTML which will be printed on Legal Page - It contains financial stamps only for first 3 pages at the top. So, we need to set big top margin for first 3 pages only for the space of the Financial Stamp and default…
1
vote
0 answers

React native pdf to image

So, I want to convert pdf pages into images in react native without compromising quality is there any best solution other than react-native-pdf-thumbnail.
Jatin Bhuva
  • 1,301
  • 1
  • 4
  • 22
1
vote
0 answers

finding a way to convert a nodebuffer docx to pdf

I am trying to convert my generated docx document to pdf using docx to pdf package https://www.npmjs.com/package/docx-pdf and I keep getting a Process exited with code 2 error. My docx document was generated using docxtemplater const contentBuffer =…
1
vote
0 answers

convert a docx file into pdf file using unoconv. It's taking too long and aborted

convert a docx file into pdf file using unoconv. It's taking too long and aborted DOCX to pdf conversion command: unoconv -f pdf -o sample.pdf sample.docx Download the sammple docx file
1
vote
1 answer

cannot convert pdf page to image

I want to convert a pdf file's each page to a new image. To do this, i use GhostScript.Net. The problem is i can't figure out why pageImage returns null in the System.Drawing.Image pageImage = rasterizer.GetPage(dpi, i); line. Here is the method i…
1
vote
1 answer

SharePoint Word Automation Services

I have lost 2 hours on issue I have on SharePoint 2016 and not on SharePoint 2019 when using Word Automation Service to convert a word file in pdf. In 2019 I can update the table of contents and this is still navigable (hyperlinks working), but in…
M.Grag
  • 11
  • 3
1
vote
0 answers

Reliable and Free way to convert .docx, .doc, .rtf to PDF in .net

The problem is, we dont have MS Office in our university anymore, earlier we used its preview feature in Windows File Explorer, so to view multiple assignments on the fly by just clicking on the word file or using arrow keys navigation. This helped…
Usman Waheed
  • 86
  • 1
  • 8
1
vote
2 answers

Questions regarding pdf to image conversion with Node JS

The plan is to create a pdf file (that only consists of a single page) then the user chooses whether to download as PDF or image. I have already written the code for generating the PDF and it is working fine as of now. The problem now is how to…
orangesheep
  • 195
  • 3
  • 13
1
vote
1 answer

Convert PDF into excel data

I have a PDF which is having the below data attached as an image. How can I convert it into a tabular format as CSV/excels?
SaQuiB
  • 67
  • 1
  • 7
1
vote
1 answer

Converting XAML to PDF and Paginating it for a Xamarin.Forms UWP Project

Until recently I have been stuck on how to achieve the goal of "exporting" a report from a StackLayout into a PDF in a project I somehow pulled out of Dev Limbo. --BackStory-- Previously I have tried to continue the use of the already placed (in the…
Wolfie_Mk6
  • 61
  • 1
  • 9
1
vote
2 answers

Does a HTML (URL) to PDF converter exist as a widget type service

We're trying to shortcut installing a .Net PDF creator on our own server. Is there any app that can be embedded into a site and allows a user to generate a PDF of that url or some other url? Free or paid doesn't matter, to be built for customers so…
Dan
  • 11
  • 1
1
vote
1 answer

What do the Amyuni "Printer Not Activated" errors mean?

What does it mean when I get these errors from Amyuni PDF Converter (PDF Printer Driver) "Printer Not Activated, error code -20" "Printer Not Activated, error code -21" "Printer Not Activated, error code -22" "Printer Not Activated, error code…
Eric Glenn
  • 389
  • 2
  • 12
1
vote
1 answer

Best way to convert HTML page into PDF file

I am writing a new service Convert-HTML-TO-PDF. But now I am confused that what way should I prefer. What ways I have to implement: Use Head-less browser and capture the HTML page and convert to PDF Use Java/Node Lib to convert. Which will create…
1
vote
1 answer

Converting data from PDF to XML with PDFminer?

I used the code below to convert PDF data to XML data and write the conversion to a XML file. It is quite well known (it uses the PDFminer module) and works very well for PDF to text and HTML conversions but I have a problem when I do PDF to XML…
timoutcha
  • 11
  • 1
  • 2