abcpdf

PDF Report generation [closed]

喜你入骨 提交于 2019-12-18 11:34:39
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . EDIT : I completed this project using ABCpdf. For anyone interested, I love this product and their support is A+. Everything I listed as a 'Con' for the HTML -> PDF solution was easily doable in ABCpdf. I've been charged with creating a data driven pdf report. After reviewing the plethora of options, I have

Print created pdf automatically after creation

妖精的绣舞 提交于 2019-12-13 18:38:38
问题 I have a web app that creates a pdf using Websupergoo's ABCPDF. Right now after the user clicks the CreatePDF button the browser just downloads the created PDF. Instead I would like the print dialog to open so that the user can choose a printer and then print the PDF. How can this be accomplished? Please let me know if you need to see any of my code in the comment area and I will oblige. 回答1: You can either return an html page and using javascript print function show a print dialog or ask the

Could not load file or assembly '\bin\ABCpdf8-64.dll' or one of its dependencies. The module was expected to contain an assembly manifest

核能气质少年 提交于 2019-12-13 06:37:22
问题 I have getting the following error message when I try to run the application. Could not load file or assembly 'bin\ABCpdf8-64.dll' or one of its dependencies. The module was expected to contain an assembly manifest. Please find below full details from FusionLog Viewer <meta http-equiv="Content-Type" content="charset=unicode-1-1-utf-8"><!-- saved from url=(0015)assemblybinder: --><html><pre> *** Assembly Binder Log Entry (23/06/2015 @ 10:21:13) *** The operation failed. Bind result: hr =

Can ABCpdf create a PDF from a page created with Javascript?

寵の児 提交于 2019-12-13 01:37:24
问题 A visitor to my website can click on a "Print Preview" button. Javascript code opens a Window and using document.writelin() will create a html page that displays dynamic content (basically, the user is looking at a report. Here's code snippet to show you what I mean: printerWindow = window.open(""); printerWindow.document.writeln("<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>"); printerWindow.document.writeln("<html>");

Transparent images in PDF

五迷三道 提交于 2019-12-12 13:17:13
问题 This PDF is composed of several source pieces. Five of them are PNGs containing an alpha channel. One is a PNG with no alpha channel. And the last piece is a Photoshop PDF with transparency effects. The pieces were assembled using ABCpdf 9.1. On Acrobat 9, Foxit Reader, and Chrome's in-browser PDF viewer, these display correctly, with the Photoshop background showing through the transparent part of the alpha channel PNGs, and the non-alpha PNG showing through the center of the Photoshop image

Can I prevent ABCpdf from mashing words together (e.g. mashingwordstogether) when convertering PDF to Text?

百般思念 提交于 2019-12-09 06:22:37
问题 I'm using ABCpdf to extract the text content of some PDF files, in particular by calling Doc.GetText("Text"). (You call it in a loop, once per page.) This usually works well, but for some PDF files the resulting text consists of text with a dearth of space characters, e.g. Thissentencedoesn'thaveanyspacesbetweenwords. What's interesting is if I try to extract text from the exact same PDFs using Apache Tika (powered under the hood by PDFBox), I tend to get all the spaces I'd expect between

How to create an editable pdf in asp.net?

两盒软妹~` 提交于 2019-12-08 09:29:06
问题 here is a different type of requirement in my project regarding pdf. I want to generate a pdf with few of prefilled values. rest of the fields can be filled by user so Pdf should allow the user to edit the pdf so that he can save it locally on his system. The pdf may contain checkboxes and textboxes. I have worked with "itextsharp", "abc pdf" and "Rad Pdf". For this purpose i can't use "Rad Pdf", due to some limitations by project owner. Please share your valuable answers to give me a proper

abcpdf 8 .net throwing unhandled exception in w3wp process

天涯浪子 提交于 2019-12-08 06:27:45
问题 I'm trying to use ABCPDF.net 8 to create a pdf from html content. When using the method AddHtml, this works fine. However, I need to take in the styles too, so I need to use AddImageHtml. But using this method causes the w3wp process to throw an exception. When I debug through the code with Reflector the exception seems to come at different places, making me think it is maybe some kind of memory thing... (nice and specific, I know). My abcpdf code is as simple as... global::WebSupergoo

Detect orientation of every page in a PDF using ABCPDF

与世无争的帅哥 提交于 2019-12-07 21:45:16
问题 Is there a way to detect the orientation of every page in a pdf file? I am creating an application that adds watermarks(text) to pdf files. These files can have pages portrait, landscape or a combination of both. Using the doc.MediaBox property, I use the following logic below: portrait = box.Height > box.Width My problem is that, it is always returning a true value even on a landscape documents. 回答1: A Doc can have a different MediaBox on every single page. To inspect the Mediabox for page N

ABCPDF: Split PDF files into single page PDF files

拈花ヽ惹草 提交于 2019-12-07 12:21:13
问题 I am using ABCpdf tool and I am trying to split 1TB of PDF files (so efficiency is a concern) into single page PDF files. I have tried the following: Doc theSrc = new Doc(); theSrc.Read("C://development//pdfSplitter//Bxdfbc91ca-fc05-4315-8c40-798a77431ee0xP.pdf"); for (int i = 1; i <= theSrc.PageCount; i++) { Doc singlePagePdf = new Doc(); singlePagePdf.Rect.String = singlePagePdf.MediaBox.String = theSrc.MediaBox.String; singlePagePdf.AddPage(); singlePagePdf.AddImageDoc(theSrc, i, null);