cleaning structure

This commit is contained in:
Quality System Admin
2025-10-16 01:42:59 +03:00
parent e0ba349862
commit 50c791e242
469 changed files with 1016 additions and 29776 deletions

23
old code/tray/js/README.md Executable file
View File

@@ -0,0 +1,23 @@
```js
const qz = require("qz-tray");
qz.websocket.connect().then(() => {
return qz.printers.find();
}).then((printers) => {
console.log(printers);
let config = qz.configs.create('PDF');
return qz.print(config, [{
type: 'pixel',
format: 'html',
flavor: 'plain',
data: '<h1>Hello JavaScript!</h1>'
}]);
}).then(() => {
return qz.websocket.disconnect();
}).then(() => {
// process.exit(0);
}).catch((err) => {
console.error(err);
// process.exit(1);
});
```