feat(flomni): add A4 report Print button to sample-storage widget #305

Merged
holler merged 1 commits from feat/flomni-sample-storage-print-report into main 2026-08-20 16:16:34 +02:00
Member

Adds a Print button to OMNY_SampleStorage that renders an A4 PDF
replica of the on-screen stage/gripper/magazine grid (via
bec_lib.pdf_writer.PDFWriter) and sends it to the local CUPS queue
WSLA_X12SA via lp. Checks printer availability with a quick local
lpstat query first, so a host without that queue gets a plain
"printer not available" message instead of a raw CUPS error; the
actual lp call still offers Retry/Ignore on failure, mirroring the
existing P-touch label-print fail-soft pattern.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01BgQoxFiJRZi1FnmnF8epKh

Adds a Print button to OMNY_SampleStorage that renders an A4 PDF replica of the on-screen stage/gripper/magazine grid (via bec_lib.pdf_writer.PDFWriter) and sends it to the local CUPS queue WSLA_X12SA via `lp`. Checks printer availability with a quick local `lpstat` query first, so a host without that queue gets a plain "printer not available" message instead of a raw CUPS error; the actual `lp` call still offers Retry/Ignore on failure, mirroring the existing P-touch label-print fail-soft pattern. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BgQoxFiJRZi1FnmnF8epKh
holler added 1 commit 2026-08-20 16:09:17 +02:00
feat(flomni): add A4 report Print button to sample-storage widget
CI for csaxs_bec / test (pull_request) Successful in 1m44s
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 1s
CI for csaxs_bec / test (push) Successful in 3m4s
2b581c1a9c
Adds a Print button to OMNY_SampleStorage that renders an A4 PDF
replica of the on-screen stage/gripper/magazine grid (via
bec_lib.pdf_writer.PDFWriter) and sends it to the local CUPS queue
WSLA_X12SA via `lp`. Checks printer availability with a quick local
`lpstat` query first, so a host without that queue gets a plain
"printer not available" message instead of a raw CUPS error; the
actual `lp` call still offers Retry/Ignore on failure, mirroring the
existing P-touch label-print fail-soft pattern.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BgQoxFiJRZi1FnmnF8epKh
holler merged commit 2b581c1a9c into main 2026-08-20 16:16:34 +02:00
holler deleted branch feat/flomni-sample-storage-print-report 2026-08-20 16:16:34 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bec/csaxs_bec#305