Bypass print preview prompts completely. Send direct raw HTML print jobs to local POS thermal receipt printers directly from any web browser or web POS software.
Simple 3-step setup to connect your web application to local thermal receipt printers.
Download and run Print_Bridge_Setup_v3.7.exe on the client Windows PC connected to your thermal receipt printer.
Launch the app and enter your email address. You will receive an instant email with your account credentials and unique Device UUID.
Include our official JavaScript SDK v1 in your website and pass the Device UUID to print receipts silently in milliseconds.
Embed silent thermal printing into any HTML/React/Vue/Laravel web project with 3 lines of JavaScript.
Add the official PrintBridge JavaScript SDK in your HTML <head> or before your closing </body> tag:
<script src="https://printbridge.online/sdk/v1/printbridge.js"></script>
Call PrintBridge.getPrinters() passing the Device UUID received via email upon app installation:
async function fetchPrinters(deviceId) {
try {
const response = await PrintBridge.getPrinters({
deviceId: deviceId, // e.g. '245f4431-da6d-4bf9-97fd-e00e012d027d'
timeout: 5 // Timeout in seconds
});
let printers = [];
if (response && Array.isArray(response.printers)) {
printers = response.printers;
} else if (Array.isArray(response)) {
printers = response;
}
printers.forEach((printer) => {
const printerName = typeof printer === 'object'
? (printer.Name || printer.name || printer.printerName)
: printer;
console.log('Found printer:', printerName);
});
return printers;
} catch (error) {
console.error('Error fetching printers:', error);
throw error;
}
}
Call PrintBridge.print() passing the deviceId, printerName, paper width (80mm or 58mm), and HTML receipt markup:
function printReceipt(deviceId, printerName, paperWidth = '80mm') {
const payload = {
deviceId: deviceId,
printerName: printerName,
width: paperWidth, // '80mm' or '58mm'
html: `
<div style="font-family: monospace; font-size: 12px; width: 100%; padding: 4px;">
<div style="text-align: center;">
<h3 style="margin: 0;">RECEIPT TITLE</h3>
<p style="margin: 4px 0;">Order #12345</p>
</div>
<div style="border-top: 1px dashed #000; margin: 8px 0;"></div>
<p>Item 1: Rs. 500.00</p>
<p>Item 2: Rs. 250.00</p>
<div style="border-top: 1px dashed #000; margin: 8px 0;"></div>
<p style="text-align: right; font-weight: bold;">Total: Rs. 750.00</p>
<p style="text-align: center; margin-top: 10px;">Thank You!</p>
</div>
`
};
PrintBridge.print(payload)
.then((result) => {
console.log('Print job sent successfully:', result);
})
.catch((error) => {
console.error('Print job failed:', error);
});
}
Get started with a 1 Month FREE Trial. No credit card required.
Affordable silent thermal printing for any business size.
Download PrintBridge Desktop App v3.7 for Windows and get started in under 2 minutes.
Download Print_Bridge_Setup_v3.7.exe