how to print on network printers

im new in java programming. pls give me some code on how to print on a network printer, what class is needed and how to use it... Also if someone can help me, how to run a linux command in java, aside from using Runtime.getRuntime().exec() command.. I need it very soon, so please help me.... God bless..

[311 byte] By [need4helpa] at [2007-10-2 11:44:35]
# 1
http://java.sun.com/docs/books/tutorial/2d/overview/printing.html
MartinHilperta at 2007-7-13 5:45:27 > top of Java-index,Archived Forums,Debugging Tools and Techniques...
# 2
Sorry, wrong URL: http://java.sun.com/j2se/1.4.2/docs/guide/jps/
MartinHilperta at 2007-7-13 5:45:27 > top of Java-index,Archived Forums,Debugging Tools and Techniques...
# 3
ok thanks! ill start reading and studying it from now... and my question also, is how to submit duke dollars..
need4helpa at 2007-7-13 5:45:27 > top of Java-index,Archived Forums,Debugging Tools and Techniques...
# 4
> Also if someone can help me, how to run a linux command in java, aside from using Runtime.getRuntime().exec() commandFor a beginner, that's the best solution. The alternative is Java Native Interface (JNI) which is fraught with difficulty.
ChuckBinga at 2007-7-13 5:45:27 > top of Java-index,Archived Forums,Debugging Tools and Techniques...