Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Olorin Auto-Printer

Olorin Auto-Printer by Kyle Hall

Silent receipt and label printing for web apps like the Koha ILS, via the Olorin Companion App.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
About this extension
  1. The web application embeds a print button — in Koha, notice/slip
    templates carry it:

html
<button id="webPrint" data-printer="receipt_printer" data-print="#receipt">Print</button>


data-printer names one of five logical printers — receipt_printer,
sticker_printer, paper_printer, full_sheet_printer,
label_printer — and data-print is a CSS selector for the element whose
contents should print. Any element with the olorinPlugin class works the
same way.
  1. Wrap the printable part of the slip:

html
<span id="receipt"> ... slip content ... </span>
  1. To print automatically when the page loads, trigger a click on the
    button from the page's own JavaScript. In Koha that means setting the
    IntranetSlipPrinterJS system preference to:

javascript
setTimeout(function () {
$("#webPrint").trigger("click");
}, 1000);


(Any page script that dispatches a real click works — jQuery is not
required.)
  1. The extension's options page maps each logical printer to a real OS
    printer, with per-printer page size, margins, orientation, number of
    copies, and duplex (long edge / short edge) mode. Settings are stored by
    the companion app, so they are shared by every browser on the machine.

Pages can react to print outcomes by listening for a DOM event:

document.addEventListener("olorin:print-result", (e) => console.log(e.detail));
// e.detail = { success: true } or { success: false, error: "..." }
Rated 0 by 0 reviewers
Sign in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Access your data for all websites

Optional permissions:

  • Access your data for localhost:9696

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Support site
  • Support Email
  • Copy add-on ID
Version
2.0.0
Size
41.93 KB
Last updated
7 days ago (Jul 22, 2026)
Related Categories
  • Other
License
GNU General Public License v3.0 only
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla’s homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.