Originally Posted by
alan1
1) Can I write in Java to create and access Random Access files? I am comfortable with these. Where will I find the syntax for open, get, put, close (or whaetver the Java terms are)?
You can use the RandomAccessFile class found in the java.io. package.
Here is a link containing the syntax and its methods. You may also want to look at the File class, which is treated as a representation of a given file or directory. It is also part of the java.io. package.
Originally Posted by
alan1
2) Can I write in Java to print financial reports (formatted) to a laser printer? Printing to a console is far too primitive for my needs. Again, where can I find the syntax?
I've never done this before (nor thought about it actually) so I did some Googling and it is pretty interesting. I found 2 links from Oracle that would be of some help:
Lesson: Printing (The Java™ Tutorials > 2D Graphics) (describes the steps you'll need to take)
javax.print (Java Platform SE 7 ) (details of the javax.print. package in detail)