Documentation ¶
Index ¶
- Constants
- func ClosePrinter(h syscall.Handle) (err error)
- func Default() (string, error)
- func EndDocPrinter(h syscall.Handle) (err error)
- func EndPagePrinter(h syscall.Handle) (err error)
- func EnumPrinters(flags uint32, name *uint16, level uint32, buf *byte, bufN uint32, ...) (err error)
- func GetDefaultPrinter(buf *uint16, bufN *uint32) (err error)
- func OpenPrinter(name *uint16, h *syscall.Handle, defaults uintptr) (err error)
- func ReadNames() ([]string, error)
- func StartDocPrinter(h syscall.Handle, level uint32, docinfo *DOC_INFO_1) (err error)
- func StartPagePrinter(h syscall.Handle) (err error)
- func WritePrinter(h syscall.Handle, buf *byte, bufN uint32, written *uint32) (err error)
- type DOC_INFO_1
- type PRINTER_INFO_5
- type Printer
Constants ¶
View Source
const ( PRINTER_ENUM_LOCAL = 2 PRINTER_ENUM_CONNECTIONS = 4 )
Variables ¶
This section is empty.
Functions ¶
func ClosePrinter ¶
func EndDocPrinter ¶
func EndPagePrinter ¶
func EnumPrinters ¶
func GetDefaultPrinter ¶
func StartDocPrinter ¶
func StartDocPrinter(h syscall.Handle, level uint32, docinfo *DOC_INFO_1) (err error)
func StartPagePrinter ¶
Types ¶
type DOC_INFO_1 ¶
type PRINTER_INFO_5 ¶
type Printer ¶
type Printer struct {
// contains filtered or unexported fields
}
func (*Printer) EndDocument ¶
func (*Printer) StartDocument ¶
Click to show internal directories.
Click to hide internal directories.