Firefox 브라우저 부가 기능
  • 확장 기능
  • 테마
    • Firefox용
    • 사전 및 언어 팩
    • 다른 브라우저 사이트
    • Android 부가 기능
로그인
Zebra Printing 미리보기

Zebra Printing 제작자: Daniel Nitz

Allows to print ZPL to a network connected Zebra printer.

0 (리뷰 0개)0 (리뷰 0개)
사용자 65명사용자 65명
Firefox를 다운로드하고 확장 기능을 받으세요
파일 다운로드

확장 메타 데이터

스크린샷
정보
Allows to print ZPL to a network connected Zebra printer.

NOTE: This is an extension useful for developers who want to simply print ZPL labels directly from their web apps.

Most Zebra Printers have a HTTP POST endpoint through which ZPL can be directly printed without the need for an installed driver, print dialogs popping up or other locally installed software.

Unfortunately those printers don't set any CORS headers which makes it impossible to use this HTTP endpoint in modern browser-based apps.

This extension circumvents this issue.

In your web app you can now directly print to Zebra printers by using window.postMessage():

window.postMessage({
type: "zebra_print_label",
zpl: "^XA^PW400^LL200^FO20,20^A0N,30,30^FDThis is a TEST^FS^XZ",
url: "http://192.168.37.36/pstprnt"
}, "*");


The Zebra Printing extension will listen to those messages and post the ZPL to the URL.
  • type: The extension will only pick up messages where the type is zebra_print_label
  • zpl: The ZPL string to be printed
  • url: The URL of the printer

The extension will also post a message to the web page upon loading. This way in your web app you can check if the extension is installed:

window.addEventListener("message", function (event) {
if (!event.data.ZebraPrintingVersion) {
return;
}
// extension installed, enable print button or whatever...
console.log(event.data);
});


The event will contain two fields:

ZebraPrintingExtensionId: The extension ID (ndikjdigobmbieacjcgomahigeiobhbo)
ZebraPrintingVersion: The version number of the installed extension


A simple implementation example can be found here:

https://danielnitz.github.io/zebra-printing-chrome-extension/web-app-example/index.html
0명이 0점으로 평가함
로그인하여 이 확장 기능의 평점을 남겨주세요
아직 평점이 없습니다

별점 저장됨

5
0
4
0
3
0
2
0
1
0
아직 리뷰 없음
권한 및 데이터

필수 권한:

  • 모든 웹사이트에서 사용자의 데이터에 접근

선택적 권한:

  • 모든 웹사이트에서 사용자의 데이터에 접근
더 알아보기
추가 정보
부가 기능 링크
  • 지원 사이트
  • 지원 이메일
  • Copy add-on ID
버전
1.7
크기
228.75 KB
마지막 업데이트
일 년 전 (2025년 2월 21일)
관련 카테고리
  • 웹 개발 도구
라이선스
MIT 라이선스
버전 목록
  • 모든 버전 보기
모음집에 추가
이 부가 기능 신고
Mozilla 홈페이지로 이동

부가 기능

  • 소개
  • Firefox 부가 기능 블로그
  • 확장 기능 워크샵
  • 개발자 허브
  • 개발자 정책
  • 커뮤니티 블로그
  • 포럼
  • 버그 신고
  • 리뷰 지침

브라우저

  • Desktop
  • Mobile
  • Enterprise

제품

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 개인 정보
  • 쿠키
  • 법률

특별한 고지가 없는 한, 본 사이트의 콘텐츠는 Commons Attribution Share-Alike License v3.0 또는 그 이후 버전에 따라 사용이 허가됩니다.