webconnect

package
v0.0.0-...-16fa1b9 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DitherO4x4         = "o4x4"
	DitherNoise        = "noise"
	DitherBayer Dither = "bayer"
)

Variables

This section is empty.

Functions

func Print

func Print(host string, p *PrintJob) (jobid *uuid.UUID, err error)

Print a printjob at host host should only be the host, protocol and additional path part (the /api/print is appended automatically)

Types

type Dither

type Dither string

type PrintJob

type PrintJob struct {
	Image []byte

	PFCount   uint
	LabelSize image.Point
	Ditherer  Dither

	Public  bool
	Resize  bool
	Stretch bool
	Rotate  bool
	Centerh bool
	Centerv bool
	Tiling  bool
}

type PrintJobID

type PrintJobID struct {
	ID uuid.UUID
}

Jump to

Keyboard shortcuts

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