New plugin: print part labels on a Brother QL printer

Print label in the top-right actions of issues, estimates and invoices
prints the customer's last name and the PO number (W/E/I + number) in big
bold letters on a 62mm continuous roll, with a preview of the label and
its status until it's printed. A print agent on the printer's network
(redmine_qbo_label_agent) asks Redmine for labels every couple of seconds
with its printer's token, so labels print from anywhere.

Administration » Label printers: printers, agent tokens and status,
recent labels. Settings: label lengths, capitals, poll interval, how long
a label waits for an offline agent, and logging the agents' requests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rickyandClaude Opus 5.5 committed 2026-11-16 08:42:16 -05:00
commit 3e29f14f76
41 files changed
+2194

No files matched your search

@@ -0,0 +1,5 @@
<%# Print label on an issue's page: Redmine's issue actions have no hook, so the link goes there from here %>
<template id="qbo-label-issue-link"><%= render partial: 'label_hooks/print_link', locals: { source_type: 'issue', source_id: issue.id } %></template>
<%= javascript_tag do %>
$(function() { QboLabels.placeIssueLink('#qbo-label-issue-link'); });
<% end %>
@@ -0,0 +1,4 @@
<%# Print label, in the top-right actions of an issue, estimate or invoice; opens the print dialog %>
<%= link_to sprite_icon('qbo-label-print', l(:button_qbo_labels_print), plugin: 'redmine_qbo_labels'),
new_label_job_path(source_type: source_type, source_id: source_id),
remote: true, class: 'icon icon-qbo-label-print', title: l(:button_qbo_labels_print) %>