diff --git a/Tanshu.Accounts.Print/Thermal.cs b/Tanshu.Accounts.Print/Thermal.cs index 79d4ff4..64f5e12 100644 --- a/Tanshu.Accounts.Print/Thermal.cs +++ b/Tanshu.Accounts.Print/Thermal.cs @@ -67,11 +67,11 @@ namespace Tanshu.Accounts.Print private static PlatformPrinter GetPrinter(string location) { - if (location.StartsWith("smb://")) + if (location.StartsWith("smb:")) return new PrinterWindows(location); - else if (location.StartsWith("cups://")) + else if (location.StartsWith("cups:")) return new PrinterLinux(location); - else if (location.StartsWith("pdl://")) + else if (location.StartsWith("pdl:")) return new PrinterSocket(location); throw new NotImplementedException(); }