Dodaci za preglednik Firefox
  • Proširenja
  • Teme
    • za Firefox
    • Rječnici i jezični paketi
    • Druge stranice preglednika
    • Dodaci za Android
Prijavi se
Pregled za Olorin Auto-Printer

Olorin Auto-Printer Autor: Kyle Hall

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

0 (0 recenzije)0 (0 recenzije)
Preuzmi Firefox i nabavi proširenje
Preuzmi datoteku

Metapodaci proširenja

Snimke ekrana
Informacije o ovom proširenju
  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: "..." }
Ocjena 0 od 0 recenzenta
Prijavi se i ocijeni ovo proširenje
Još nema ocjena

Ocjena je spremljena

5
0
4
0
3
0
2
0
1
0
Još nema recenzija
Dozvole i podaci

Potrebne dozvole:

  • Pristup tvojim podacima za sve web stranice

Opcionalne dozvole:

  • Pristup tvojim podacima za localhost:9696

Prikupljanje podataka:

  • Programer kaže da ovo proširenje ne zahtijeva prikupljanje podataka.
Saznaj više
Daljnje informacije
Poveznice dodatka
  • Stranica podrške
  • E-adresa podrške
  • Copy add-on ID
Verzija
2.0.0
Veličina
41,93 KB
Zadnje aktualiziranje
prije 7 dana (22. srp. 2026)
Povezane kategorije
  • Ostalo
Licenca
Samo GNU Opća javna licenca v3.0
Politika privatnosti
Pročitaj politiku privatnosti za ovaj dodatak
Povijest verzija
  • Pogledaj sve verzije
Dodaj u zbirku
Prijavi ovaj dodatak
Idi na početnu stranicu Mozille

Dodaci

  • Informacije
  • Blog za Firefox dodatke
  • Radionica za proširenja
  • Centar za programere
  • Pravila za programere
  • Blog zajednice
  • Forum
  • Prijavi grešku
  • Priručnik za recenziranje

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
  • Privatnost
  • Kolačići
  • Pravne informacije

Osim gdje je drugačije navedeno, sadržaj ove stranice licenciran je pod licencom Creative Commons Imenovanje dijeli pod istim uvjetima verzija 3.0 ili novijoj.