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
2
votes
1 answer

dompdf positioning errors

This may have been asked multiple times, but is there a good HTML-to-PDF creator for PHP? I'm currently using dompdf, and there is a whole list of unsupported things (such as postion:absolute inside a position:relative container, and float:right)…
gen_Eric
  • 223,194
  • 41
  • 299
  • 337
2
votes
0 answers

Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: Access is denied

I know this would be a duplicate question. I tried all the ways suggested in multiple websites, but my issue didn't get solved. I am getting the below error System.UnauthorizedAccessException: Retrieving the COM class factory for component with…
Learner
  • 139
  • 1
  • 9
2
votes
0 answers

Multithreaded unoconv (libreoffice)

I am trying to convert a few large .doc and .rtf files to PDF on linux. The command is: unoconv -f pdf largefile.doc My machine has 8 cores, however when i run htop, it shows that only 1 core is being used at 100%. And the conversion takes several…
ierdna
  • 5,753
  • 7
  • 50
  • 84
2
votes
2 answers

alfresco - convert docx to pdf and create a new version

I' m trying to convert a docx document to pdf and store the newly created pdf file as a new version. This is the test code: var document = search.findNode("workspace://SpacesStore/30f334f3-d357-4ea6-a09f-09eab2da7488"); var folder =…
2
votes
0 answers

Positioning of Table Cells in PDF messed up after converting it from PHP using fpdf

I have a table in HTML-PHP (extract from mySQL). I want to convert it to pdf using fpdf. The convert process is success, but the problem is the position of every single cell is really mess up. I've tried this code: $pdf -> SetY(4); // set the…
anakpanti
  • 319
  • 4
  • 17
2
votes
1 answer

while converting kendo charts to pdf it draw lines on pdf charts

this is my jquery function in which i am getting kendo chart div element and appending it to a string after converting it to dataUrl , the probelm is that when i convert it to pdf the converted pdf picture has some sort of lines as shown in picture.…
Khalid Zubair
  • 141
  • 2
  • 9
2
votes
1 answer

Convert Pdf pages to Byte array using Itext

My Question I'm looking for a way to convert the individual pdf pages into a byte[] (as in one byte[] per pdf page) so that I can then cast them to BufferedImage[]. This way, all the conversion is done in memory instead of making temporary files,…
Scrambo
  • 579
  • 5
  • 17
2
votes
1 answer

Print PDF without external tool

We need to print a PDF from our c# application (without the need of an external library to install and without having a print dialog) I know there is a lot of discussions about it (mostly outdated solution or freeware tool/library) but maybe someone…
michelqa
  • 137
  • 1
  • 2
  • 14
2
votes
1 answer

angularjs javascript - easy way to convert html webpage to pdf

Is there an easy way to convert and view as pdf from my html webpage in angularjs example html:
Lisa Solomon
  • 136
  • 2
  • 15
2
votes
1 answer

How to Disable Microsoft Word's file in use box in C# program

i'm trying to convert a .doc | .docx file into .pdf but the conversion is happening but i get this popup box is there anyway to avoid this …
2
votes
1 answer

Cygwin: convert: unrecognized option `-d'

I use cygwin to convert a pdf file to png. It seems some installation package is missing or there is a problem somewhere D:\>convert -d 300 foo.pdf bar.png convert: unrecognized option `-d' @ error/convert.c/ConvertImageCommand/1382.
ar2015
  • 5,558
  • 8
  • 53
  • 110
2
votes
2 answers

Getting error while converting to PDF using HiQPdf in MVC

I am trying to use HiQPdf for converting my html code to PDF. but i am getting below error. Even though "HiQPdf.dep" and "HiQPdf.dll" are same location. An exception of type 'System.Exception' occurred in HiQPdf.dll but was not handled in user…
Anand
  • 171
  • 2
  • 4
  • 12
2
votes
2 answers

Compressing a PDF document generated by coldfusion

I'm trying to overhaul a pdf report generation application built in CF8 and they have an interface which generates a 50 page legal report as a pdf and sends it out about 100x a day. However, its very cumbersome and bogs down an already overworked…
Alex
  • 443
  • 3
  • 18
2
votes
1 answer

Ghostscript.NET Multithreading Issue

The longest part of a monthly process we run is the automated slicing and conversion of some PDFs to images. Each PDF is read in, converted to 3 different PDFs, and those 3 are converted to images to be placed in e-mails to customers. The PDFs are…
Jeff
  • 2,835
  • 3
  • 41
  • 69
2
votes
1 answer

Programmatically add all Css stlyings from external CSS stylesheets to the html's tag

I am using a python library to convert HTML page into PDF. It does it correctly, except it only handles inline styling. It does not reflect the styling applied to DOM elements using external style sheets. So, as a solution I am thinking of adding…
user3566643
  • 535
  • 1
  • 4
  • 8
Qty