Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2007

Tip: Looking for answers? Try searching our database.

Losing tabs when printing

Thread view: 
Allan Valeriano - 25 Sep 2007 17:33 GMT
Hi all,

I have a JTextArea, which I'm having problems of losing formatting
when I print it.

If I have something like: "This(tab)is(tab)a(tab)formated(tab)text"
It appears on the printing as: "This is a formated text"

All tabs are lost...
Sometimes they are replaced by spaces, sometimes they are just
ignored.

has anybody had this problem? How can I configure the printing not to
do that?
Allan Valeriano - 25 Sep 2007 18:11 GMT
> Hi all,
>
[quoted text clipped - 10 lines]
> has anybody had this problem? How can I configure the printing not to
> do that?

I found out that the problem was a trim made to the text...
Fixed it. :)
Lew - 25 Sep 2007 18:25 GMT
>> Hi all,
>>
[quoted text clipped - 3 lines]
>> If I have something like: "This(tab)is(tab)a(tab)formated(tab)text"
>> It appears on the printing as: "This is a formated text"

Side note: "formatting", "formatted" are correct spellings, "formated" is not.

Also, "text" is a collective noun in this context, hence, "This is formatted
text," not, "This is a formatted text."

The latter usage would be appropriate if you use "text" in the sense of
"document" or "font".

Signature

Lew

Allan Valeriano - 26 Sep 2007 00:33 GMT
> >> Hi all,
>
[quoted text clipped - 14 lines]
> --
> Lew

Learning english on google groups. lol
Thanks anyway.
Roedy Green - 26 Sep 2007 12:48 GMT
>Also, "text" is a collective noun in this context, hence, "This is formatted
>text," not, "This is a formatted text."

Text can also be used in phrases like:

"This is the text of the declaration of independence".
"do you want the voice or the text of his speech?"
"The Bible is an ancient text."
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Roedy Green - 26 Sep 2007 12:46 GMT
On Tue, 25 Sep 2007 16:33:55 -0000, Allan Valeriano
<allvaleriano@gmail.com> wrote, quoted or indirectly quoted someone
who said :

>I have a JTextArea, which I'm having problems of losing formatting
>when I print it.
[quoted text clipped - 8 lines]
>has anybody had this problem? How can I configure the printing not to
>do that?

tabs don't have a standard meaning. You will have to convert them.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.