How to print pdf directly to printer from published site. It works fine in development environment but not in production. Heres my code using pdfSharp.

PdfFilePrinter.AdobeReaderPath = "C:\<AdobeReaderPath>\Reader\AcroRd32.exe"
Dim printer As New PdfFilePrinter
With printer
    .PdfFileName = <FileName>
    .PrinterName = <PrinterName>
    .Print()
End With

Thanks!

The first two things that come to mind are this:

  1. Does pdfSharp require an assembly on the client machine
  2. Does Acrobat exist at that path on the client machine