Додатки браузера Firefox
  • Розширення
  • Теми
    • для Firefox
    • Словники та локалізації
    • Інші сайти браузера
    • Додатки для Android
Увійти
Перегляд Olorin Auto-Printer

Olorin Auto-Printer автор 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)
Завантажити Firefox та отримати розширення
Завантажити файл

Метадані розширення

Знімки екрана
Про це розширення
  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
Увійдіть, щоб оцінити це розширення
Ще немає оцінок

Рейтинг збережено

5
0
4
0
3
0
2
0
1
0
Ще немає відгуків
Permissions and data

Необхідні дозволи:

  • Отримувати доступ до ваших даних для всіх вебсайтів

Необов'язкові дозволи:

  • Отримувати доступ до ваших даних для localhost:9696

Data collection:

  • The developer says this extension doesn't require data collection.
Докладніше
Більше інформації
Посилання додатка
  • Сайт підтримки
  • Електронна пошта підтримки
  • Copy add-on ID
Версія
2.0.0
Розмір
41,93 КБ
Востаннє оновлено
7 днів тому (22 лип 2026 р.)
Пов'язані категорії
  • Інше
Ліцензія
Лише Загальна громадська ліцензія GNU v3.0
Політика приватності
Ознайомитись з політикою приватності для цього додатка
Історія версій
  • Переглянути всі версії
Додати до збірки
Повідомити про цей додаток
Перейти на домівку Mozilla

Додатки

  • Про
  • Блог додатків Firefox
  • Семінар з розширень
  • Центр розробника
  • Політики розробників
  • Блог спільноти
  • Форум
  • Повідомити про помилку
  • Настанови з написання відгуків

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
  • Приватність
  • Файли cookie
  • Правові положення

За винятком випадків зазначених тут, вміст цього сайту ліцензовано на умовах ліцензії Creative Commons Attribution Share-Alike License v3.0, або будь-якою новішою версією.