tags:

views:

358

answers:

2

Hi,

I developed a windows service to fax files using VB.NET. It is working for the file formats .bmp,.jpeg. But it is not working for the file type .PDF.

I am using FaxComLib (COM .dll) to send fax. I am getting following error when the service tries to fax .PDF file. "System.Runtime.InteropServices.COMException (0x80070483): Operation failed. at FAXCOMEXLib.FaxDocumentClass.ConnectedSubmit(FaxServer pFaxServer)

What could be the problem?

Thanks, P.Gopalakrishnan.

+1  A: 

Wouldn't you need to flatten the PDF into a sequence of page images, perhap as TIFF's?

Steven Sudit
+1  A: 

There is some good code here that you can use for figuring out how to convert your pdf to image

http://www.codeproject.com/KB/applications/PDFViewerControl.aspx

quimbo