infoxicator / react-native-star-prnt

React-Native bridge to communicate with Star Micronics Bluetooth/LAN Printers
MIT License
67 stars 65 forks source link

Anyway to know size of paper currently loaded in printer? #76

Open dillondrobena opened 1 year ago

dillondrobena commented 1 year ago

I'm curious to know if there is a way to know the size (more specifically the width) of the paper currently loaded into our printer. We're currently developing for various Star Micronic printers and have been trying to make sure our vendors are all using the same paper size, but some do not and it's been causing problems. I figure if I can know what size paper they are using at the time I issue my print commands than I can change the formatting accordingly.

This is mostly an issue when printing tab positions, full line markers (i.e., a full line of '====' or similar characters) and word wrapping long paragraphs of text.