Click here to Skip to main content
15,891,763 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I have a shared printer where all the file gets printed in Network.

I want an application that save all the file when sending for printing to the computer where shared printer installed.

Or i can say, Save all files in a perticular folder before it gets printed by shared printer.

These file may be pdf, word, excel etc.

Please Advice
Posted
Updated 17-Jun-13 0:55am
v3
Comments
Nelek 17-Jun-13 6:35am    
Sorry, but you question is not informative enough to help you.
Do you want an application to run in the "printing-server" to detect incoming all / only some files and save them? or do you want your application to save a file when sending something to print to that computer?
Sunasara Imdadhusen 17-Jun-13 6:53am    
Please provide more details, so we can give you proper answer

1 solution

Take a look at this software.

It's like a multiplexer for printing.

You create a print proxy which then forwards documents to multiple prints.

One of those can be a PDF printer.

http://www.frogmorecs.com/[^]

Or if XPS is an acceptable format it has a built in XPS passthrough printer driver.
 
Share this answer
 
Comments
Udai Mathur 18-Jun-13 5:42am    
Thanks for your reply. Sir can we do it in C# .NET. My requirment is very simple.
I need to save all those file which are going to be printed by shared printer.

The location of file for saving would be that computer where shared printer installed.
Stephen Hewison 18-Jun-13 6:10am    
Your requirement is to write a virtual printer driver which isn't simple at all. My advice would be to use the tool I showed you to write the file out to a user specific location and then map a network drive to that user as part of your group policy. Alternately you could purchase 1 license per user and install and configure it on each end user machine.
Stephen Hewison 18-Jun-13 6:12am    
Although that said. If you must do it in .Net it will require you to write a lot of unsafe code plug in to the Win32 API. The following article describes exactly what you're trying to do in a little more detail. http://stackoverflow.com/questions/257768/writing-a-virtual-printer-in-net

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