winapi

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	JOB_STATUS_PAUSED   = 0x0001
	JOB_STATUS_ERROR    = 0x0008
	JOB_STATUS_DELETING = 0x0004
	JOB_STATUS_PRINTING = 0x0010
	JOB_STATUS_SPOOLING = 0x0002
	JOB_STATUS_OFFLINE  = 0x0020
	JOB_STATUS_PAPEROUT = 0x0040
	JOB_STATUS_RESTART  = 0x2000
)

Variables

This section is empty.

Functions

func PrinterExists

func PrinterExists(printerName string) (bool, error)

Types

type PrinterProcessor

type PrinterProcessor interface {
	GetChannel() chan definitions.PrintInfo
	RunService(monitorInterval time.Duration)
}

func NewPrinterProcessor

func NewPrinterProcessor(ctx context.Context, destinationFolder, printerName string) PrinterProcessor

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL