Documentation
¶
Index ¶
- Constants
- type Printable
- type Printer
- func (p *Printer) EndDoc() error
- func (p *Printer) EndPage() error
- func (p *Printer) EnumPrinter() (info []win32.PrinterInfo, err error)
- func (p *Printer) GetBPP() (uint32, error)
- func (p *Printer) GetHeight() (uint32, error)
- func (p *Printer) GetHeightPixel() (uint32, error)
- func (p *Printer) GetMarginLeft() (uint32, error)
- func (p *Printer) GetMarginTop() (uint32, error)
- func (p *Printer) GetWidth() (uint32, error)
- func (p *Printer) GetWidthPixel() (uint32, error)
- func (p *Printer) InitPrinter(printerName string) (err error)
- func (p *Printer) Print(pt Printable) (err error)
- func (p *Printer) StartDoc(docName string) error
- func (p *Printer) StartPage() error
Constants ¶
View Source
const (
DOCNAME = "JUNX PRINT"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Printer ¶
type Printer struct {
// contains filtered or unexported fields
}
func (*Printer) EnumPrinter ¶
func (p *Printer) EnumPrinter() (info []win32.PrinterInfo, err error)
func (*Printer) GetHeightPixel ¶
func (*Printer) GetMarginLeft ¶
func (*Printer) GetMarginTop ¶
func (*Printer) GetWidthPixel ¶
func (*Printer) InitPrinter ¶
Click to show internal directories.
Click to hide internal directories.