Files
ptouch_label/reference/ptp_raster_ref.adoc
knb bfd6adda42 libptouch: P700/P900 families, optional JSON config, ESC i z and print sequencing
- Add printer_family and profile flags; load overrides from printer_families.json
- Set ESC i z page byte from profile; pass prof into ptouch_fill_esc_iz
- End print with 0x1A only (drop FF prefix); extend Ruby FFI and CLI media info
- Add reference/ptp_raster_ref.adoc; install config under share/ptouch_label

Made-with: Cursor
2026-04-19 12:20:21 +09:00

474 B
Raw Blame History

P-Toouch Raster コマンド リファレンスメモ

印字データ

印刷データは大きく分けて、初期化コマンド、制御コード、ラスターデータ、印字指令から構成される。 ジョブが複数ページからなる場合には、制御コード~ラスターデータを繰り返します。

初期化コマンド

印刷開始時に一度送信

  1. 無効指令: NULL(0x00) × 200バイト

  2. 初期化: ESC @ (0x1B 0x40)