none
How to print a pdf file by using static ip and printer name? RRS feed

  • Question

  • How to print a pdf file by using static ip and printer name using MVC razor.

    Printer is not in the network.

    Thursday, June 20, 2013 11:24 AM

Answers

  • There is no IPP or PDF support in .Net. 

    1 search for "print PDF C#" to find out how to draw a PDF file to a printer DC, or convert to the native script language of the printer (e.g. postscript) 

    2 search for "IPP client code". But really, is there a reason not to register the printer to the system and let the printer driver (who happens to know better about the printer) do this part? You are basically doing the job of a printer driver, without knowing all the details that a driver developer have on the hardware.



    Visual C++ MVP

    Thursday, June 20, 2013 8:10 PM