Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2022 Changes in this version type Escpos + func (e *Escpos) ReturnHead() (int, error) + func (e *Escpos) SetCharacterCodeTable(code int) + func (e *Escpos) WriteAndFeed(data string) (int, error) v1.0.0 Oct 12, 2020 Changes in this version + const DLE + const EOT + const GS + const GS8L_MAX_Y + type Escpos struct + func New(dst io.ReadWriter) (e *Escpos) + func (e *Escpos) Barcode(barcode string, format int) + func (e *Escpos) Cash() + func (e *Escpos) Cut() + func (e *Escpos) CutPartial() + func (e *Escpos) End() + func (e *Escpos) Feed(params map[string]string) + func (e *Escpos) FeedAndCut(params map[string]string) + func (e *Escpos) Formfeed() + func (e *Escpos) FormfeedN(n int) + func (e *Escpos) Image(params map[string]string, data string) + func (e *Escpos) Init() + func (e *Escpos) Linefeed() + func (e *Escpos) Pulse() + func (e *Escpos) Raster(width, height, bytesWidth int, img_bw []byte) + func (e *Escpos) ReadRaw(data []byte) (n int, err error) + func (e *Escpos) ReadStatus(n byte) (byte, error) + func (e *Escpos) SendEmphasize() + func (e *Escpos) SendFontSize() + func (e *Escpos) SendMoveX(x uint16) + func (e *Escpos) SendMoveY(y uint16) + func (e *Escpos) SendReverse() + func (e *Escpos) SendRotate() + func (e *Escpos) SendSmooth() + func (e *Escpos) SendUnderline() + func (e *Escpos) SendUpsidedown() + func (e *Escpos) SetAlign(align string) + func (e *Escpos) SetEmphasize(u uint8) + func (e *Escpos) SetFont(font string) + func (e *Escpos) SetFontSize(width, height uint8) + func (e *Escpos) SetLang(lang string) + func (e *Escpos) SetReverse(v uint8) + func (e *Escpos) SetRotate(v uint8) + func (e *Escpos) SetSmooth(v uint8) + func (e *Escpos) SetUnderline(v uint8) + func (e *Escpos) SetUpsidedown(v uint8) + func (e *Escpos) Text(params map[string]string, data string) + func (e *Escpos) Write(data string) (int, error) + func (e *Escpos) WriteNode(name string, params map[string]string, data string) + func (e *Escpos) WriteRaw(data []byte) (n int, err error)