Making data span 2 columns

Jan 04, 2010 2 Replies

Hi,



I'm new to this community and new to the RMS system.



I am trying to modify the PrintTransactionDetails sub in the receipt.xml to be 2 columns and put the entry.description information onto another row. The person who writes the descriptions likes to be wordy and I need the entire 40 columns in order to hold the text.



I changed the 3 columns into 2 with a format of 71% for the item number or description and 29% for the sales amount. The description and a null field occupy the first row and the item number and amount occupies the second row. I have the transaction details working but some descriptions truncate at the end of the 71% column width. The remaining 29% of the row is blank.



Is there any way to force the POS printer to utilize the entire row to print long descriptions? In HTML, I can force a cell to span 2 columns and I would think it should be possible to do the same in xml.



Many thanks in advance.


Hi Tony - I believe the description field is limited to 30 characters. The "truncate" command (for lack of a better word) is the ~ you see at the end of the alignment:

"

Thanks for your suggestion. I came across the truncate character "~" a couple of days ago but could not tell if it works on the OPOS receipt printer. It still truncated the column.

Do you happen to know if the Slip printer will wrap a comment field if the number of characters is longer than my defined 2.75" paper size. I am using the slip printer to write a check endorsement on the back of our checks and including the sales comment field as a reference from the sales transaction to the data in our other system. I created a custom xml which has some static text and the register information, time/date, comment, transaction number, etc. I was hoping to make the comment text wrap to the next line. I am using the default Arial - 7 font at 44 cpl.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required