[GH-ISSUE #121] Automatic Print of new vouchers #68

Closed
opened 2026-05-07 00:18:37 +02:00 by BreizhHardware · 4 comments

Originally created by @kaiuvve on GitHub (Jan 26, 2026).
Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/121

Originally assigned to: @glenndehaan on GitHub.

Automatic Print of new vouchers

Hey,
would be awesome if there is a "checkbox" to tick while generating new vouchers - so you can print the new generated vouchers automatically.

Kind regards,
Kai

Originally created by @kaiuvve on GitHub (Jan 26, 2026). Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/121 Originally assigned to: @glenndehaan on GitHub. ### Automatic Print of new vouchers Hey, would be awesome if there is a "checkbox" to tick while generating new vouchers - so you can print the new generated vouchers automatically. Kind regards, Kai
BreizhHardware 2026-05-07 00:18:37 +02:00
Author
Owner

@glenndehaan commented on GitHub (Jan 26, 2026):

Hi @kaiuvve,

I get the idea but that would create one issue, when would you select the printer?
It would be weird to put that on the same page as the voucher fields.

<!-- gh-comment-id:3799041252 --> @glenndehaan commented on GitHub (Jan 26, 2026): Hi @kaiuvve, I get the idea but that would create one issue, when would you select the printer? It would be weird to put that on the same page as the voucher fields.
Author
Owner

@kaiuvve commented on GitHub (Jan 26, 2026):

Heyja,

maybe if you tick the "print" button, the menu expands with a dropdown and you can select one of the printers?
Especially if you do like 10-15 vouchers at the same time, its hard to tick them one by one at the bulk print feature.

<!-- gh-comment-id:3799785053 --> @kaiuvve commented on GitHub (Jan 26, 2026): Heyja, maybe if you tick the "print" button, the menu expands with a dropdown and you can select one of the printers? Especially if you do like 10-15 vouchers at the same time, its hard to tick them one by one at the bulk print feature.
Author
Owner

@glenndehaan commented on GitHub (Jan 26, 2026):

Ahh, now I see where this is going. However there is one issue here.
When the vouchers are created I have no idea what has been created. This is a limitation of the API.
And then it becomes a guessing game, because yes I could attempt to fetch the last X vouchers.

But if someone else is also creating vouchers at the same time this would cause issues.

<!-- gh-comment-id:3799936350 --> @glenndehaan commented on GitHub (Jan 26, 2026): Ahh, now I see where this is going. However there is one issue here. When the vouchers are created I have no idea what has been created. This is a limitation of the API. And then it becomes a guessing game, because yes I could attempt to fetch the last X vouchers. But if someone else is also creating vouchers at the same time this would cause issues.
Author
Owner

@glenndehaan commented on GitHub (Jan 27, 2026):

So I had a second look last night, and for now i'm going to close this since there might be a way to get it in. But it would make the UI very flaky and unstable.

Maybe in the future with a rewrite I could make it work, but this requires extensive rework.

<!-- gh-comment-id:3804408150 --> @glenndehaan commented on GitHub (Jan 27, 2026): So I had a second look last night, and for now i'm going to close this since there might be a way to get it in. But it would make the UI very flaky and unstable. Maybe in the future with a rewrite I could make it work, but this requires extensive rework.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/unifi-voucher-site#68
No description provided.