Silent Print Manager

Thermal Receipt Printer Configuration

Configured Printers

No printers configured yet

Document Routing

Assign each document type to a specific printer.

Bills
KOTs
Receipts

Test Print from URL

Fetch content from a URL and print it. Use this to test your bill/KOT/receipt URLs.

Integration Guide

Add silent printing to your existing pages. Include the script below and call SilentPrint.print().

<!-- Include the print client -->
<script src="/print-new/assets/print-client.js"></script>

<!-- Print a bill -->
<button onclick="SilentPrint.print({
    url: 'http://localhost/karibu-pms/pos/v2/print/bill.php?503=1&table_no=102',
    type: 'bill'
})">Print Bill</button>

<!-- Print with specific printer and multiple copies -->
<button onclick="SilentPrint.print({
    url: 'your-receipt-url.php',
    type: 'receipt',
    printer_id: 'printer_xxx',
    copies: 2
})">Print Receipt</button>

<!-- Print direct text content -->
<button onclick="SilentPrint.print({
    content: 'Hello World\n---\nDirect text printing',
    format: 'text',
    type: 'receipt'
})">Print Text</button>

<!-- JavaScript API -->
<script>
SilentPrint.print({
    url: 'your-url',    // URL to fetch content from
    type: 'bill',       // bill, kot, or receipt
    copies: 1,          // number of copies
    printer_id: '',     // specific printer (optional)
    content: '',        // direct content (instead of url)
    format: 'html',     // html or text
    onSuccess: function(response) {
        console.log('Printed!', response);
    },
    onError: function(error) {
        console.log('Failed:', error);
    }
});
</script>