Initial commit: Epson ePOS Node backend + Vue3 UI (printer matricial2)

This commit is contained in:
2025-09-27 16:06:57 -06:00
commit f3c13b356b
26 changed files with 5015 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
const { post, ensureOk } = require('./common');
async function run() {
const data = await post('/api/print/text', { text: 'Test 1: texto simple', options: { feedLines: 1 } });
console.log('01_text_simple ->', data);
ensureOk(data, '01_text_simple');
}
if (require.main === module) {
run().catch((e) => { console.error(e.message); process.exit(1); });
}
module.exports = run;