A problem when printing a PDF [Resolved]


When printing some text is not printed. For some file noting is printed
(blank page)
What am I doing wrong?


Looking at the source it seems that the problem is that you didn't set
PDFNet resource folder (http://www.pdftron.com/net/faq.html#pdfnet_res)

To go around this call PDFNet.SetResourcePath("c:\pdfnet") just after
PDFNet.Initialize() and make sure to copy 'pdfnet.res' to 'c:\pdfnet'.

You can also place PDFNet resource anywhere else on the system (e.g. in
the same folder as your assembly). Please see
http://www.pdftron.com/net/faq.html#missing_resources to find out how
this can be implemented.

That worked!

I had the resource file in my application base directory, but I guess
it wasn't getting picked up from there. It worked out when I coded in
the resource path.