When I try to print the Adobe displays this error message:
"Acrobat could not open 'Acrobat.exe' because it is either not a supported file type or because the file has been damaged(for example, it was sent as an email attachement and wasn't correctly decoded).
To create an Adobe PDF document, go to the source application. Then print the document to Adobe PDF."Follows the code:
Code:
string caminhoPDF = "C:\\Program Files (x86)\\Adobe\\Acrobat 10.0\\Acrobat\\Acrobat.exe";
PdfFilePrinter.AdobeReaderPath = caminhoPDF;
var printer = new PdfFilePrinter(caminhoPDF, "\\192.168.1.10\\name_printer");
printer.Print();
Any idea? Help-me!!