Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, March 15, 2011 12:15:22 PM(UTC)

Danny H  
Guest

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.
File Attachment(s):
RerouteService.zip (48kb) downloaded 137 time(s).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.065 seconds.