mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-05-09 08:25:29 +02:00
[GH-ISSUE #127] Reduce the pressure #72
Labels
No labels
bug
enhancement
pull-request
question
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/unifi-voucher-site#72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Daswomo on GitHub (Apr 11, 2026).
Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/127
Originally assigned to: @glenndehaan on GitHub.
The problem
The add-on works great.
Can the print be produced without the logo and QR code?
What version of UniFi Voucher Site has the issue?
Home Assistant
What was the last working version of UniFi Voucher Site?
No response
What type of installation are you running?
Docker
Anything in the logs that might be useful for us?
Additional information
No response
@glenndehaan commented on GitHub (Apr 11, 2026):
Hi @Daswomo,
Currently you can only hide the QR by not supplying the SSID. I could look into an additional toggle for a more compact layout. Would you then still want to show the "connect to [ssid]" text?
Kind regards,
Glenn de Haan
@Daswomo commented on GitHub (Apr 12, 2026):
It would be preferable if the logo were not included at the beginning of the printout and if the blank end of the voucher were shortened, as this currently wastes an unnecessary amount of paper.
I would really appreciate it if this could be adjusted.
Alternatively, options could be added to the print settings that allow you to choose whether to include the logo or the QR code on the printout.
Thank you for your feedback.
Translated with DeepL.com (free version)
@Daswomo commented on GitHub (Apr 12, 2026):
@Daswomo commented on GitHub (Apr 12, 2026):
This is the printout from the printer
@glenndehaan commented on GitHub (Apr 13, 2026):
Hi @Daswomo,
I have just released version 8.10.0 this introduces the new
PRINTERS_LAYOUTenvironment variable.In your case this will be exposed within the HA apps configuration.
This allows you to choose from 3 different layouts: https://github.com/glenndehaan/unifi-voucher-site#configuration
In regards to your question about the print margins. This is something that is out of my control. The printers firmware pre-defines this and is not something I can adjust.
When you look at the picture below you can see that my printer is using less margin, but this is just the printer deciding this:
PS: This also gives a look at the 3 layouts now available.
Kind regards,
Glenn de Haan
@Daswomo commented on GitHub (Apr 13, 2026):
First of all, a big thank you. Do you have a PayPal account? I’d like to send you some money for your work.
What’s the best way to do the update without losing your settings?
@Daswomo commented on GitHub (Apr 13, 2026):
Home Assistant showed me the update.
And it’s working great with the printer settings.
Thanks
@glenndehaan commented on GitHub (Apr 13, 2026):
Thank you for the kind words. It's not needed to donate, I have a Ko-fi link up in my profile bio if you want to (https://ko-fi.com/J3J1F5WD2).
So thats the beauty of the Home Assistant setup, no changes are needed from your side. Just hit update and it should work, and will keep your settings