Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Guys,

I'm fairly new to software development, but since starting a new job I've been assigned a number of projects to start on. The one I have decied to start with is a printer/tray selection application.

Currently the company uses VB macros inside Word to select a printer and appropriate print tray which works fine, but they want this system avaliable in other applications other than Word.

Is it possible to design an application that will maximize from the system tray when wanting to print a document and asks user which tray they want to print to and direct the printing job to that tray?

I've read alot about using printui.dll for managing the actual printer but I now need to know about somehow capturing the print event in other applications, sounds like a mission. Is there DLL that can be used to achieve this? Any advice or indication of the difficulty of this task?
Posted

1 solution

You need to create an application that masquerades as a printer. Take a look at http://www.blackice.com/Printer%20Drivers%20Resource%20Tool%20Kit.htm[^]

There's a demo version that you can try before you buy. Trying to roll your own, while possibly more fun would make the project extremely challenging for a newcomer.
 
Share this answer
 
v2

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