cups

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 10 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.

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 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