简体   繁体   中英

Connecting thermal printer on clients side via webusbapi and zadig

I'm trying to connect thermal printer on clients side through web app. (Frontend angular, backend c#)

First I got Access denied, and then after Zadig I managed to open connection to thermal printer, and print some stuff (so that works). 在此处输入图像描述

Since Zadig replaces driver of that selected printer, the other problem I'm facing is that the printer is not working anymore in 'normal' mode...like when I try to print some receipt from pdf or try to print the test page through printer properties...it just does nothing now (and vice versa, when I remove Zadig driver, and put default one, printer works in normal mode, but can't connect to web app)

Also here is a screenshot of driver details of that printer (for some reason that printer is now greyed out in control panel -> devices and printers)

在此处输入图像描述

Does anybody have some kind of a solution for this?

I don't think there's a good solution to this problem. From the perspective of Windows you have two drivers for the same device and you can't have them both running at the same time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM