![]() |
|
#1
|
|||
|
|||
Printing alphabets and numbers boldhi all,
i have one problem that is "how to print alphabets and numbers in bold for dot matrix printer with correct alignment for usage of bill transaction. i have tried but i can't apply to strings. please help me to overcome from this problem. |
|||
|
#2
|
|||
|
|||
Re: Printing alphabets and numbers boldLook at the 'Font' class in the java 1.5.0 API.
it has a constructor like so: JAVA Code:
but be sure to remember that this class is in the java.awt package, so you can only use this a GUI. (i.e. in the public void paintComponent funtion). Hope this Helps, Justin Fox Keep in mind that you can also do: JAVA Code:
Last edited by LuciWiz : 11-Nov-2007 at 10:01.
Reason: Please insert your Java code between [java] & [/java] tags
|
Recent GIDBlog
Programming ebook direct download available by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The