const printerName = "__PRINTER_NAME_";
const data = "ANY HTML DATA TO PRINT";
$.ajax({
type: 'POST',
url: 'http://127.0.0.1:17080/?op=print&printerName=' + printerName,
crossDomain: true,
data: data,
dataType: 'html'
}).done(function (responseData) {
console.log(responseData);
}).fail(function (responseData) {
console.log(responseData);
});
-
Notifications
You must be signed in to change notification settings - Fork 0
Enables direct printing from a web browser to a local windows machine. good sample for printing shipping labels and receipts.
License
AsafY/Crosphera-Local-Print-Server
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Enables direct printing from a web browser to a local windows machine. good sample for printing shipping labels and receipts.
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published