Table of Contents
PrinterHandler is a C# application designed to use a custom protocol to lauch a windows exe and send text to the default installed printer.
This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
Once the application is compiled, you can use the --help command to list the options availables and a brief description of use.
Before running the app, follow this steps:
- Install the .NET SDK
- In the root of the project, generate the exe with dotnet run.
- In the folter of the exe (/bin/debug/.net), run the exe as administrator with the option --configure-uri-scheme. This will add a custom protocol to the windows registry.
Dependecues:
- Win32.Registry
- DragonFruit
- Drawing.Common
This repository only contains the barebones of the application and needs to be compiled. To compile the application run the command dotnet run. After the compilation end, the application is ready for condiguration- ```
The option --configure-uri-scheme enable to application to set a registry for the custom protocol that will execute the application and run from it. The configuration needs to be executed from administrator. Once the application is configured, you can start the application with printHandler://
To test the print page, execute the exe with the option --print-test-page