# Printing problems

**URL:** <https://forum.servoy.com/t/printing-problems/2708>\
**Category:** Classic Servoy\
**Created:** [September 15, 2004, 12:48pm UTC](https://forum.servoy.com/t/printing-problems/2708 "2004-09-15T12:48:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [September 15, 2004, 12:48pm UTC](https://forum.servoy.com/t/printing-problems/2708/1 "2004-09-15T12:48:30Z")

</div>

Hello,

when printing we have these issues:

1. if using a text\_area or rtf\_area setting the alignment has no effect. These field types always are left aligned
2. right-align seems to be problematic in general. If we use this on normal text fields, it displays correctly in print preview but on paper some text is cut off at the right side. This only happens on Windows and differs with the font used.

Thanks for having a look!  
Patrick

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [September 17, 2004, 10:58am UTC](https://forum.servoy.com/t/printing-problems/2708/2 "2004-09-17T10:58:59Z")

</div>

1. Correct, text\_area will only right-align in arabic or hebrew, in rtf\_area and html\_area the document contents will define alignment
2. This is a Java 1.4.x problem which is fixed in Java 1.5.x, in the mean time set right indent in rtf from ri0 to ri220 (with utils.stringReplace(…) in rtf content)

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [September 17, 2004, 11:04am UTC](https://forum.servoy.com/t/printing-problems/2708/3 "2004-09-17T11:04:51Z")

</div>

Complete different question:

Jan, can you tell us, what are the major changes/improvements of java 1.5?

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [September 17, 2004, 11:51am UTC](https://forum.servoy.com/t/printing-problems/2708/4 "2004-09-17T11:51:27Z")

</div>

They are all listed on the [java.sun.com](http://java.sun.com) somewhere.
