Olorin Auto-Printer 제작자: Kyle Hall
Silent receipt and label printing for web apps like the Koha ILS, via the Olorin Companion App.
사용자 1명사용자 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 whosecontents should print. Any element with the
olorinPlugin class works thesame way.
- Wrap the printable part of the slip:
html
<span id="receipt"> ... slip content ... </span>
- 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
IntranetSlipPrinterJSsystem preference to:
javascript
setTimeout(function () {
$("#webPrint").trigger("click");
}, 1000);(Any page script that dispatches a real click works — jQuery is not
required.)
- 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: "..." }
리뷰어 0명이 0점으로 평가함
권한 및 데이터
필수 권한:
- 모든 웹사이트에서 사용자의 데이터에 접근
선택적 권한:
- localhost:9696에서 사용자의 데이터에 접근
데이터 수집:
- 개발자는 이 확장 기능이 데이터 수집을 요구하지 않는다고 밝히고 있습니다.
추가 정보
- 부가 기능 링크
- 버전
- 2.0.0
- 크기
- 41.93 KB
- 최근 업데이트
- 3달 전 (2026년 7월 22일)
- 관련 카테고리
- 개인정보처리방침
- 이 부가 기능에 대한 개인정보처리방침 읽기
- 버전 목록
- 모음집에 추가