cups

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package cups provides printing for Sales & Dungeons via cups. The printer commands will be written to a temporary file and then send as raw data to a printer by name.

Package cups provides printing for Sales & Dungeons via cups. The printer commands will be written to a temporary file and then send as raw data to a printer by name.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CUPS

type CUPS struct{}

func (*CUPS) AvailableEndpoints

func (c *CUPS) AvailableEndpoints() (map[string]string, error)

func (*CUPS) Description

func (c *CUPS) Description() string

func (*CUPS) Name

func (c *CUPS) Name() string

func (*CUPS) Print

func (c *CUPS) Print(printerEndpoint string, image image.Image, data []byte) error

type CUPSIPP added in v1.1.0

type CUPSIPP struct{}

func (*CUPSIPP) AvailableEndpoints added in v1.1.0

func (c *CUPSIPP) AvailableEndpoints() (map[string]string, error)

func (*CUPSIPP) Description added in v1.1.0

func (c *CUPSIPP) Description() string

func (*CUPSIPP) Name added in v1.1.0

func (c *CUPSIPP) Name() string

func (*CUPSIPP) Print added in v1.1.0

func (c *CUPSIPP) Print(printerEndpoint string, img image.Image, data []byte) error

type CUPSImage added in v1.0.1

type CUPSImage struct{}

func (*CUPSImage) AvailableEndpoints added in v1.0.1

func (c *CUPSImage) AvailableEndpoints() (map[string]string, error)

func (*CUPSImage) Description added in v1.0.1

func (c *CUPSImage) Description() string

func (*CUPSImage) Name added in v1.0.1

func (c *CUPSImage) Name() string

func (*CUPSImage) Print added in v1.0.1

func (c *CUPSImage) Print(printerEndpoint string, img image.Image, data []byte) error

Jump to

Keyboard shortcuts

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