printing

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PossiblePrinter

type PossiblePrinter map[string]Printer

PossiblePrinter represents a map of possible printers.

type Printer

type Printer interface {
	Name() string
	Description() string
	AvailableEndpoints() (map[string]string, error)
	Print(printerEndpoint string, image image.Image, data []byte) error
}

Printer represents the interface a printer should implement to be use-able in S&D.

Directories

Path Synopsis
Package cups provides printing for Sales & Dungeons via cups.
Package cups provides printing for Sales & Dungeons via cups.
Package remote provides printing for Sales & Dungeons via a remote endpoint.
Package remote provides printing for Sales & Dungeons via a remote endpoint.
Package rsnd provides printing for Sales & Dungeons via a another S&D instance.
Package rsnd provides printing for Sales & Dungeons via a another S&D instance.
Package usb provides printing for Sales & Dungeons via USB.
Package usb provides printing for Sales & Dungeons via USB.
Package windows provides printing for Sales & Dungeons via direct printing on windows.
Package windows provides printing for Sales & Dungeons via direct printing on windows.

Jump to

Keyboard shortcuts

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