Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Need to create some printer plugin (lets say "CustomPrinterWCF") in C# whenever user tries to print some file, in printer options i should able to see "CustomPrinterWCF" and select it (i.e. after installing the plugin in respective system).

Once select it and click on the print button, then my custom logic needs to be invoked which is developed in C# (custom logic internally calls WCF service by sending request as the print file)

Not sure what this concept is called.but this is our need.

it would be great full if any one show the way......
Posted
Comments
Kornfeld Eliyahu Peter 22-Jul-15 6:25am    

1 solution

It's called a printer driver and needs to be installed on the system where it is needed. I don't think you can create from C# as it needs to interface to the Windows OS. See https://msdn.microsoft.com/en-us/library/windows/hardware/ff557573(v=vs.85).aspx[^].
 
Share this answer
 
Comments
KVPalem 22-Jul-15 6:52am    
Thanks Richard for the Post. I will update you very shortly

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900