README.md
# starprnt
[](https://hex.pm/packages/starprnt)
[](https://hexdocs.pm/starprnt/)
```sh
gleam add starprnt@1
```
```gleam
import starprnt
import starprnt/font
import simplifile
pub fn main() -> Nil {
let assert Ok(Nil) =
"Hello from Gleam!"
|> starprnt.render_text(font.terminus_32_normal, 1, starprnt.WrapPreferWords, True)
|> simplifile.write_bits("/dev/usb/lp0", _)
}
```
Further documentation can be found at <https://hexdocs.pm/starprnt>.
## Development
```sh
gleam run # Run the project
gleam test # Run the tests
```