在PosExplorer.GetDevices()中找不到BC-95AC热敏打印机

问题描述 投票:-1回答:1

我已经安装了BC-95AC的驱动程序,并且可以在我的硬件和打印机中找到它,并且设置为默认值。但是,当我尝试通过PosExplorer访问它时。 GetDevices()方法中没有此打印机。

我想知道如何解决这个问题。我不愿意使用Microsoft Point of Service或任何不使用Point of Service设计销售收据的专家方式。

c# thermal-printer point-of-sale
1个回答
0
投票

要使用POS for.NET处理设备,您需要一个称为服务对象的软件组件。它需要根据POS for.NET或OPOS的接口规范来制作。

请参阅本网站。 POS for .NET Architecture (POS for .NET v1.14 SDK Documentation)

服务对象通常由硬件供应商提供。在被认为是打印机供应商的站点上,此类软件似乎不可用。这不适用于POSfor.NET。 BC95AC Thermal Receipt Printer

如果要从POS for.NET打印,请切换到提供服务对象的供应商的打印机。

如果要使用此打印机,请直接使用串行端口发送ESC / POS控制代码。

或者,您可以尝试将Windows.Devices.PointOfService接口与LAN连接选项一起使用。但是,我不知道这种方法是否会成功。Windows.Devices.PointOfService NamespacePosPrinter ClassReceipt Printer (POSPrinter) - Supported Point of Service Peripherals

Connectivity             Support  
Network and Bluetooth    Windows supports network and Bluetooth connected receipt printers using the Epson ESC/POS printer control language.  
                         The printers listed below are discovered automatically using POSPrinter APIs.  
                         Additional receipt printers which provide an ESC/POS emulation may also work but would need to be associated using an out of band pairing process.  

                         Note: slip station and journal stations are not supported through this method.  
© www.soinside.com 2019 - 2024. All rights reserved.