Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver interface { io.WriteCloser Initialize() error SelectPrintMode(mode PrintMode) error SelectLineSpacing(spacing uint8) error SelectJustification(justify Justification) error PrintAndFeed(lines uint8) error }
func NewDriver ¶
func NewDriver(w io.WriteCloser) Driver
func OpenDriver ¶
type Justification ¶
type Justification uint8
const ( JustifyLeft Justification = 0 JustifyCenter Justification = 1 JustifyRight Justification = 2 )
Click to show internal directories.
Click to hide internal directories.