🖨️ RawBT Example 01 - Basic Print

📱 Requirement: Install RawBT app on your Android device and connect to a thermal printer.

Code Example:

const job = new PosPrinterJob(); const driver = new EscPosDriver(); // Simple text job.text('Hello World!'); job.text('This is a basic print test.'); job.text(''); job.text('RawBT JavaScript Library'); // Feed and cut job.feed(3); job.cut(); // Send to printer RawBtTransport.send(driver.getData(job));