Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppWorkStation ¶
AppWorkStation is for mult-gorounting, when you using the mult-goroutings, you need care about the max number of the workstation can't exceed the max num. of cpu core this function is limited by ole working principle. if out of the cores, it will cause ole object can't been close properly.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
Application is for application env.
func (Application) Print ¶
func (app Application) Print(l Label) (e error)
Print is function for print a label.
type Documents ¶
type Documents struct {
// contains filtered or unexported fields
}
Documents is an collection object for all label document
type FreeVariables ¶
FreeVariables is only using in label for now
type Label ¶
Label is a struct for recv label information template is label abs-path, printer is printer name, cause printer name never dupplicate in one computer/server, so using printer name for the output device, quantity is for the label copy num.
type Printer ¶
type Printer struct {
// contains filtered or unexported fields
}
Printer implement from ole
func (*Printer) MarginLeft ¶
MarginLeft read printer parameter: marginleft
func (*Printer) SetMarginLeft ¶
SetMarginLeft set printer parameter: marginleft
func (*Printer) SetMarginTop ¶
SetMarginTop set printer parameter: margintop
type Variables ¶
type Variables struct { FreeVariables // contains filtered or unexported fields }
Variables including in the label. it contains several parts, form variables, free variables and so on, please check activex document to find details. here just implement the free variables.