How to use js to call the printer device for printing?

such as the question, how to call the printer through js, print the specified content, may be text, may also be pictures, etc.,
has not done the discussion, if there is a successful example is better.

Dec.16,2021

use print to print api globally, depending on what is on the current page.


you can refer to jqprint


to use the webSocket protocol specifically for WEB printing. Without language environment restrictions, mainstream browsers can support it! Accurate printing millimeter precision, easy to achieve POS receipts, invoice sets and so on. Multiple languages support development languages such as ASP, ASP.NET, PHP, JSP. Super compatible and independent operation, Bamp S and Cmax S are compatible, printing can be adjusted immediately after initiating a request. Visual design report style editing, WYSIWYG, so that there is no difficult report. https://www.nbnat.com

Menu