I am a newbie in this site but I know anyone here can help me on this problem that I have now. I used to program Java using JDK7 and now I am facing this JTOpen API for AS400-Java interface but my problem now is how to get all the PSF Setting of my Device Description of a certain Writer?
Thanks in advance guys....
Please help.....
Check out the print API's at http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/print1a.htm
If you can find an API that provides the information you are looking for, it shouldn't be hard to invoke it from java.
Some of that information is available in com.ibm.as400.access.PrintObject but not all. I'd write a wrapper program/procedure over the Retrieve AFP Information (QPQRAFPI) API, and use JT400 to call that. The equivalent CL command is WRKPSFCFG.