Skip to content

More data for custom label printing mixin #3368

Answered by matmair
luwol03 asked this question in Q&A
Discussion options

You must be logged in to vote

@luwol03 I am not sure why you would need extra information in a plugin exposing LabelPrintingMixin APIs. This is generally meant to only take the pdf / picture and send it to some kind of printer. Kind of like a printer driver in an OS.
Maybe it will help my understanding if you give a small example what you want to achive. If you want to add information to a label my suggestion would be to change the label itself, you have access to nearly everything in the templating engine.
Plugins are generally meant to be distributed as a python packages (either via PyPi, a VCS or a private index like githubs) , you just need to add the required libraries as a requirement in the setup (see the deplo…

Replies: 1 comment 20 replies

Comment options

You must be logged in to vote
20 replies
@SchrodingersGat
Comment options

@luwol03
Comment options

@SchrodingersGat
Comment options

@matmair
Comment options

@luwol03
Comment options

Answer selected by matmair
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
plugin Plugin ecosystem
3 participants