|
|
Comments and Discussions
|
|
 |
|

|
This line of code causes an exception error to be thrown. Any ideas?
html2pdf.AddChapter(@"Boost page");
html2pdf.Run(new Uri(@"http://google.com"));
The following stack trace is generated:
System.Exception: Insertion of illegal Element: 13
at iTextSharp.text.Phrase.Add(Object o)
at iTextSharp.text.Paragraph.Add(Object o)
at Pdfizer.AnyHtmlElement.Convert(TidyNode el) in c:\Documents and Settings\j
lopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 95
at Pdfizer.AnyHtmlElement.ConvertChilds(TidyNode el) in c:\Documents and Sett
ings\jlopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 128
at Pdfizer.ParaHtmlElement.Convert(TidyNode el) in c:\Documents and Settings\
jlopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\ParaHtmlElement.cs:line 98
at Pdfizer.AnyHtmlElement.Convert(TidyNode el) in c:\Documents and Settings\j
lopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 90
at Pdfizer.AnyHtmlElement.ConvertChilds(TidyNode el) in c:\Documents and Sett
ings\jlopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 128
at Pdfizer.ParaHtmlElement.Convert(TidyNode el) in c:\Documents and Settings\
jlopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\ParaHtmlElement.cs:line 98
at Pdfizer.AnyHtmlElement.Convert(TidyNode el) in c:\Documents and Settings\j
lopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 90
at Pdfizer.AnyHtmlElement.ConvertChilds(TidyNode el) in c:\Documents and Sett
ings\jlopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 128
at Pdfizer.ParaHtmlElement.Convert(TidyNode el) in c:\Documents and Settings\
jlopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\ParaHtmlElement.cs:line 98
at Pdfizer.AnyHtmlElement.Convert(TidyNode el) in c:\Documents and Settings\j
lopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 90
at Pdfizer.AnyHtmlElement.ConvertChilds(TidyNode el) in c:\Documents and Sett
ings\jlopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 128
at Pdfizer.ParaHtmlElement.Convert(TidyNode el) in c:\Documents and Settings\
jlopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\ParaHtmlElement.cs:line 98
at Pdfizer.AnyHtmlElement.Convert(TidyNode el) in c:\Documents and Settings\j
lopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 90
at Pdfizer.AnyHtmlElement.ConvertChilds(TidyNode el) in c:\Documents and Sett
ings\jlopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 128
at Pdfizer.HtmlToPdfConverter.Run(String html) in c:\Documents and Settings\j
lopez\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\HtmlToPdfConverter.cs:line 405
at Pdfizer.HtmlToPdfConverter.Run(Uri uri) in c:\Documents and Settings\jlope
z\Desktop\Pdfizer_src_v10\HtmlToPdf\Pdfizer\HtmlToPdfConverter.cs:line 425
at PdfizerConsole.Class1.Main(String[] args) in c:\Documents and Settings\jlo
pez\Desktop\Pdfizer_src_v10\HtmlToPdf\PdfizerConsole\Class1.cs:line 94
The code downloaded as is also generated the same exception, I thought it had to do something with the website, so changed it to Google instead, but it seems like even then, the error occurs.
|
|
|
|
|

|
I couldnt convert the code, please help me with this. Convert the code to visual studio 2005 and Frameword 2.0 and give it to me back.
|
|
|
|

|
Thank you for the informative article. I'm having trouble undestanding the code given in the article. What's supposed to be put in the () of each command? Why is there Run twice? Thank you very much.
|
|
|
|

|
It's 2010 now and the project does not run with VS 2008.
|
|
|
|

|
I cant see support for this anywhere.. can you help me out?
Within the twentieth century, an ultraintelligent machine will be built and that it will be the last invention that man need make.
I.J. Good
|
|
|
|

|
Hi I am getting this error i had tried a lot of things to solve it.
Please help.
I have converted sample code in .net 3.5 so please give me ref as per that.
|
|
|
|

|
I need the c# code in .net to convet html page,word file and images to convert them to pdf format
|
|
|
|

|
Does it support images?
How can I embed them?
Thanks.
|
|
|
|

|
When i run the code i am getting HTML code insted of page UI
i have used this code, it runs fine finally i am gettiong HTML code in it, but i want to get the page UI. please help me out
|
|
|
|

|
System.Net.WebException: Could not find file "C:\WINDOWS\system32\actions.png". ---> System.IO.FileNotFoundException: Could not find file "C:\WINDOWS\system32\actions.png". File name: "C:\WINDOWS\system32\actions.png" at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync) at System.Net.FileWebStream..ctor(String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async) at System.Net.FileWebResponse..ctor(Uri uri, FileAccess access, Boolean asyncHint) --- End of inner exception stack trace --- Server stack trace: at System.Net.FileWebResponse..ctor(Uri uri, FileAccess access, Boolean asyncHint) at System.Net.FileWebRequest.InternalGetResponse() at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase) at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData) at System.Net.AsyncGetResponse.EndInvoke(IAsyncResult result) at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.FileWebRequest.GetResponse() at iTextSharp.text.Image.getInstance(Uri url) at iTextSharp.text.Image.getInstance(String filename) at Pdfizer.ImgHtmlElement.Convert(TidyNode el) in c:\inetpub\wwwroot\htmltopdf\pdfizer\imghtmlelement.cs:line 70 at Pdfizer.AnyHtmlElement.Convert(TidyNode el) in C:\Inetpub\wwwroot\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 90 at Pdfizer.AnyHtmlElement.ConvertChilds(TidyNode el) in C:\Inetpub\wwwroot\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 128 at Pdfizer.ParaHtmlElement.Convert(TidyNode el) in C:\Inetpub\wwwroot\HtmlToPdf\Pdfizer\ParaHtmlElement.cs:line 98 at Pdfizer.AnyHtmlElement.Convert(TidyNode el) in C:\Inetpub\wwwroot\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 90 at Pdfizer.AnyHtmlElement.ConvertChilds(TidyNode el) in C:\Inetpub\wwwroot\HtmlToPdf\Pdfizer\AnyHtmlElement.cs:line 128 at Pdfizer.HtmlToPdfConverter.Run(String html) in c:\inetpub\wwwroot\htmltopdf\pdfizer\htmltopdfconverter.cs:line 404 at PDFWrite.WebForm1.pdf() in c:\inetpub\wwwroot\pdfwrite\webform1.aspx.cs:line 92
|
|
|
|

|
When do you plan add support to TABLE and DIV tags?
|
|
|
|

|
Hi!
I Need use Font Farsi In This Project.
May Help Me?!
somi
|
|
|
|

|
Hi!
I Need use Font Farsi In This Project.
May Help Me?!
|
|
|
|

|
Hi!
Why in Return SourseCode Url ?
Please Helpme!
|
|
|
|

|
Hi!
i Need project when use iTextSharp dll,Ndity dll.
Thanks!
|
|
|
|

|
Sample project given is not working..Please help
|
|
|
|

|
pdfize can't support chinese? how can modify it to support chinese?
gfgf
|
|
|
|

|
Hi,
I am using a PDfizer project. When I browse a page. I am getting an error regarding NTidy.dll. Following is the stack trace.
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
I am setting all rights from IIS regaring ASPNET, Network Service but still it is not working. If any one can provide a solution, I will be very thankful.
Thanks,
Khurram
|
|
|
|

|
Thanks for this great library.
But while trying to run this solution I got the following error:
System.IO.FileNotFoundException was unhandled
Message="The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
Source="Pdfizer"
StackTrace:
at Pdfizer.HtmlToPdfConverter..ctor()
at PdfizerConsole.Class1.Main(String[] args) in D:\PDF\Pdfizer_src_v10\HtmlToPdf\PdfizerConsole\Class1.cs:line 77
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Any Help?
|
|
|
|

|
how l load a pdf using a button?
|
|
|
|

|
i m using this converter but in code three refrence are missing 1. itextsharp 2. ntidy 3. icsharpcode.sharpziplib,
first two i got, but can u say abt third one frm where i cant get this.
|
|
|
|

|
Hi,
I downloaded your project Pdfizer and include the dlls in my project of DotNetNuke but when i run the project,it show the following error.
error BC30392: 'Catch' cannot catch type 'exception' because it is not 'System.Exception' or a class that inherits from 'System.Exception'."} System.Exception
i have using the System.Exception already for this.
It is is due to NTidy.dll. when i exclude this dll,the error:NTidy.dll is not fond.
Questiones.
1)Please tell me that whether NTidy.dll is corrrect or not?.
2)Please give me the proper solution for using the NTidy.dll in DotNetNuke Version 04.05.03.?
Thanks
Tariq
|
|
|
|

|
Hi,
The HTML to PDF converter for .NET from http://www.dotnet-reporting.com or the HTML to PDF .NET Library from http://www.winnovative-software.comis what you need. It's pure .NET library, it doesn't use a printer driver. There is also a free html to pdf converter application built on top of this library. The conversion can be done with only a few lines of code:
PdfConverter pdfConverter = new PdfConverter();
pdfConverter.PdfDocumentOptions.PdfPageSize = PdfPageSize.A4;
pdfConverter.PdfDocumentOptions.PdfPageOrientation = PDFPageOrientation.Portrait;
pdfConverter.PdfDocumentOptions.PdfCompressionLevel = PdfCompressionLevel.Normal;
pdfConverter.PdfDocumentOptions.GenerateSelectablePdf = true;
pdfConverter.PdfDocumentOptions.ShowFooter = false;
pdfConverter.PdfDocumentOptions.ShowHeader = false;
pdfConverter.LicenseFilePath = Server.MapPath(@"~/Bin");
byte[] downloadBytes = pdfConverter.GetPdfFromUrlBytes(MyURL);
Regards,
Razva
|
|
|
|

|
Hi,
Pdfizer is a great free tool. However, it only works for very simple HTML. I needed a solid HTML To PDF Converter and I found one here:
www.html-to-pdf.net[^]
The only problem is, that is not free. Do you know any other professional tools that cost less or that are free?
Thanks,
Florentin
|
|
|
|

|
In the HtmlToPdfConverter class the following test is preformed
// append .pdf if necessary.
string fileName = outputFileName;
if (!fileName.EndsWith("pdf"))
fileName+=".pdf";
This test will not do what is intended in the case that the user sends in a filename that ends with pdf, for example "my_file_pdf" will result in a file being created without a filetype, which is ofcourse legal, but impactical. Simply changing the test to
// append .pdf if necessary.
string fileName = outputFileName;
if (!fileName.EndsWith(".pdf"))
fileName+=".pdf";
Would result in the standard windows naming scheme even for the example given, i.e "my_file_pdf.pdf"
|
|
|
|

|
Does it support diffrent font's colors??
sejmik
|
|
|
|

|
HI. I'm trying to run an example code to watch pdf generator running... in the code I should specify the web service url but I don't know what URL i shoud put... It should be something like
// specify the web service URL
String Url = "http://localhost:8080/...
How can I know this??
|
|
|
|

|
When i try to generate a pdf in line html2pdf.Run(reader.ReadToEnd());
give me this error:
Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.5.0.0, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Thanks
MD
|
|
|
|

|
There is no pdf produced except the html source for the following case:
html2pdf.Run( new Uri(@"file:///C:/Temp/test.htm") );
Where test.htm is a copy of (https://somesite.com/page) with
<base href="https://somesite.com/"/> in html header section.
|
|
|
|

|
It is a wonderful tool. But I am having problem with the width of the text. It looks like somewhere pdf document is setting the width of the page or margin and I am unable to figure out where.
I will really appreciate any help in this regard.
Thanks,
Afzal Farooqui
|
|
|
|

|
Hi,
what happens with html entities: á, ñ, etc...? I´m using it for convert my pdf files, but no work. Could you help me about?
Nicolás Piqueras
|
|
|
|

|
I have a mathcad generated html document <code> <html xmlns:mcd="urn:schemas-mathsoft-com:mathcad" xmlns:m="http://www.w3.org/1998/Math/MathML"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> Template</title> <style type="text/css"> body { background : #ffffff } .equation { margin-top: 0.5em; margin-bottom: 1em } .Normal { font-family:Arial,sans-serif; x-mcd-font-charset ; font-size:10pt } .Heading_1 { font-family:Arial,sans-serif; x-mcd-font-charset ; font-size:14pt; font-weight:bold } .Heading_2 { font-family:Arial,sans-serif; x-mcd-font-charset ; font-size:12pt; font-weight:bold; font-style:italic } .Heading_3 { font-family:Arial,sans-serif; x-mcd-font-charset ; font-size:12pt } .Paragraph { font-family:Arial,sans-serif; x-mcd-font-charset ; font-size:10pt; text-indent:28px } .List { font-family:Arial,sans-serif; x-mcd-font-charset ; font-size:10pt; margin-left:19px; text-indent:-19px } .Indent { font-family:Arial,sans-serif; x-mcd-font-charset ; font-size:10pt; margin-left:144px } .Title { font-family:Times New Roman,sans-serif; x-mcd-font-charset ; font-size:24pt; font-weight:bold; text-align:center } .Subtitle { font-family:Times New Roman,sans-serif; x-mcd-font-charset ; font-size:18pt; text-align:center } </style> <script id="clientEventHandlersJS" language="javascript"> <!-- //--> </script> </head> <body > <div style="position:absolute;top:16;left "> <layer > </layer> </div> <div style="position:absolute;top:35;left:168;width:87"> <layer width="87"> <span class="Normal"> <u>Actual Values</u></span> </layer> </div> <div style="position:absolute;top:35;left:280;width:100"> <layer width="100"> <span class="Normal"> <u>Alternative Units</u></span> </layer> </div> <div style="position:absolute;top:67;left:8;width:80"> <layer width="80"> <span class="Normal"> Design Code</span> </layer> </div> <div style="position:absolute;top:67;left:168;width:84"> <layer width="84"> <span class="Normal"> PD5500:2006</span> </layer> </div> <div style="position:absolute;top:91;left:8;width:102"> <layer width="102"> <span class="Normal"> Design Pressure</span> </layer> </div> <div style="position:absolute;top:91;left:168"> <layer > <img src="./Template_images/IMG0049_30944968.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:91;left:280"> <layer > <img src="./Template_images/IMG0050_30944984.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:91;left:392"> <layer > <img src="./Template_images/IMG0065_30945000.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:84;left:512"> <layer > <img src="./Template_images/IMG0052_30945015.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:115;left:8;width:122"> <layer width="122"> <span class="Normal"> Design Temperature</span> </layer> </div> <div style="position:absolute;top:115;left:168"> <layer > <img src="./Template_images/IMG0056_30945078.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:115;left:280"> <layer > <img src="./Template_images/IMG0057_30945093.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:115;left:392"> <layer > <img src="./Template_images/IMG0066_30945109.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:139;left:8;width:46"> <layer width="46"> <span class="Normal"> MDMT</span> </layer> </div> <div style="position:absolute;top:139;left:168"> <layer > <img src="./Template_images/IMG0063_30945125.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:139;left:280"> <layer > <img src="./Template_images/IMG0064_30945140.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:139;left:392"> <layer > <img src="./Template_images/IMG0067_30945156.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:163;left:8;width:124"> <layer width="124"> <span class="Normal"> Corrosion Allowance</span> </layer> </div> <div style="position:absolute;top:163;left:168"> <layer > <img src="./Template_images/IMG0070_30945171.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:163;left:280"> <layer > <img src="./Template_images/IMG0071_30945203.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:187;left:8;width:82"> <layer width="82"> <span class="Normal"> Radiography </span> </layer> </div> <div style="position:absolute;top:187;left:168"> <layer > <img src="./Template_images/IMG0074_30945218.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:215;left:8;width:125"> <layer width="125"> <span class="Normal"> <font size="4"><b><i><u>Materials</u></i></b></font></span> </layer> </div> <div style="position:absolute;top:241;left:8;width:244"> <layer width="244"> <span class="Normal"> <font size="3"><u>Shell Material: ASTM A182 F316</u></font></span> </layer> </div> <div style="position:absolute;top:275;left:8;width:190"> <layer width="190"> <span class="Normal"> <font size="3">Allowable stress at ambient</font></span> </layer> </div> <div style="position:absolute;top:268;left:192"> <layer > <img src="./Template_images/IMG0209_30945234.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:275;left:496;width:148"> <layer width="148"> <span class="Normal"> Enquiry Case 91 Table 2</span> </layer> </div> <div style="position:absolute;top:308;left:8;width:135"> <layer width="135"> <span class="Normal"> <font size="2">Allowable stress at DT</font></span> </layer> </div> <div style="position:absolute;top:300;left:192"> <layer > <img src="./Template_images/IMG0212_30945281.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:307;left:496;width:148"> <layer width="148"> <span class="Normal"> Enquiry Case 91 Table 2</span> </layer> </div> <div style="position:absolute;top:339;left:8;width:172"> <layer width="172"> <span class="Normal"> Allowable shear stress at DT</span> </layer> </div> <div style="position:absolute;top:339;left:192"> <layer > <img src="./Template_images/IMG0215_30945359.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:371;left:8;width:182"> <layer width="182"> <span class="Normal"> Allowable bearing stress at DT</span> </layer> </div> <div style="position:absolute;top:371;left:192"> <layer > <img src="./Template_images/IMG0217_30945375.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:403;left:8;width:237"> <layer width="237"> <span class="Normal"> <u>Gas Header Material: ASTM A182 F316</u></span> </layer> </div> <div style="position:absolute;top:435;left:8;width:166"> <layer width="166"> <span class="Normal"> Allowable stress at ambient</span> </layer> </div> <div style="position:absolute;top:428;left:192"> <layer > <img src="./Template_images/IMG0220_30945390.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:435;left:496;width:148"> <layer width="148"> <span class="Normal"> Enquiry Case 91 Table 2</span> </layer> </div> <div style="position:absolute;top:467;left:8;width:136"> <layer width="136"> <span class="Normal"> Allowable stress at DT</span> </layer> </div> <div style="position:absolute;top:460;left:192"> <layer > <img src="./Template_images/IMG0223_30945453.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:467;left:496;width:148"> <layer width="148"> <span class="Normal"> Enquiry Case 91 Table 2</span> </layer> </div> <div style="position:absolute;top:499;left:8;width:172"> <layer width="172"> <span class="Normal"> Allowable shear stress at DT</span> </layer> </div> <div style="position:absolute;top:499;left:192"> <layer > <img src="./Template_images/IMG0226_30945515.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:531;left:8;width:182"> <layer width="182"> <span class="Normal"> Allowable bearing stress at DT</span> </layer> </div> <div style="position:absolute;top:531;left:192"> <layer > <img src="./Template_images/IMG0228_30945531.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:563;left:8;width:259"> <layer width="259"> <span class="Normal"> <u>Retaining Ring Material: ASTM A312 TP316</u></span> </layer> </div> <div style="position:absolute;top:595;left:8;width:166"> <layer width="166"> <span class="Normal"> Allowable stress at ambient</span> </layer> </div> <div style="position:absolute;top:588;left:192"> <layer > <img src="./Template_images/IMG0231_30945546.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:595;left:496;width:148"> <layer width="148"> <span class="Normal"> Enquiry Case 91 Table 2</span> </layer> </div> <div style="position:absolute;top:627;left:8;width:136"> <layer width="136"> <span class="Normal"> Allowable stress at DT</span> </layer> </div> <div style="position:absolute;top:620;left:192"> <layer > <img src="./Template_images/IMG0234_30945703.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:627;left:496;width:148"> <layer width="148"> <span class="Normal"> Enquiry Case 91 Table 2</span> </layer> </div> <div style="position:absolute;top:659;left:8;width:172"> <layer width="172"> <span class="Normal"> Allowable shear stress at DT</span> </layer> </div> <div style="position:absolute;top:659;left:192"> <layer > <img src="./Template_images/IMG0237_30945765.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:691;left:8;width:182"> <layer width="182"> <span class="Normal"> Allowable bearing stress at DT</span> </layer> </div> <div style="position:absolute;top:691;left:192"> <layer > <img src="./Template_images/IMG0239_30945781.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:736;left "> <layer > </layer> </div> <div style="position:absolute;top:755;left:8;width:161"> <layer width="161"> <span class="Normal"> <u>Definitions of Abbreviations</u></span> </layer> </div> <div style="position:absolute;top:755;left:192;width:441"> <layer width="441"> <span class="Normal"> noml=Nominal value; mx=Maximum value; mn=Minimum value</span> </layer> </div> <div style="position:absolute;top:779;left:8;width:118"> <layer width="118"> <span class="Normal"> <u>Vessel Dimensions</u></span> </layer> </div> <div style="position:absolute;top:803;left:192"> <layer > <img src="./Template_images/IMG0157_30945875.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:803;left:360"> <layer > <img src="./Template_images/IMG0159_30945890.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:803;left:520"> <layer > <img src="./Template_images/IMG0134_30945906.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:811;left:8;width:106"> <layer width="106"> <span class="Normal"> Outside diameter</span> </layer> </div> <div style="position:absolute;top:835;left:192"> <layer > <img src="./Template_images/IMG0158_30945921.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:835;left:360"> <layer > <img src="./Template_images/IMG0160_30945937.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:835;left:520"> <layer > <img src="./Template_images/IMG0142_30945968.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:843;left:8;width:90"> <layer width="90"> <span class="Normal"> Inside diameter</span> </layer> </div> <div style="position:absolute;top:923;left:8;width:39"> <layer width="39"> <span class="Normal"> <b>Shell</b></span> </layer> </div> <div style="position:absolute;top:955;left:8;width:133"> <layer width="133"> <span class="Normal"> Thickness required at open end</span> </layer> </div> <div style="position:absolute;top:942;left:176"> <layer > <img src="./Template_images/IMG0264_30945984.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:963;left:368"> <layer > <img src="./Template_images/IMG0265_30946046.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:963;left:528;width:112"> <layer width="112"> <span class="Normal"> 3.5.1.2 a) (3.5.1-1)</span> </layer> </div> <div style="position:absolute;top:1019;left:8;width:115"> <layer width="115"> <span class="Normal"> Thickness provided</span> </layer> </div> <div style="position:absolute;top:998;left:176"> <layer > <img src="./Template_images/IMG0268_30946078.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:1019;left:368"> <layer > <img src="./Template_images/IMG0269_30946140.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:1059;left:8;width:87"> <layer width="87"> <span class="Normal"> <u>Design Check</u></span> </layer> </div> <div style="position:absolute;top:1059;left:176"> <layer > <img src="./Template_images/IMG0271_30946156.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:1059;left:368"> <layer > <img src="./Template_images/IMG0272_30946187.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:1059;left:424;width:217"> <layer width="217"> <span class="Normal"> 1 = satisfactory, 0 = Not satisfactory</span> </layer> </div> <div style="position:absolute;top:1107;left:8;width:88"> <layer width="88"> <span class="Normal"> Test pressure </span> </layer> </div> <div style="position:absolute;top:1092;left:176"> <layer > <img src="./Template_images/IMG0275_30946218.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:1107;left:368"> <layer > <img src="./Template_images/IMG0276_30946281.PNG" border="0"/> </layer> </div> <div style="position:absolute;top:1107;left:528;width:112"> <layer width="112"> <span class="Normal"> 5.8.5.1 a) (5.8.5-1)</span> </layer> </div> </body> </html> </code> and a method that takes the file to generate a pdf but the pdf is always empty. (I'm using studio 2005)
<code> 'create converter Dim html2pdf = New HtmlToPdfConverter() 'create a stream object Dim outputStream As New System.IO.FileStream(htmlFile.Replace(".htm", ".pdf"), FileMode.CreateNew) 'open new pdf file html2pdf.open(outputStream) 'read web page html2pdf.Run(New Uri(htmlFile)) 'close and finish pdf file. html2pdf.Close() </code> An optimist's glass is half full. A pesimist's glass is half empty. An engineer goes and gets the right size glass.
|
|
|
|

|
hey! can this be configure to convert from different language to pdf? for eg. chinese, malay and tamil...
teytey
|
|
|
|

|
Hi All,
This project is really very nice and impressive.
Thanks to all the developers.
I have been facing one problme in it. Everything is working fine with the code but I dont know why but the code is not working with table tag.
I get tags like in the resultant pdf in stead of the table.
Am I missing any file of some thing else I have to do for this?
Plz let me know the solution if any one is having it.
Thank u all.
Chetan Ranpariya.
|
|
|
|
|

|
To use Ntidy on a server where only The .Net Framework is installed, you must make sure that the following dlls are well present in C:/windows/system32:
- msvcp71d.dll ( Microsoft C++ Runtime Library )
- msvcp71.dll ( Microsoft C++ Runtime Library )
- msvcr71d.dll ( Microsoft C Runtime Library )
- msvcr71.dll ( Microsoft C Runtime Library )
|
|
|
|

|
This program works on SDK framework Server but fail horribly when the Ntidy DLL was placed on the redistributable version. See the message below... if anyone has any more insight into the problem, please let me know.
Thanks a lot
Line 197:
Line 198:
Line 199:
Line 200:
Line 201:
Source File: c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 199
Assembly Load Trace: The following information can be helpful to determine why the assembly 'NTidy' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = NTidy
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/WebSetup2
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: NTidy
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/websetup2/7ff037fd/405e9ac7/NTidy.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/websetup2/7ff037fd/405e9ac7/NTidy/NTidy.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/WebSetup2/bin/NTidy.DLL.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: NTidy, Version=1.0.1935.31873, Culture=neutral, PublicKeyToken=null
|
|
|
|

|
but i fould ntidy here:http://sourceforge.net/projects/ntidy/
Regards,
unruledboy@hotmail.com
|
|
|
|

|
Hi:
Any one can help me or any one can have source code of placing form data in PDF.Or any one have source code of generating or opening PDF page from programing.
I need code in any one of these languages
vb,vb.net,java
if any one have helping material then plz contact with me at my this mail account.
Thnx
ray_boby@hotmail.com
|
|
|
|

|
I'm particularly interested to know whether you are going to support html tables.
Thanks,
DaberElay.
|
|
|
|

|
Another interesting project from you Jonathan.
And thanks for the link to iTextSharp. In the past I've used SgmlReader from Chris Lovett (posted on GotDotNet) to tidy arbitrary HTML so that it can be read as an XML document. You may have looked at this utility and chosen to use Tidy for specific reasons. But I mention SgmlReader here in case others would like an entirely .NET implementation.
Regards
Bill Seddon
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
This library converts simple HTML documents to PDF.
| Type | Article |
| Licence | |
| First Posted | 17 Jan 2004 |
| Views | 335,184 |
| Bookmarked | 156 times |
|
|
|