printer

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPrinter

func NewPrinter(cfg Config) (*printer, error)

NewPrinter creates a new printer from a PrinterConfig

Types

type Config

type Config struct {
	Hostname  string
	Password  string
	UserAgent string
	UseHttp   bool
}

PrinterConfig contains the information necessary to create a printer type which interfaces with a remote Brother printer

Jump to

Keyboard shortcuts

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