# Format text for label printer with CodeNet

**URL:** <https://forum.inductiveautomation.com/t/format-text-for-label-printer-with-codenet/104257>\
**Category:** General Discussion\
**Created:** [March 26, 2025, 3:45pm UTC](https://forum.inductiveautomation.com/t/format-text-for-label-printer-with-codenet/104257 "2025-03-26T15:45:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![matheus23nisgoski](https://avatars.discourse-cdn.com/v4/letter/m/c5a1d2/32.png) [@matheus23nisgoski](https://forum.inductiveautomation.com/u/matheus23nisgoski)\
**Post date:** [March 26, 2025, 3:45pm UTC](https://forum.inductiveautomation.com/t/format-text-for-label-printer-with-codenet/104257/1 "2025-03-26T15:45:02Z")

</div>

hi everyone,  
i use codenet protocol to send commands to create labels in domino AX150i, it is okay, but, when I try to format the label, not work  
example:  
ESC S 001 test EOT - ok  
ESC S 001 test ESC r line2 EOT - error

I have tried in different ways and with different tools.  
How would you send a command to break a line, please?

Thank you in advance

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [March 26, 2025, 6:46pm UTC](https://forum.inductiveautomation.com/t/format-text-for-label-printer-with-codenet/104257/2 "2025-03-26T18:46:06Z")

</div>

> [@Using Ignition to communicate and control an AX350i Domino inkjet printer](https://forum.inductiveautomation.com/t/using-ignition-to-communicate-and-control-an-ax350i-domino-inkjet-printer/88780/22):
>
> It's been a couple of days but I wanted to let you know that I have been able to confirm this method works as well, however I do not seem to have the same luck as you with combining multiple commands. I used a modification of my script as well as yours to get: def valueChanged(tag, tagPath, previousValue, currentValue, initialChange, missedEvents): ESC='1B'.decode('hex') #ESC EOT='04'.decode('hex') #Endo of Transmission #pathToTagA="[.]RequestCommandtoByteArray" #pathToTagB="[.]7000/Writab…
