HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › Deployment / Configuration issues › Deploy in .net 2.0 › Re: Re: Deploy in .net 2.0
It is running fine in my computer though.
Our application need to pop up this PDF report in the window, and let user to save it to their disks if they want to.
Below is the code I use to convet a html string to pdf:
…
MemoryStream mstr = new MemoryStream(Encoding.ASCII.GetBytes(strHtml));
pd4ml.render(mstr, outfile);
below is the value of strHtml in debug mode:
“
NON-CONFORMANCE RECORD | |||||
Status: | VOIDED | NCR #: | 25 | ||
Originator: | brant | Origin Date: | 2/12/2010 | ||
Print Date: | 2/17/2010 | ||||
Part Number: | 01921231 | BR FR 1/4X7/8LG | |||
NCR Quantity: | 3.00 | Advanced Deviation: | No | Inspection Number: | |
Document Type: | Purchase Order | P/O,J/O,W/O#: | 10004 | ||
Supplier or Work Center: | 2419 | HOGGE PRECISION PARTS | |||
Purchasing Agent: | JES | ||||
|
|||||
REASON FOR REJECTION | |||||
|
|||||
Reason Code(s): | |||||
Drawing Specification: | d | ||||
Problem / Descrepancy: | d | ||||
Q / C Comments: | d | ||||
|
|||||
MATERIAL DISPOSITION | |||||
|
|||||
Disposition Responsibility: | Engineering | Disposition Code: | |||
Disposition By: | Disposition Date: | Rework/RMA#: | |||
Disposition Comments: | |||||
Authorized By: | Authorized Date: | ||||
|
|||||
DISTRIBUTION LIST | |||||
|
|||||
brant, Charity Clear, | |||||
|
“