0

I want to create a printing solution in Silverlight and be able to print without the print-dialog. I have seen some similar questions like this, but no one with a sufficient answer. question 1 and question 2

With this answers in mind, I know that it is possible via COM. But how? I can't find concrete examples of how to create a document at runtime, and send it with COM to a printer. If possible, I don't want to create a temporary file on disk.

Update 1 I mean a Silverlight app running Out of Browser with Elevated Trust. I can't assume that Office is installed. The content being printed is a PDF file, or a multi-page image file.

Community
  • 1
  • 1
jwdehaan
  • 1,445
  • 3
  • 13
  • 25
  • It's not posible, your print action goes trough the browser. Silverlight -> browser -> printer – Rumplin Nov 17 '11 at 09:11
  • @Rumplin: Anything is possible when OOB with Elevated Trust is accessing a COM component. The question really is, is there a native COM component found on a Windows Platform that enables printing. – AnthonyWJones Nov 17 '11 at 09:14
  • @jwdehaan: What assumptions can be made? Can the presence of MS Office be assumed? What min version of windows? etc? – AnthonyWJones Nov 17 '11 at 09:15
  • Sorry, I missed the out of browser text... my bad – Rumplin Nov 17 '11 at 09:20

0 Answers0