Documentation
¶
Overview ¶
Package labelmaker provides functionality for generating and printing labels for items, locations and assets stored in Homebox
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateLabel ¶
func PrintLabel ¶
func PrintLabel(cfg *config.Config, params *GenerateParameters) error
Types ¶
type GenerateParameters ¶
type GenerateParameters struct {
Width int
Height int
QrSize int
Margin int
ComponentPadding int
TitleText string
TitleFontSize float64
DescriptionText string
DescriptionFontSize float64
AdditionalInformation *string
Dpi float64
URL string
DynamicLength bool
}
func NewGenerateParams ¶
func (*GenerateParameters) Validate ¶
func (p *GenerateParameters) Validate() error
Click to show internal directories.
Click to hide internal directories.