nicolasgargano / elm-escpos / Escpos.Attributes

Style

bold : Escpos.Internal.Attribute

Bold.

underline : Escpos.Internal.Attribute

Underline.

Alignment

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

alignLeft : Escpos.Internal.Attribute

Align text to the left.

This is the default.

alignCenter : Escpos.Internal.Attribute

Center the text.

alignRight : Escpos.Internal.Attribute

Align to the right.

Sizing

normalSize : Escpos.Internal.Attribute

Default size.

normalDoubleWidth : Escpos.Internal.Attribute

Makes the font double the width of normal size.

normalDoubleHeight : Escpos.Internal.Attribute

Makes the font double the height of normal size.

normalDouble : Escpos.Internal.Attribute

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

smallSize : Escpos.Internal.Attribute

Makes the font smaller than normal size.

smallDoubleWidth : Escpos.Internal.Attribute

Makes the font double the width of the small size.

smallDoubleHeight : Escpos.Internal.Attribute

Makes the font double the height of the small size.

smallDouble : Escpos.Internal.Attribute

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