1

I am a fresher in c#. I have developed an application that can convert a postscript file(.ps) to formats like PDF,JPEG, ets,. My intention is to develop a pdf printer. So how do I add this application as a printer in windows xp or above. Or say how do I get the PS file when CTRL+P is pressed on any windows application.

This is not a network printer, its a printer that needs to be assigned to a local print port and not a network port.

A J
  • 2,112
  • 15
  • 24

1 Answers1

4

You are asking, how to make a virtual printer in C#, a very good question, and an easy one, you can use some thing called: - Virtual Printer Port Redirection, you can see the following questions and articles, they are very related to yours:

Writing a Virtual Printer in .NET

Configure Virtual Printer Port Redirection

http://msdn.microsoft.com/en-us/library/windows/hardware/br259124

Community
  • 1
  • 1
Saw
  • 6,199
  • 11
  • 53
  • 104
  • 1
    This was really helpful, but can you suggest a way to get a job from the print queue, I need the postscript of the job as the input to my app. – A J Dec 20 '12 at 06:07