Skip to content

Add shared PDF label builder - #20

Merged
rdlabo merged 2 commits into
mainfrom
agent/pdf-label-printing
Jul 16, 2026
Merged

Add shared PDF label builder#20
rdlabo merged 2 commits into
mainfrom
agent/pdf-label-printing

Conversation

@rdlabo

@rdlabo rdlabo commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

変更内容

  • @rdlabo/ionic-angular-kit/printerにA4/B5用紙プリセットを追加
  • 任意用紙寸法、5mm既定余白、複数ページのラベル敷き詰め計算を追加
  • PNGからPDFのUint8Arrayを生成する純粋関数を追加
  • 印刷先、UI、ストレージには依存しないAPIとして設計
  • レイアウトと実PDF生成のテスト、利用ドキュメントを追加

背景

foodlabel、winecode、receptrayで同じPDFレイアウト・生成処理が重複していました。PDF生成までを共通化し、Web表示やCapawesome Printer、Brotherプリンタなどの出力先は各アプリの責務として維持します。

確認

  • npm run prebuild
  • npm test
  • npm run lint
  • git diff --check

@netlify

netlify Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploy Preview for rdlabo-ionic-angular-library ready!

Name Link
🔨 Latest commit 2e24746
🔍 Latest deploy log https://app.netlify.com/projects/rdlabo-ionic-angular-library/deploys/6a5868020374fa000804340f
😎 Deploy Preview https://deploy-preview-20--rdlabo-ionic-angular-library.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@rdlabo
rdlabo marked this pull request as ready for review July 16, 2026 05:13

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@rdlabo
rdlabo merged commit 4ec7056 into main Jul 16, 2026
12 checks passed
@rdlabo
rdlabo deleted the agent/pdf-label-printing branch July 16, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant