nicolasgargano/elm-escpos/1.0.0

NOTE: the latest version is 1.1.0

Escpos.Attributes

Style

bold : Attribute

Bold.

underline : Attribute

Underline.

Alignment

Keep in mind these commands will align at least the whole line where it's used.

alignLeft : Attribute

Align text to the left.

This is the default.

alignCenter : Attribute

Center the text.

alignRight : Attribute

Align to the right.

Sizing

normalSize : Attribute

Default size.

normalDoubleWidth : Attribute

Makes the font double the width of normal size.

normalDoubleHeight : Attribute

Makes the font double the height of normal size.

normalDouble : Attribute

Makes the font double the width and height of normal size.

smallSize : Attribute

Makes the font smaller than normal size.

smallDoubleWidth : Attribute

Makes the font double the width of the small size.

smallDoubleHeight : Attribute

Makes the font double the height of the small size.

smallDouble : Attribute

Makes the font double the width and height of the small size.