generate

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Barcode

func Barcode(barcode string, format escpos.BarcodeFormat) []byte

func Cash

func Cash() []byte

func Cut

func Cut() []byte

func CutPartial

func CutPartial() []byte

func End

func End() []byte

func Formfeed

func Formfeed() []byte

func FormfeedN

func FormfeedN(n int) []byte

func Init

func Init() []byte

func Linefeed

func Linefeed() []byte

func PrintPageModeBufferData added in v1.0.9

func PrintPageModeBufferData() []byte

func PrintRasterImage

func PrintRasterImage(img image.Image, incrementation int, startXPos, startYPos, endXPos, endYPos int) []byte

func QRCode

func QRCode(code string, model bool, size uint8, correctionLevel escpos.QRCodeErrorCorrectionLevel) ([]byte, error)

func SetAbsolutePosition added in v1.0.12

func SetAbsolutePosition(v int) []byte

func SetAlign

func SetAlign(align string) []byte

func SetEmphasize

func SetEmphasize(v uint8) []byte

func SetFont

func SetFont(font string) []byte

func SetFontSize added in v1.0.9

func SetFontSize(width, height uint8) []byte

func SetMarginLeft added in v1.0.9

func SetMarginLeft(marginLeft int) []byte

func SetMoveX

func SetMoveX(x uint16) []byte

func SetMoveY

func SetMoveY(y uint16) []byte

func SetPageMode added in v1.0.9

func SetPageMode() []byte

func SetPrintArea added in v1.0.9

func SetPrintArea(startXPos, startYPos, endXPos, endYPos int) []byte

func SetPrintDirection added in v1.0.9

func SetPrintDirection(direction uint8) []byte

func SetReverse

func SetReverse(v uint8) []byte

func SetRotate

func SetRotate(v uint8) []byte

func SetSmooth

func SetSmooth(v uint8) []byte

func SetStandardMode added in v1.0.9

func SetStandardMode() []byte

func SetUnderline

func SetUnderline(v uint8) []byte

func SetUpsidedown

func SetUpsidedown(v uint8) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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