diff --git a/EpsonPrintService/PrintServerBootstrapper.cs b/EpsonPrintService/PrintServerBootstrapper.cs index 043cd7d..3c1c8e8 100644 --- a/EpsonPrintService/PrintServerBootstrapper.cs +++ b/EpsonPrintService/PrintServerBootstrapper.cs @@ -54,6 +54,13 @@ public class PrintServerBootstrapper } else { + // hardcoded discovery + // quick and dirty fix for testing without discovery - just bind a preconfigured discovery service with known printer IPs + // DO NOT REMOVE !!! + //var discovery = new PreconfiguredDiscoveryService(); + //discovery.AddPrinter("192.168.1.124", "TM-T30III"); + //_kernel.Bind().ToConstant(discovery).InSingletonScope();\ + _kernel.Bind().To().InSingletonScope(); _kernel.Bind().To(); }