Removed justify node
This commit is contained in:
parent
3e6ce77549
commit
a6c067ac43
2 changed files with 54 additions and 76 deletions
|
|
@ -134,10 +134,6 @@ impl EscPosBuilder {
|
|||
self.extend(&[0x1B, b'd', amount])
|
||||
}
|
||||
|
||||
pub fn write_justify(&mut self, justify: JustifyOrientation) {
|
||||
self.extend(&[0x1B, b'a', justify as u8]);
|
||||
}
|
||||
|
||||
pub fn write_text(&mut self, text: &str, text_effect: Option<&[TextEffect]>) -> () {
|
||||
let mut buf: Vec<u8> = vec![];
|
||||
buf.reserve(12 + text.len());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue