star-micronics / react-native-star-io10

react-native-star-io10 is a library for supporting application development for Star Micronics devices.
Other
91 stars 55 forks source link

Is there a function to align left and right on a single line or column? or how to print like this design? #39

Closed 5h4ngho closed 2 years ago

5h4ngho commented 2 years ago

I am using the mc-print3 model I want to display the menu on the left and the price on the right

cloudPRNT seems to have a column function. (https://www.star-m.jp/products/s_print/CloudPRNTSDK/Documentation/en/articles/markup/command_column.html?tabs=tabid-2)

But in the SDK's documentation: I was only able to find the sort function for an entire line.

I tried using "horizontalTab", but this function could not place the price on the far right.

I have attached a photo of the printed receipt as an example. (Pictures downloaded from the Internet) As in the attached photo, I would like to know if there is a function that can be printed out right-aligned even if the number of prices increases.

image 8