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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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