Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BarCodeOption ¶
type BarCodeOption struct { Height uint8 `json:"height"` Chr uint8 `json:"chr"` Code string `json:"code"` }
BarCodeOption - print option for bar code
type Printer ¶
type Printer struct { Line bool `json:"line"` Align string `json:"align"` Style string `json:"style"` Size string `json:"size"` Text string `json:"text"` Image bool `json:"image"` BarCode bool `json:"barCode"` QrCode bool `json:"qrCode"` }
Printer - params line
type PrinterLine ¶
type PrinterLine struct { Header []Printer `json:"header"` Lines []Printer `json:"lines"` BarCode BarCodeOption `json:"barCode"` }
PrinterLine - print collection
func LoadPrintModel ¶
func LoadPrintModel(file string) (res PrinterLine, err error)
LoadPrintModel - lading model
Click to show internal directories.
Click to hide internal directories.