LEADTOOLS Support
Document
Document SDK Questions
Virtual Printer: Printer Redirection Service Example
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, March 15, 2011 12:15:22 PM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Sparked by a question asked a few weeks ago I decided to post an example of this. This is taking any printer call sent to this service printer and using it to first print to our virtual printer and then allow the ability to send this print to a second printer which could be another Virtual Printer or Hardware.
This particular example does install a printer on your machine when the service is started. This printer is also removed when the service is stopped. You can use the application settings to determine the second printer which will be used.
The settings used are as follows:
- PrinterName : This is the name of the printer that will be installed by the service.
- OutDir : This is the Directory which the Virtual Printer files will be outputted.
- RouteTo : This is the name of the printer that will be called for the second print.
In theory you could send this to much more than just two, but this example only does two.
NOTE: There are two batch files in this project directory which will install and uninstall the service for you.
LEADTOOLS Support
Document
Document SDK Questions
Virtual Printer: Printer Redirection Service Example
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.