同标题一样,我们利用ABCPdf6使SLT的PDF成为可能。 一切工作都很出色,但现在我们正经历一个错误,即“超文本”是空白的。 利用浏览器(在IE/Firefox/Chrome测试) 我能够浏览生成的超文本(原XSL),在浏览器中表现得很好。 ABCPDF6无法转换档案。 我试图控制SSL输出的网页,但我仍在发现这一错误。
是否有任何人曾经历过ABCPdf,而且以前曾遇到过这种情况? 该法典在无问题之前做了罚款,使用同一制作法的另一页(甚至指same)。 播下超文本的持单人网页正在做罚款。
同标题一样,我们利用ABCPdf6使SLT的PDF成为可能。 一切工作都很出色,但现在我们正经历一个错误,即“超文本”是空白的。 利用浏览器(在IE/Firefox/Chrome测试) 我能够浏览生成的超文本(原XSL),在浏览器中表现得很好。 ABCPDF6无法转换档案。 我试图控制SSL输出的网页,但我仍在发现这一错误。
是否有任何人曾经历过ABCPdf,而且以前曾遇到过这种情况? 该法典在无问题之前做了罚款,使用同一制作法的另一页(甚至指same)。 播下超文本的持单人网页正在做罚款。
I know what the problem was in my case now. When i ran Windows update on my 2008 server, Internet Explorer 9 was installed. IE 9 has a different way of rendering HTML which brakes abcPDF. Updating to the latest version (8) solved all my problems. In this version you can also try another HTML engine called Gecko.
尽管你已经解决了你的问题,如果有人会发现这一错误,我建议你安装审判版本,并用最新版本加以尝试。
我在窗口7的机器上也存在同样的错误,有AbcPdf4.0。 在管理系统更新期间,IE8升至IE10。 问题由IE10分期发行确定。
注:Abcpdf4.0与IE9号文件无关。 要么升级Abcpdf,要么放弃最新信息。
我今天上午与AbcPdf9有着同样的问题。 我在测试发动机类型时添加了代码,而全球大气研究公司则投入使用,然后我将其转换为超文本处理,目前仍在工作。 因此这是一个临时问题。
这就是你如何具体说明发动机类型:
using (var document = new Doc())
{
document.HtmlOptions.Engine = EngineType.Gecko;
...
...
}
This code calls the method that converts the html to PDF, but calls it twice if necessary, since it will only fail once:
try
{
return GeneratePdfFromHtml(html, width, EngineType.MSHtml);
}
catch (Exception ex)
{
/* detect this known issue, swapping the rendering engine once seems to fix it */
if (ex.Message.ToUpper().Contains("BLANK"))
{
return GeneratePdfFromHtml(html, width, EngineType.Gecko);
}
throw;
}
Then you can add a parameter to the method that does the conversion:
public byte[] GeneratePdfFromHtml(string html, int width, EngineType engineType)
{
if (string.IsNullOrWhiteSpace(html)) throw new ArgumentNullException("html");
if (width < 100) throw new ArgumentOutOfRangeException("width");
try
{
using (var document = new Doc())
{
document.HtmlOptions.Engine = engineType;
...
...
If you have a suggestion or different solution, please leave a comment.
In regedit use the following steps
1)HKEY_LOCAL_MACHINESOFTWAREWow6432Node
2)Cate a key DWORD 32 Bir
3) 改称“w3wp.exe”
4) 定值日 = 1
Is is possible to remove or hide a layer from a PDF using ABCPdf or another framework?
I have an HTML report, with each print page contained by a <div class="page">. The page class is defined as width: 180mm; height: 250mm; page-break-after: always; background-position: centre ...
Here s the situation. I have a PDF with automatically generated pdf form field names. The problem is that these names are not very user friendly. They look something like : topmostSubform[0].Page1[...
I m dynamically creating a PDF using ABCpdf (HTML -> PDF) I m trying to create a Table Of Contents (with leaders), and I think the easiest way to get the leaders is using a repeat-x background-image. ...
I m dynamically generating a PDF using ABCpdf which contains a table of contents that would link to other pages within the same PDF. The problem is that the path of the anchor tags in the HTML get ...
I am using abcPdf to convert an HTML report into a pdf file. The pdf has to be a single landscape A4 page. Do you know if there is any way to tell abcPdf to scale the HTML page to fit on a single ...
This may be more of a tech support issue, but I m wondering if any other developers have come across this: I m using Abcpdf in my ASP.NET code to generate a PDF from HTML. It works fine, but one ...
I am using ABCpdf7 to create pdf documents on the fly - Here is something that I do not understand. When I create the pdf document from a url - the images in the pdf document seems to be 256 colors. ...