Comments (5)
Try look at the string inside the .contains() method, not the boolean variable, such as {B}, {U}, etc.
The only unclear ones are these::
{LS:M} - means line space 24
{LS:L} - means line space 30
{C} - means center text
{R} - means right align text
from react-native-esc-pos.
Ahah sure, when I meant what is lsm, lsl, ct and rt, I meant what mean {LS:M}, {LS:L}, ...
And you just answered, thanks.
from react-native-esc-pos.
I read through the source code, here's a list of the commands:
boolean bold = line.contains("{B}");
boolean underline = line.contains("{U}");
boolean h1 = line.contains("{H1}");
boolean h2 = line.contains("{H2}");
boolean h3 = line.contains("{H3}");
boolean lsm = line.contains("{LS:M}");
boolean lsl = line.contains("{LS:L}");
boolean ct = line.contains("{C}");
boolean rt = line.contains("{R}");
you can have a look here
from react-native-esc-pos.
Hi, thanks for sharing this, but what means lsm, lsl, ct and rt?
from react-native-esc-pos.
I have updated the README.
from react-native-esc-pos.
Related Issues (20)
- Add Feature Print layout
- Duplicate classes - mostly org.junit... in module escposjava-1.0-SNAPSHOT.jar HOT 1
- French character problem HOT 2
- how to loop inside design HOT 2
- Broken QR Code HOT 2
- arabic laguage problem get ???? any help please HOT 1
- Usb Thermal Printers HOT 1
- Print Array HOT 1
- Color of image after print only black and white HOT 2
- Needs extra space at the bottom
- Kick drawer! HOT 4
- Chinese character support? HOT 4
- [Feature Request] Status of Cash Drawer/Status monitoring
- UI screen freeze
- UI screen freeze HOT 1
- 0.63 error
- An example of Scan( ) Bluetooth
- Ampersand character at the beginning of the line
- Error with 'expo' HOT 3
- How can I implement ScanDevices()? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-esc-pos.