Recued
Menu
← Back to recipes

Print a QR label

by recued-core v1 39 views

Use “Print a QR label” in Recued. Encodes a link or text as a QR code and sends it to a local printer queue. The print step asks before it runs, because a printed QR is readable by anyone who reaches the tray.

How it works 11 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (11 steps)
■ payload trim
Trim whitespace from setting text
■ payload_required template
Generate text from a template
fail: step.payload is_empty
■ payload_length string_length
Apply string_length
■ length_ok template
Generate text from a template
fail: step.payload_length greater 2000
■ queue trim
Trim whitespace from setting printer
■ queue_required template
Generate text from a template
fail: step.queue is_empty
◆ qr recued-core.qrencode.image.qr_encode
Qr encode image on qrencode
■ qr_ref default
Apply default
■ have_qr template
Generate text from a template
fail: step.qr_ref is_null
◆ printed recued-core.lp.document.print
Print document on lp
■ card to_summary
Format results as a summary card
▼
Output
summary card
Settings 2 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

text setting =
printer setting =

Uses (2 operations)

Pack operation Qr encode image on qrencode recued-core.qrencode.image.qr_encode
Pack operation Print document on lp recued-core.lp.document.print

About

Tags

qrencodelp qrprintlabellocalcli

Details

11 steps 2 configurable settings recipe_id: print-qr-label-qrencode