Documentation ¶
Index ¶
- func Barcode(barcode string, format escpos.BarcodeFormat) []byte
- func Cash() []byte
- func Cut() []byte
- func CutPartial() []byte
- func End() []byte
- func Formfeed() []byte
- func FormfeedN(n int) []byte
- func Init() []byte
- func Linefeed() []byte
- func PrintPageModeBufferData() []byte
- func PrintRasterImage(img image.Image, incrementation int, ...) []byte
- func QRCode(code string, model bool, size uint8, ...) ([]byte, error)
- func SetAbsolutePosition(v int) []byte
- func SetAlign(align string) []byte
- func SetEmphasize(v uint8) []byte
- func SetFont(font string) []byte
- func SetFontSize(width, height uint8) []byte
- func SetMarginLeft(marginLeft int) []byte
- func SetMoveX(x uint16) []byte
- func SetMoveY(y uint16) []byte
- func SetPageMode() []byte
- func SetPrintArea(startXPos, startYPos, endXPos, endYPos int) []byte
- func SetPrintDirection(direction uint8) []byte
- func SetReverse(v uint8) []byte
- func SetRotate(v uint8) []byte
- func SetSmooth(v uint8) []byte
- func SetStandardMode() []byte
- func SetUnderline(v uint8) []byte
- func SetUpsidedown(v uint8) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CutPartial ¶
func CutPartial() []byte
func PrintPageModeBufferData ¶ added in v1.0.9
func PrintPageModeBufferData() []byte
func PrintRasterImage ¶
func SetAbsolutePosition ¶ added in v1.0.12
func SetEmphasize ¶
func SetFontSize ¶ added in v1.0.9
func SetMarginLeft ¶ added in v1.0.9
func SetPageMode ¶ added in v1.0.9
func SetPageMode() []byte
func SetPrintArea ¶ added in v1.0.9
func SetPrintDirection ¶ added in v1.0.9
func SetReverse ¶
func SetStandardMode ¶ added in v1.0.9
func SetStandardMode() []byte
func SetUnderline ¶
func SetUpsidedown ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.