Firefox-selaimen lisäosat
  • Laajennukset
  • Teemat
    • Firefoxille
    • Oikolukusanastot ja kielipaketit
    • Muiden selainten sivustot
    • Lisäosia Androidille
Kirjaudu sisään
Olorin Auto-Printer esikatselu

Olorin Auto-Printer tekijä Kyle Hall

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

0 (0 arviota)0 (0 arviota)
Lataa Firefox ja hanki laajennus
Lataa tiedosto

Laajennuksen metatiedot

Kuvakaappaukset
Tietoja tästä laajennuksesta
  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: "..." }
Arvio 0 0 arvostelijan toimesta
Kirjaudu sisään arvostellaksesi tämän laajennuksen
Ei vielä arvioita

Tähtiarvio tallennettu

5
0
4
0
3
0
2
0
1
0
Ei arvioita
Käyttöoikeudet ja data

Vaaditut käyttöoikeudet:

  • Pääsy tietoihisi kaikilla verkkosivuilla

Valinnaiset käyttöoikeudet:

  • Pääsy tietoihisi sivustolla localhost:9696

Tiedonkeruu:

  • Kehittäjän mukaan tämä laajennus ei vaadi tiedonkeruuta.
Lue lisää
Lisätietoja
Lisäosan linkit
  • Tukisivu
  • Sähköpostituki
  • Kopioi lisäosan tunniste
Versio
2.0.0
Koko
41,93 kt
Viimeksi päivitetty
seitsemän päivää sitten (22. heinä 2026)
Liittyvät luokat
  • Sekalaiset
Lisenssi
GNU General Public License v3.0 only
Tietosuojakäytäntö
Lue tämän lisäosan tietosuojakäytäntö
Versiohistoria
  • Näytä kaikki versiot
Lisää kokoelmaan
Ilmoita tästä lisäosasta
Siirry Mozillan verkkosivustolle

Lisäosat

  • Tietoja
  • Firefox-lisäosien blogi
  • Laajennustyöpaja
  • Kehityskeskus
  • Kehittäjäkäytännöt
  • Yhteisön blogi
  • Keskustelualue
  • Ilmoita ongelmasta
  • Opas arviointiin

Download

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

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Yhteisö

  • Connect
  • Contribute
  • Developer

Seuraa

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Tietosuoja
  • Evästeet
  • Juridiset asiat

Jos ei erikseen mainita, tämän sivuston sisällön kattaa lisenssi Creative Commons Attribution Share-Alike License v3.0 tai mikä tahansa uudempi versio.