Welcome to Pintexx Forum Sign in | Join | Faq

pinPDF

Started by acd2pinpdf at 04-12-2011 7:56 . Topic has 1 replies.

Print Search
Sort Posts:    
   04-12-2011, 7:56
acd2pinpdf is not online. Last active: 12.04.2011 15:46:52 acd2pinpdf

Top 500 Posts
Joined on 04-12-2011
Posts 1
pinpdf.ReadFooter event is not firing on windows 7
Reply Quote
The project I work on is migrating to Windows 7 from Windows XP, but I had trouble getting printing work on that platform. Basically, the pinpdf.ReadFooter is not firing. Error code: 99; Error Message: html render is blank. On Windows XP, the breakpoin inside the event handler(pdf_ReadFooter) is hit, but is not hit on windows 7. Here is the code snippet:
Byte[] pdfBytes;

//Create PDF from HTML Data
pdf = new Pintexx.Components.Web.pinPDF();

pdf.Author = "authorName";
pdf.Creator = "companyName";
pdf.Title = "";
pdf.MarginTop = _topMargin;
pdf.MarginBottom = _bottomMargin;
pdf.MarginLeft = _leftMargin;
pdf.MarginRight = _rightMargin;
pdf.HeaderHeight = _headerHeight;
pdf.FooterHeight = _footerHeight;

//Disable this to cut down the PDF size
pdf.FontEmbed = false;

pdf.LicenseKey = "valid license key";

pdf.Orientation = (_isLandscape) ? Pintexx.Components.Web.pinPDF.enOrientation.Landscape : Pintexx.Components.Web.pinPDF.enOrientation.Portrait;

pdf.Html = _bodyHtml;
pdf.Header = _headerHtml;
pdf.Footer = _footerHtml;

pdf.ReadFooter += new Pintexx.Components.Web.pinPDF.ReadFooterEventHandler(pdf_ReadFooter);
pdf.ReadHeader += new Pintexx.Components.Web.pinPDF.ReadHeaderEventHandler(pdf_ReadHeader);

//Dispose MemoryStream When done
using (MemoryStream ms = new MemoryStream())
{
if (pdf.Process(ms))
{
pdfBytes = ms.ToArray();
}
else
{
throw new Exception("There was an error processing the PDF. Error Message: " + pdf.ErrorMessage);
}
}

Please advise.
TIA,
   Report 
   04-13-2011, 9:35
Pintexx Support is not online. Last active: 12.01.2012 07:36:39 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.914
Re: pinpdf.ReadFooter event is not firing on windows 7
Reply Quote
Hello,

I'm sorry to say that we do not support and sell pinPDF anymore since several months.

But you can download the source code for our pinPDF wrapper for free from pintexx.com.

Please contact www.websupergoo.com for further questions to ABCPDF product.

Regards,
Hans-Peter
   Report 
Pintexx Forum » Developer Produ... » pinPDF » pinpdf.ReadFooter event is not firing on windows 7